Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp132931pxu; Tue, 13 Oct 2020 19:13:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGpvILWkswh4KDEZTdzJ78DlctMzae5BegAmPjJyp5n/ud1MokPSDlFWjHkXD+xXm5epLf X-Received: by 2002:aa7:cf99:: with SMTP id z25mr2804204edx.139.1602641616164; Tue, 13 Oct 2020 19:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602641616; cv=none; d=google.com; s=arc-20160816; b=Nn2QIGMt9GlnwuYGXuOii+BSOL17RWXfR4haKMIjP9ddw+AUSyliuXJlJwstV7kOj/ v/GLZfajZK54cHF1denfBofn/iOn3/SuFxAopwgUSOFpfyhCi/kbWztdLZpXmp6JjhM2 81K/xJ0ZCHhNNq4HZ6Gg1CjXhhAbxl2Og3nOLP22IueLkcUEvUVNeDLmQ7nSNZG/0yDV QhMCddSu28L69OkWvH2eSWL/nuAPTJAs8N1rAdrddJgwLO2nEDGIhRA794256htsZ671 w6fLQ0A/VZ0DJLWntig2jNyTjazupadzu3U2uETkYHMbojfkosIF/35uiCwVxIlL2ekH I+Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=o9Hoq7to5XCI/uJ6Zu640TqCyme9iokY/Q0eHTZtcfE=; b=CScp9h4KQa3vT93SQnJNBDkd51S2waa1S2azQjAzle4LSYcceB7JPjJuynfACxXF1d 2KMr7zxCQJsl8VX9cgV0WC2zzYUJiNogn2SoHlrjYgmhCs7QdGcVSUReiLuXO/IvuIdK pw6LAcqMoENmOnbZTY5fLmqz7+2Mjo84u5w1jcFsGhvIWE97OzJdPMPvzNZ8ZEg5wp89 urCsvBmm6aHKEwmyN9tcL2z4iWjb3copPjK4t1bM7piVQhN7TWJJ6YYlgIKhGEYMBxS6 JaQyHf5yfVboGOogfoJ6WsE0pJ76lp6il4EHrJkF4pgXsEQCHSy2uGjVxbRfn9FjfjqN Ijzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eGijH9Uj; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si1192057edv.551.2020.10.13.19.13.13; Tue, 13 Oct 2020 19:13:36 -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=@chromium.org header.s=google header.b=eGijH9Uj; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726738AbgJMQ2x (ORCPT + 99 others); Tue, 13 Oct 2020 12:28:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbgJMQ2x (ORCPT ); Tue, 13 Oct 2020 12:28:53 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29BE1C0613D0 for ; Tue, 13 Oct 2020 09:28:53 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id c13so312592qtx.6 for ; Tue, 13 Oct 2020 09:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o9Hoq7to5XCI/uJ6Zu640TqCyme9iokY/Q0eHTZtcfE=; b=eGijH9UjwpDPWbsso/7C8OhlURtyBQ/eyD4ifTt7mGs5AaQNDP6gh6royvq4unpYnY O1qziBe3AgEI9XkgiAaKqXTD4ZJ/4ZZpbw/tIkSb2vodppTwzLgeh1La+N1Zvq8f3kh5 XcdpJinvL4q2EPnzN6s5HIxC1izEMDdI6aYVc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o9Hoq7to5XCI/uJ6Zu640TqCyme9iokY/Q0eHTZtcfE=; b=sO/UX8LuCHwwnKChhDNdYWNnuKzPNyeuDqR2ETUVMWuCHp0N2fnTjtT7/o1hzslEJ+ CrJ5w8VDG28V6w8JgZ7ul8BQ20Usa754bGmJe+mVSEDHiHXV9Qx10XsYVRBTv4MAwUrv /TwzKX9S9wFGWwb+flxd3LV79Tvs8/QEZhBq/WRFi/gE4Lu3xVOoKi4jBUFocvRmIi9o DfZPT6C3xjJlMmVoMWbUEr3DnefqogMmasC5ym1gSlWMzMakmmWG4KTsAV6NAOtPR6K2 8tE9x92mAuAVwe7sFbaQaJ8WxtKV6IZXFeXTs5TRnfkowbhdT1tiqieywbnPjKrZGRlL JjBw== X-Gm-Message-State: AOAM532yyHe+PQGlDgNls8HK7RAAR3zLzl0TNvqis+tGZyfh4tOlalZo SIoO3p06DVYkr6nnQr5somS7n30UYVIhlA== X-Received: by 2002:ac8:183:: with SMTP id x3mr472743qtf.218.1602606531986; Tue, 13 Oct 2020 09:28:51 -0700 (PDT) Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com. [209.85.219.180]) by smtp.gmail.com with ESMTPSA id w45sm133101qtw.96.2020.10.13.09.28.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Oct 2020 09:28:50 -0700 (PDT) Received: by mail-yb1-f180.google.com with SMTP id s89so130508ybi.12 for ; Tue, 13 Oct 2020 09:28:50 -0700 (PDT) X-Received: by 2002:a25:d412:: with SMTP id m18mr998932ybf.253.1602606529921; Tue, 13 Oct 2020 09:28:49 -0700 (PDT) MIME-Version: 1.0 References: <20201013080103.410133-1-amstan@chromium.org> <20201013010056.v2.3.Ie4d84af5a85e8dcb8f575845518fa39f324a827d@changeid> In-Reply-To: <20201013010056.v2.3.Ie4d84af5a85e8dcb8f575845518fa39f324a827d@changeid> From: Doug Anderson Date: Tue, 13 Oct 2020 09:28:38 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: trogdor: Add brightness-levels To: Alexandru Stan Cc: Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , Daniel Thompson , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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