Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp735638pxu; Thu, 15 Oct 2020 15:26:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbWE7ppXNrALwYdORSrOC5LOs3Ne6K/+Dxvi93cOhgauyHYuCAxQipo/o6Z5MzgNAaFScH X-Received: by 2002:a17:906:7f9a:: with SMTP id f26mr566313ejr.554.1602800770960; Thu, 15 Oct 2020 15:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602800770; cv=none; d=google.com; s=arc-20160816; b=0g6JdyUpJFBrhCOWJa7zuRhYhBvGdcD9pxmultEcl/9ANh1OgTiXISLjaqL98OJ515 5vDtQg9ONsleHShX+t96z9STFcTg56O939BWShFJ/ay4Vz1DHzkr6vS92eab5Qyp20c0 eB6mkxx9IcQZyZcNSVz8lIa4LFkJJZLta9cLVq4ub4opG4RWy6PIeOE9s31cEhlNiWVC UrYr+wcpFMkQqnQP2JPKTKtke7guc3qnuo9WovfyS4xST9BEZLh2K0RwIptwX131gutv 4pZ+OQEDLSB4X1gkV5vPhVeq4Ep1MtugjUCle+aC8my4HH3f5oT2BfQE/9KaUyCnddlV twSg== 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=shNugDWCSFxMFaQhudWs8qBWQPZ07aTny77+Ie1FHlk=; b=EGIxM1P5sU7lcvWnIAuMfYtLrQ41+NT0A8qqJITZz0UPX0DYw7N8fGpLTM3ynvZX6P ExKwCRa7vbm47O/PUbdA2GucX0gGtJKTojIgSHr69E4bniYI3lqtRJChGOaKFFV2SWxW XEERtpGP32/Vflh8xnyNwh0bwQG7v6lfAIOMwlJqDJNpTxVp26iJ/J6YEnMCE2M65ydg oFJTDLHj3TuZ8alH8VVz5pzn/Zq8ovl/TBsb2suaY4hdrwVZTr69gOMpfD85fH4tDXZh bdfQKTzRbJARid2KzR7f4UvRhXDENQ/HrSoUDM3RLzVFEAMExmDTXkMIO0YLW/eYZqRE Pjvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WsvessV7; 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 d16si281175ejy.245.2020.10.15.15.25.49; Thu, 15 Oct 2020 15:26:10 -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=WsvessV7; 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 S1731091AbgJOV3t (ORCPT + 99 others); Thu, 15 Oct 2020 17:29:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbgJOV3q (ORCPT ); Thu, 15 Oct 2020 17:29:46 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D5B5C0613CF for ; Thu, 15 Oct 2020 14:29:45 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id ce10so204423ejc.5 for ; Thu, 15 Oct 2020 14:29:45 -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=shNugDWCSFxMFaQhudWs8qBWQPZ07aTny77+Ie1FHlk=; b=WsvessV78yuDktprTp/4iqa3Adv1XtNl2N/v19ZJnZoqVtqW3R89jenV6efR955q/r w/t7xoaoNh7s+6TICZL6hGqJEjkuoQuGozFyTv0FDKf47JoY98kaBG86Az0J9yrlcxxG WWCFFWYtDAiJztGSud9FB31svTcPtnbTB6Mhc= 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=shNugDWCSFxMFaQhudWs8qBWQPZ07aTny77+Ie1FHlk=; b=QBMWfn3/NbzPeQEK9PVYDF0dKqH7Pgxfoue9yh6miHCBnz1ybu4Vnpovj20UQanghy FjnbEt0TRWr3BltHRJfPY7cMi0Z1v6ZTQXIKLaLbMRLDgGpKIWESR1SURiJSFiJr8NRX 5Ksq8HPARuXJCCbKwu5Vj1SuzwKEd0105v0Wu9TPMCvq0b5VK6KyTD3lrMsA16vr/fN0 JqHAtXZ1iWGwsJG19k2Sha3cxTl+vW2pMrvmsRPClt9K/QAxDekQus3W+l1uPbexx3pB UoCaHxYyMhWY0wmSTIPEBLzhPYgpiO7dH7oHVVIpW4pXbh4hskcP9npuD2ZZAQnZ2LSE n6gw== X-Gm-Message-State: AOAM533lrYEz1fvUBv0WLcnUj4NE5b0rICqlEv8XBFYW2mG5oq7JsCSL G66iFxmE266DeufgVcjS7Yvt/g4NySXOrg== X-Received: by 2002:a17:906:350d:: with SMTP id r13mr337279eja.117.1602797383543; Thu, 15 Oct 2020 14:29:43 -0700 (PDT) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com. [209.85.208.47]) by smtp.gmail.com with ESMTPSA id i4sm235518ejz.62.2020.10.15.14.29.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Oct 2020 14:29:42 -0700 (PDT) Received: by mail-ed1-f47.google.com with SMTP id t20so197519edr.11 for ; Thu, 15 Oct 2020 14:29:42 -0700 (PDT) X-Received: by 2002:a50:e40b:: with SMTP id d11mr491296edm.198.1602797381996; Thu, 15 Oct 2020 14:29:41 -0700 (PDT) MIME-Version: 1.0 References: <20201013080103.410133-1-amstan@chromium.org> <20201013010056.v2.2.I96b8d872ec51171f19274e43e96cadc092881271@changeid> <20201014141946.mkrvpkrttucffkhj@holly.lan> In-Reply-To: <20201014141946.mkrvpkrttucffkhj@holly.lan> From: Alexandru M Stan Date: Thu, 15 Oct 2020 14:29:05 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/3] ARM: dts: rockchip: veyron: Remove 0 point from brightness-levels To: Daniel Thompson Cc: Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , Jingoo Han , Bartlomiej Zolnierkiewicz , Heiko Stuebner , Rob Herring , Andy Gross , Bjorn Andersson , Douglas Anderson , Enric Balletbo i Serra , Matthias Kaehlcke , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel , "open list:ARM/Rockchip SoC..." Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 14, 2020 at 7:19 AM Daniel Thompson wrote: > > On Tue, Oct 13, 2020 at 01:01:02AM -0700, Alexandru Stan wrote: > > After the "PWM backlight interpolation adjustments" patches, the > > backlight interpolation works a little differently. The way these > > dts files were working before was relying on a bug (IMHO). > > > > Remove the 0-3 range since otherwise we would have a 252 long > > interpolation that would slowly go between 0 and 3, looking really bad > > in userspace. > > > > 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. > > > > Signed-off-by: Alexandru Stan > > Acked-by: Daniel Thompson Thank you! > > Note also shouldn't this be patch 1 of the set. AFAICT it makes sense > whether or not the interpolation algorithm is changed. Yeah, I guess it could be. Sorry I didn't think of it that way before, I'm used to landing things in a group. In particular on veyron I assume it will almost be a noop without having my driver patch (especially with the findings of 0% not being that important). Feel free to land this independently. > > > Daniel. Alexandru Stan (amstan)