Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp604304pxu; Wed, 14 Oct 2020 09:05:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx93fU0HohZqLYAfFmm3OTP2FEvjAk0xgb0tQCBOSPlyvxDgpytPazO5hPqBZvw5w61TKt1 X-Received: by 2002:a50:abc3:: with SMTP id u61mr6014895edc.253.1602691556809; Wed, 14 Oct 2020 09:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602691556; cv=none; d=google.com; s=arc-20160816; b=k63Rg+mbAV3BtiCo9yDhDd1GuhLsB+006d3gPJhSgmUcNLHmy0gdYxfhCtwiDlJSuT k57uWfD+VhzwCgkyDJX+ECLM3j5BBQ1XSYtnhnAsSf7exaC2NJzUxSsnAgjMedpQ6Exn B6SYHyywRMl8r1HBgHRv6HTlEpJ25+4oNUB2981vxRgJq42gnC8AwJO4wsMSQQBSQsYE caFrsFvyVJokmDtwSwndJWmF4u+5qFR8YvEAYur3LilJhHWFb90DRCwdRYvN3idx6ajr CZl4FscPDPy/bYCL8jcB9t+vxDo9QgIEvNr3RbOUmERVzfK7InaYxoHgy7p5SqIjLH6m TYzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7E5unWXYfNjo3l9dfHagbIRdGz1IhdYHa4SUGlhtAf8=; b=1Kbtjjwfai5F8WEUppC/wrvguKEFYKtkWlV+uB71dpP71+j/WoXkva1dYyV5hIEJR7 qLzJjvXGWUaWibOTZaq9aBmbtEOeDF2Ox9MCqgDCFceHcIEUjhfap+1kyYjohw+gfi1L Fmbx62aFwv9x7MDjggHOhYWGQkq9Heb3/ZYh+LAIo+3c3Zm7UHbyM5hCfvH1y+4CYla/ GEF7pgaoaDMopOTf5ksxsHI5jtvSi4tx0LV9zH/k6CBWE0dWxIrrborBdakTnS5ImyAX 8DsFCG/NeJrZPuhfFMa3YNrC58hljLXIgAL8e3LK6ba65jgnXYvK+GYk5Unw/ad7LSbr CzeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LqGO70uj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bg3si39682ejb.616.2020.10.14.09.05.00; Wed, 14 Oct 2020 09:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LqGO70uj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730728AbgJNLdU (ORCPT + 99 others); Wed, 14 Oct 2020 07:33:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730717AbgJNLdS (ORCPT ); Wed, 14 Oct 2020 07:33:18 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 508D2C0613D3 for ; Wed, 14 Oct 2020 04:33:17 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id g12so3368589wrp.10 for ; Wed, 14 Oct 2020 04:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=7E5unWXYfNjo3l9dfHagbIRdGz1IhdYHa4SUGlhtAf8=; b=LqGO70uj/qqLaMgv80tbPKa3iqi6XkbEpPuaCz+gSsLQsuTRzjuy8uZDrZt+k3TFmc 8mVVA2vzI1qf5wmpfqMyk6iD+wJdhwAlaaLvgQpDoeyDUMynxG4LCwQ3GP0wWpzM9lGj BDrTFWgfB40tq8cGZkYIwTzfvIttD6sj7KTP7u+it5awUVq/MhrSw1srFz1ZuxecD01m XvjfI0ybKXuGBz/C7jyGYdQxHAY3RCV4hpayKMVtZI9JoQSpX+VMICc3DVLlVDXxTD/+ 8blDf3zs5wjwHN7UB09peOYrrRZleAkgPPMLsUfulqH6dapFW1DRvAvzD1fMBxewLJ0h zuSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7E5unWXYfNjo3l9dfHagbIRdGz1IhdYHa4SUGlhtAf8=; b=IwnLedA4IyxyrCXRcFH/IPAp3uWDNBV2gQE61fj+ZVt74FLuVBDzYAhQLG7pYvqT+K Z378R2H4uFxkp9B89NzEfsTsfK0nzSCr1bzGFCeqUGC47S50fcw4iGL85NEXAn3zgUUy ztka/SPCXvlvAiLKvImNqED7eD4X/NbfZN9C7yMnYWGuTJGhQ2uRiXMduBTOiWx80o8h goFpqUGe40Qui8KM0RCA/MvxHFD+Caw1EFrtbAnmqjyttVbOFrkp54Wnfc0A4GAW2byJ Y/nHD45M74bg5RKX0/khy17MleQ4u6l6Zj0i0Ei1js1adUafMDIVqyBy4lQ8wKWQcrn/ jMpw== X-Gm-Message-State: AOAM531dPxEKrQt94pHAVbQEHfIVuJvwNPu6BQCGFO1z36eKTm+mLQef zPkGM0zk8+PGc4OcgLxrr1H5cg== X-Received: by 2002:adf:ed45:: with SMTP id u5mr4827892wro.48.1602675195831; Wed, 14 Oct 2020 04:33:15 -0700 (PDT) Received: from holly.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id r1sm4873375wro.18.2020.10.14.04.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 04:33:14 -0700 (PDT) Date: Wed, 14 Oct 2020 12:33:13 +0100 From: Daniel Thompson To: Doug Anderson Cc: Alexandru Stan , Thierry Reding , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Lee Jones , Jingoo Han , Bartlomiej Zolnierkiewicz , Heiko Stuebner , Rob Herring , Andy Gross , Bjorn Andersson , Enric Balletbo i Serra , Matthias Kaehlcke , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , LKML Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: trogdor: Add brightness-levels Message-ID: <20201014113313.y5uzugw5lpcbo46p@holly.lan> References: <20201013080103.410133-1-amstan@chromium.org> <20201013010056.v2.3.Ie4d84af5a85e8dcb8f575845518fa39f324a827d@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2020 at 09:28:38AM -0700, Doug Anderson wrote: > Hi, > > On Tue, Oct 13, 2020 at 1:01 AM Alexandru Stan wrote: > > > > Now that we have better interpolation for the backlight > > ("backlight: pwm_bl: Fix interpolation"), we can now add the curve to > > the trogdor boards, being careful to crop the low end. > > Just to make it clear, the patch this depends on hasn't landed yet. > Presumably it will land in the v5.10 timeframe? That means that > without extra coordination this patch can target v5.11. You're talking about patch 1 from this set? Despite the title I view the patch as changing policy (albeit one that does also fix some annoying quantization errors at the same time) so it's not necessarily a candidate for merging outside the merge window (I've not checked with Lee but I think it likely the shutter is already down for features). Moreover I'm not clear why there a dependency here that would stop the changes landing in different trees. Daniel. > > Signed-off-by: Alexandru Stan > > --- > > > > arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > > index bf875589d364..ccdabc6c4994 100644 > > --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > > @@ -179,6 +179,15 @@ pp3300_fp_tp: pp3300-fp-tp-regulator { > > backlight: backlight { > > compatible = "pwm-backlight"; > > > > + /* The panels don't seem to like anything below ~ 5% */ > > + brightness-levels = < > > + 196 256 324 400 484 576 676 784 900 1024 1156 1296 > > + 1444 1600 1764 1936 2116 2304 2500 2704 2916 3136 > > + 3364 3600 3844 4096 > > + >; > > + num-interpolated-steps = <64>; > > + default-brightness-level = <951>; > > I haven't done lots of digging here, but this matches what Alexandru > and Matthias agreed upon for the downstream tree and seems sane. > Thus: > > Reviewed-by: Douglas Anderson