Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp279738pxu; Thu, 22 Oct 2020 23:50:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGlnm06Jh8J9dXN6R0Qf79Kq/OWIxCsnG1QdVGlZz6mX6Ba4PjtQu80kluKbumLstmjbEF X-Received: by 2002:a17:906:7247:: with SMTP id n7mr600796ejk.174.1603435829091; Thu, 22 Oct 2020 23:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603435829; cv=none; d=google.com; s=arc-20160816; b=WHdR/SHMy8BGUG1ETmoDe2g3D9nLhP+9HaaCwy78bDwtYCjf5w0rhXPirr/hRdWEHq viWZEADMbVijoIbWw6c2zokXCgSZgCOwHG5xfapfecR4qq7z+TBBB95eupjScQkyam0S aKzCMdUJrehkhJsnIC230zJNF4GIAmmtq+I/M4NSS+y4npj3XAks9WioZ9zMpLU63zT0 WEobqz97FYOBUi1JyVDyh5k5vX+tXaStZXPBFH9gEiw/S48WLb4ueAGFNqwBLS6fq0P2 e7yrKVOrt2EihlK/8O4/f0/xs3JeepYUI9rgQuVhU64jeYmiu7VCDMo7EIbZaa7m2F0C E2GQ== 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=JxRD+phXO6nKRrNVkXhm+T+K0XfSv6hV9PXOgCrbpxQ=; b=Cb9ichNJZXGRxumPkBIRTna94Q7QULcEOwtBciDHyJ8CRJzehUCExi8rcuhgk9x75Q U6q7DiXhwgZgrbut93634isOUdMFYBu77uITGRy+PDn2RKLy5E+wQrnh9+sKXrAWhWlJ ocejSBecNyaftQi+/NNap5BYSeZ8Z5PHx7iIHzQduMHPjShBWtYqJ0jQIO32wq1dcfMv 96sOEFpxEsjd4+SWASzqiTRL26s/1id+LBPMRrDBlDQudwIIiIl7KJ5DGTGLFNye3/G8 qihmwWC4oylu5giSu7djPxLaOPOjP0IagEo+Y4iif5yies6+jdIYRqNy6ZGDZQ5dir5M +NjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gJYZS7td; 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 i9si294453eje.410.2020.10.22.23.50.05; Thu, 22 Oct 2020 23:50:29 -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=gJYZS7td; 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 S2895573AbgJVXL5 (ORCPT + 99 others); Thu, 22 Oct 2020 19:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2507980AbgJVXL4 (ORCPT ); Thu, 22 Oct 2020 19:11:56 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71332C0613CE for ; Thu, 22 Oct 2020 16:11:56 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id y1so1770945plp.6 for ; Thu, 22 Oct 2020 16:11:56 -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=JxRD+phXO6nKRrNVkXhm+T+K0XfSv6hV9PXOgCrbpxQ=; b=gJYZS7tdUvlN6n7wCC6l8UKl/hQUhS0a6hGb7Q/FBosbV/kTJYwYa24LeSwif7tuem Nn8zHuCTR/p2vGK96HHZNjZTTCn3+7Xg1V5R7WwuMwwXGlg+qmNFVEfUcN5zF3aE+Qcp bKHh9uZDPoR1Ypgud9k2zNTUGjlrMOZRc32Ts= 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=JxRD+phXO6nKRrNVkXhm+T+K0XfSv6hV9PXOgCrbpxQ=; b=PGVIVPReZYxW51zQY8k+QvxuW8992Hv/5W283pzOd04r3/2ieb/2sobZT0AC9Wwj/M LE+Z/uEGYzBOBo8VEVmKOc5RHXQIGPhkKxNB+KiJ2voyDU/3j7l/nMTMmbga5eeevOTL slO/6lAZ4MtnA+tqx7MoEKwmFLiseEskoyDX9UikG8PVmpWCiQ5lf8I20VfkolxOKIFK 297f/mzbcGM0LdKWvTTDN2GZz8MCMTsHjFWMyE9ZS54oMeTGJvVKIXPRv8g8e9dlMHX9 qwAYoM/QrBzrnyf61MGLfRVoosf37F9x+7DvMDh8aPc4HdIB+/Ii+md4Gnef/vy6D3QH oKJA== X-Gm-Message-State: AOAM530pNlLZBWOshNPEu++HmwIqk6zYbsrYKKC2/2Vs+wUcxY4PvKPT AFh+JPCEjyzbiB4aCpygcIvE9qMftv/Qdg== X-Received: by 2002:a17:902:8d8f:b029:d0:cc02:8527 with SMTP id v15-20020a1709028d8fb02900d0cc028527mr4828551plo.33.1603408315815; Thu, 22 Oct 2020 16:11:55 -0700 (PDT) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com. [209.85.210.178]) by smtp.gmail.com with ESMTPSA id y1sm3178790pjl.12.2020.10.22.16.11.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 16:11:55 -0700 (PDT) Received: by mail-pf1-f178.google.com with SMTP id x13so2244346pfa.9 for ; Thu, 22 Oct 2020 16:11:55 -0700 (PDT) X-Received: by 2002:a67:1e01:: with SMTP id e1mr4095984vse.49.1603407959647; Thu, 22 Oct 2020 16:05:59 -0700 (PDT) MIME-Version: 1.0 References: <20201022050445.930403-1-amstan@chromium.org> <20201021220404.v3.1.I96b8d872ec51171f19274e43e96cadc092881271@changeid> In-Reply-To: <20201021220404.v3.1.I96b8d872ec51171f19274e43e96cadc092881271@changeid> From: Doug Anderson Date: Thu, 22 Oct 2020 16:05:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/3] ARM: dts: rockchip: veyron: Remove 0 point from brightness-levels To: Alexandru Stan Cc: Heiko Stuebner , Rob Herring , Andy Gross , Bjorn Andersson , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , Matthias Kaehlcke , Enric Balletbo i Serra , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , LKML , "open list:ARM/Rockchip SoC..." Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Oct 21, 2020 at 10:05 PM Alexandru Stan wrote: > > The extra 0 only adds one point in the userspace visible range, > so this change is almost a noop with the current driver behavior. > > We don't need the 0% point, userspace seems to handle this just fine > because it uses the bl_power property to turn off the display. > > Furthermore after adding "backlight: pwm_bl: Fix interpolation" patch, > the backlight interpolation will work a little differently. So we need > to preemptively remove the 0-3 segment since otherwise we would have a > 252 long interpolation that would slowly go between 0 and 3, looking > really bad in userspace. So it's almost a noop/cleanup now, but it will > be required in the future. > > Signed-off-by: Alexandru Stan > --- > > arch/arm/boot/dts/rk3288-veyron-jaq.dts | 2 +- > arch/arm/boot/dts/rk3288-veyron-minnie.dts | 2 +- > arch/arm/boot/dts/rk3288-veyron-tiger.dts | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Douglas Anderson