From: Dan Murphy <dmurphy@ti.com>
To: Jean-Jacques Hiblot <jjhiblot@ti.com>,
jacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org,
mark.rutland@arm.com, lee.jones@linaro.org,
daniel.thompson@linaro.org, jingoohan1@gmail.com
Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, tomi.valkeinen@ti.com,
devicetree@vger.kernel.org
Subject: Re: [PATCH 2/4] devicetree: Update led binding
Date: Mon, 1 Jul 2019 10:20:57 -0500 [thread overview]
Message-ID: <837afe49-18f3-722e-aa63-7d47d3a8bea0@ti.com> (raw)
In-Reply-To: <20190701151423.30768-3-jjhiblot@ti.com>
JJ
On 7/1/19 10:14 AM, Jean-Jacques Hiblot wrote:
> Update the led binding to describe the possibility to add a "compatible"
> option to create a child-device, user of the LED.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
> Cc: devicetree@vger.kernel.org
> ---
> Documentation/devicetree/bindings/leds/common.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt
> index 70876ac11367..2f7882528d97 100644
> --- a/Documentation/devicetree/bindings/leds/common.txt
> +++ b/Documentation/devicetree/bindings/leds/common.txt
> @@ -11,6 +11,9 @@ have to be tightly coupled with the LED device binding. They are represented
> by child nodes of the parent LED device binding.
>
> Optional properties for child nodes:
> +- compatible : driver name for a child-device. This child-device is the user
> + of the LED. It is created when the LED is registered and
> + destroyed when the LED is unregistered.
Can you update the example to show usage?
Dan
> - led-sources : List of device current outputs the LED is connected to. The
> outputs are identified by the numbers that must be defined
> in the LED device binding documentation.
next prev parent reply other threads:[~2019-07-01 15:20 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 15:14 [PATCH 0/4] Add a generic driver for LED-based backlight Jean-Jacques Hiblot
2019-07-01 15:14 ` [PATCH 1/4] leds: of: create a child device if the LED node contains a "compatible" string Jean-Jacques Hiblot
2019-07-01 15:14 ` [PATCH 2/4] devicetree: Update led binding Jean-Jacques Hiblot
2019-07-01 15:20 ` Dan Murphy [this message]
2019-07-01 15:14 ` [PATCH 3/4] backlight: add led-backlight driver Jean-Jacques Hiblot
2019-07-02 9:54 ` Daniel Thompson
2019-07-02 10:59 ` Jean-Jacques Hiblot
2019-07-02 13:04 ` Daniel Thompson
2019-07-02 15:17 ` Jean-Jacques Hiblot
2019-07-03 9:44 ` Daniel Thompson
2019-07-03 10:02 ` Jean-Jacques Hiblot
2019-07-05 10:08 ` Pavel Machek
2019-07-05 10:08 ` Pavel Machek
2019-07-05 10:33 ` Jean-Jacques Hiblot
2019-07-05 10:33 ` Jean-Jacques Hiblot
2019-07-01 15:14 ` [PATCH 4/4] devicetree: Add led-backlight binding Jean-Jacques Hiblot
2019-07-02 9:58 ` Daniel Thompson
2019-07-02 11:11 ` Jean-Jacques Hiblot
2019-07-05 10:11 ` Pavel Machek
2019-07-05 10:11 ` Pavel Machek
2019-07-05 10:14 ` [PATCH 0/4] Add a generic driver for LED-based backlight Pavel Machek
2019-07-05 10:14 ` Pavel Machek
2019-07-05 10:29 ` Daniel Thompson
2019-07-05 10:29 ` Daniel Thompson
2019-07-05 11:34 ` Jean-Jacques Hiblot
2019-07-05 11:34 ` Jean-Jacques Hiblot
2019-07-05 23:23 ` Sebastian Reichel
2019-07-05 23:23 ` Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837afe49-18f3-722e-aa63-7d47d3a8bea0@ti.com \
--to=dmurphy@ti.com \
--cc=daniel.thompson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jacek.anaszewski@gmail.com \
--cc=jingoohan1@gmail.com \
--cc=jjhiblot@ti.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
--cc=tomi.valkeinen@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).