Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9582463ybi; Wed, 10 Jul 2019 12:54:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvCDHsJG+Y9HtNuJHr5pbOhDscIqXjrpwsSXADeObOaJDSs/tUsarOdALCBQrd64f4BDed X-Received: by 2002:a17:902:b603:: with SMTP id b3mr41381066pls.9.1562788499387; Wed, 10 Jul 2019 12:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562788499; cv=none; d=google.com; s=arc-20160816; b=jf5pCSEK9z7vz1mlCD/LseYAJkYCoKpNvIgqciOmL38rzpMmmu8dcoRCti3CDbo/fq NoDs96bA1rRn6LuK4aPsu+jv9GfPWx3PXPbyMqoUNhS81Kr/PE/oOU3Wx0mk2AVBSzc7 /scSqdrEpv6tl9Qc5OjBCB2dccSfrPU7JkCdSvSlaL7H+uiKLj4s9OaQGOmGWo9t0WFq lIb+D1Ohbj0AYtCp7IQzWFVcCls/VvjXrmJWQxx6bdoAQMDyG4Xr8LWnfnvmJLAmrzs/ 95mnkoqr0V+Wib847u+cXANrv24yejlnZ7QntQn3s5NGDjLu6LC4noVQi9pWDTkYLrAD B9MQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=T1H7XoTw8SM8nzxQIGYAGunz+B9tgu6w69qXQ+yAHlM=; b=dw9Q082Ee3S7axdE4Cel8a9l1ksGqyb7k3e56AQ2p6ZdJYkdJcLgeXtqZP6W15DNKw EPmjevBVjxP5bYPk/mddnDQWoghlFnqDCCq4F2H2aJl9LrCqH0loHoiyQAASgX2BFOtt Z/tErS6GFNTRruyKpu7Ny6QYrCcfr+ub3NklXTxXN9r2oky7hEeonyQ9BT6C8yyxu1f/ 1GCh1EQ6HdJ9OCviHjgf48wbPGvSQT3aD4C2aPJXjL/0GZkXGneWy9omEQ87Q/rfGO/l FndqYBT6/mXOedcWLYphYTik6ISw2hPg6cghMcfQWVGpCsoTqA76e0wNrauZ7o+FWjzF RClA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s59si2768465plb.294.2019.07.10.12.54.42; Wed, 10 Jul 2019 12:54:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728162AbfGJTNR (ORCPT + 99 others); Wed, 10 Jul 2019 15:13:17 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47276 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727612AbfGJTNR (ORCPT ); Wed, 10 Jul 2019 15:13:17 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 81550805CD; Wed, 10 Jul 2019 21:13:03 +0200 (CEST) Date: Wed, 10 Jul 2019 21:13:14 +0200 From: Pavel Machek To: Jean-Jacques Hiblot Cc: jacek.anaszewski@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, dmurphy@ti.com, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, tomi.valkeinen@ti.com Subject: Re: [PATCH v3 3/4] dt-bindings: backlight: Add led-backlight binding Message-ID: <20190710191314.GC22995@amd> References: <20190710123932.28244-1-jjhiblot@ti.com> <20190710123932.28244-4-jjhiblot@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz" Content-Disposition: inline In-Reply-To: <20190710123932.28244-4-jjhiblot@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2019-07-10 14:39:31, Jean-Jacques Hiblot wrote: > Add DT binding for led-backlight. >=20 > Signed-off-by: Jean-Jacques Hiblot > --- > .../bindings/leds/backlight/led-backlight.txt | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/backlight/led-= backlight.txt >=20 > diff --git a/Documentation/devicetree/bindings/leds/backlight/led-backlig= ht.txt b/Documentation/devicetree/bindings/leds/backlight/led-backlight.txt > new file mode 100644 > index 000000000000..0444eec8efe1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/backlight/led-backlight.txt > @@ -0,0 +1,28 @@ > +led-backlight bindings > + > +This binding is used to describe a basic backlight device made of > LEDs. Ok. > +It can also be used to describe a backlight device controlled by the out= put of > +a LED driver. ? The LED driver should better be driving some LEDs... > +Required properties: > + - compatible: "led-backlight" > + - leds: a list of LEDs > + > +Optional properties: > + - brightness-levels: Array of distinct brightness levels. The levels m= ust be > + in the range accepted by the underlying LED devic= es. > + This is used to translate a backlight brightness = level > + into a LED brightness level. if not provided, the > + identity mapping is used. "If it is not" Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl0mOMkACgkQMOfwapXb+vLScQCfaBoq0kMp1lvV8fNKwcWoHrBM pnIAn3yAtCE4fHZ7pIAA9TiO8ghJ1kHM =sILE -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz--