Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2595020ybh; Mon, 5 Aug 2019 03:38:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8gbLyPmBxs6MENmbMCh+8FlwUhEfyB+xm0BRB8iNqdO4/+7O3bT6SDI1dDR9WG23ijwGZ X-Received: by 2002:a17:90a:bb8b:: with SMTP id v11mr17269854pjr.64.1565001531571; Mon, 05 Aug 2019 03:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565001531; cv=none; d=google.com; s=arc-20160816; b=Oi+BX6l/aFVJMt6TscHCzXSxCS2tvLoPT7w7WBVNygadhfT3MYNPYssl8HPM4V9jdE LCvGYbcxcJBKvcfiCHRNHUpWkFP+U0Pu0vHsN6pH50vGlppbEITQcv9MW4ddlBee7GV1 SromRnOPl25rv7Z4RgtOXndv0Xx3Hea38xlSyiqcb2nl7X3ehkG8bMtATUo/l1+6wVwt wkEPcK7Hhnomi7B9B7fIeAIByLbNsk72X+4F+w42SxhnGZPWwrPr5mrz3QGG9p5nSjYg dlFVutnzWNbcM2w6aUzLCTDggSGE/t4ge6TWAyWjfUYbGYCsfW52Nj/3ZPaPI6TijwzR 1ZNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EjSGNU5tuMFasj89k5pfoAkxeWuwm7YGZxI63pDJurY=; b=Nqyv7/uNqwEHvHz6Fb/w2kS9SV2Ob60dLFjAmDIe+HjTFP39lluEwaN8E6zJQd6eu1 EXsrkoX8AMvgXQAjt6gnonTgYhw8sNMSpPGI5BtpJbTYL0YJu6ImS6Uwnd4GpRCFLZfZ sla2P6r1Pr3/3su9cTZ6wD4/w/t4SJwTvV/RYm2CLoBG5awArFKjY2vbXnAxoVWg5ORR oaRQGaHeKK18LYZMsF3aXgEJyxesVobhaW5m/P5Rc8JgViNWHwedZISG6UmKP5qvNaN3 IXKFHNHYY/8nBnBfOljpYwNkH3yCqvVzdrkZhkTMOYQXnH0IWRDfefh6+7DKZ6gbb3Jk CfmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SdYRFXoz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id a12si5327321pgn.559.2019.08.05.03.38.35; Mon, 05 Aug 2019 03:38:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SdYRFXoz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728320AbfHEKh4 (ORCPT + 99 others); Mon, 5 Aug 2019 06:37:56 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55200 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727349AbfHEKhz (ORCPT ); Mon, 5 Aug 2019 06:37:55 -0400 Received: by mail-wm1-f68.google.com with SMTP id p74so74197963wme.4 for ; Mon, 05 Aug 2019 03:37:53 -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:content-transfer-encoding:in-reply-to :user-agent; bh=EjSGNU5tuMFasj89k5pfoAkxeWuwm7YGZxI63pDJurY=; b=SdYRFXozELsThSHXdS1mXooull3R6J9nnf8C9J4LG2rf8Ay/tHpcXw2sFKAZoIllXB UKzi8TW1M0OqDdoMJIDgbNPtrLtVsqGNe/0mrOegp1PJbxsi91tSM2AMp05i+GQJGWfv 0ndxMSUXoF6zD4BAG4BkQVA5ggAsEF1fWdZLuxRZwHQxF2mE9tNSwMUHD6NPuvpOd/pG t6FqshJ99YgzsFLuWKobI7n04sKxA23fNY0aWKPCmWnE/D5C39GPb0eyMHtNpKwaD/mJ 4ho5THOfnm4/3mlbtxwCfPSP8ZB7VdziBnItzlaaDFyKQ7bhlLHbMKVB7phZr+csRiRE XmCQ== 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:content-transfer-encoding :in-reply-to:user-agent; bh=EjSGNU5tuMFasj89k5pfoAkxeWuwm7YGZxI63pDJurY=; b=apGVaYONhH+9sKzMGCEnnYZNNNVxEYdTaOoR9xgLUgwR61vruxXsUGTKeAG5z+GwH9 RVUvcAuFdSligtIQhly6RV9bDL5svaAiVTxNCdxN0NGY6q9DyzAlE3And6beWNCwg83O Hny+BXWYJ+szFUb1deuvHmdSuPNeOdvt/X4cbHhEKeIzZNSnpfxxAmnsGeGb82okWfdL bH28F6ynC+2Xfy1mRbPrWE5WONmXTGpMVrFwfv4NNtR3tt4Lhd8whSM9BsORVJYmnIgq qAIQ67Pw+zHNvTN7RAAOQju+mdvwGOrbvdgmeRDFOmsSuHFM+lJaXMJy4j5u1uYPvNrd SKfw== X-Gm-Message-State: APjAAAU0+rA8vk/DIeHI9Ji1XZ42+sQ4aaw/r7/gd32wOBI7x39VIetw z4YS7o3rdZ/1TdDgLZVoGuRprQ== X-Received: by 2002:a1c:cfc3:: with SMTP id f186mr17103441wmg.134.1565001472966; Mon, 05 Aug 2019 03:37:52 -0700 (PDT) Received: from dell ([109.180.115.177]) by smtp.gmail.com with ESMTPSA id o11sm79528209wmh.37.2019.08.05.03.37.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Aug 2019 03:37:52 -0700 (PDT) Date: Mon, 5 Aug 2019 11:37:50 +0100 From: Lee Jones To: Matthias Kaehlcke Cc: Thierry Reding , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , linux-pwm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Enric Balletbo i Serra , Douglas Anderson , Brian Norris , Pavel Machek , Jacek Anaszewski Subject: Re: [PATCH v3 0/4] backlight: Expose brightness curve type through sysfs Message-ID: <20190805103750.GG4739@dell> References: <20190709190007.91260-1-mka@chromium.org> <20190722235926.GA250418@google.com> <20190725111541.GA23883@dell> <20190725171726.GD250418@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190725171726.GD250418@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Jul 2019, Matthias Kaehlcke wrote: > On Thu, Jul 25, 2019 at 12:15:41PM +0100, Lee Jones wrote: > > On Mon, 22 Jul 2019, Matthias Kaehlcke wrote: > > > > > On Tue, Jul 09, 2019 at 12:00:03PM -0700, Matthias Kaehlcke wrote: > > > > Backlight brightness curves can have different shapes. The two main > > > > types are linear and non-linear curves. The human eye doesn't > > > > perceive linearly increasing/decreasing brightness as linear (see > > > > also 88ba95bedb79 "backlight: pwm_bl: Compute brightness of LED > > > > linearly to human eye"), hence many backlights use non-linear (often > > > > logarithmic) brightness curves. The type of curve is currently opaque > > > > to userspace, so userspace often relies on more or less reliable > > > > heuristics (like the number of brightness levels) to decide whether > > > > to treat a backlight device as linear or non-linear. > > > > > > > > Export the type of the brightness curve via a new sysfs attribute. > > > > > > > > Matthias Kaehlcke (4): > > > > MAINTAINERS: Add entry for stable backlight sysfs ABI documentation > > > > backlight: Expose brightness curve type through sysfs > > > > backlight: pwm_bl: Set scale type for CIE 1931 curves > > > > backlight: pwm_bl: Set scale type for brightness curves specified in > > > > the DT > > > > > > > > .../ABI/testing/sysfs-class-backlight | 26 ++++++++++++++ > > > > MAINTAINERS | 2 ++ > > > > drivers/video/backlight/backlight.c | 19 ++++++++++ > > > > drivers/video/backlight/pwm_bl.c | 35 ++++++++++++++++++- > > > > include/linux/backlight.h | 8 +++++ > > > > 5 files changed, 89 insertions(+), 1 deletion(-) > > > > create mode 100644 Documentation/ABI/testing/sysfs-class-backlight > > > > > > ping, any comments on v3? > > > > Looks like PATCH 2/4 still needs seeing to. > > The patch currently doesn't have any comments. > > Do you see any specific things that need improvement? If so, could you > comment on the patch? It needs Daniel T's Ack. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog