public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Daniel Mack <daniel@zonque.org>
Cc: jacek.anaszewski@gmail.com, linux-leds@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v4 1/5] dt-bindings: leds: Add bindings for lltc,lt3593
Date: Mon, 25 Jun 2018 09:59:12 -0600	[thread overview]
Message-ID: <20180625155912.GA28653@rob-hp-laptop> (raw)
In-Reply-To: <20180621202322.11581-2-daniel@zonque.org>

On Thu, Jun 21, 2018 at 10:23:18PM +0200, Daniel Mack wrote:
> This patch add the bindings document for LT3593 LED drivers.
> The binding is kept consistent with other LED driver bindings in that it
> stores all the LED-specific properties in its own subnode. As the hardware
> only supports one channel, there can consequently only be one sub-node.
> 
> Signed-off-by: Daniel Mack <daniel@zonque.org>
> ---
>  .../devicetree/bindings/leds/leds-lt3593.txt  | 34 +++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/leds/leds-lt3593.txt
> 
> diff --git a/Documentation/devicetree/bindings/leds/leds-lt3593.txt b/Documentation/devicetree/bindings/leds/leds-lt3593.txt
> new file mode 100644
> index 000000000000..b31d427448f8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/leds-lt3593.txt
> @@ -0,0 +1,34 @@
> +Bindings for Linear Technologies LT3593 LED controller
> +
> +Required properties:
> +- compatible:	Should be "lltc,lt3593".
> +
> +The hardware supports only one LED. The properties of this LED are
> +configured in a sub-node in the device node.
> +
> +Required sub-node properties:
> +- gpios:	A handle to the GPIO that is connected to the 'CTRL'
> +		pin of the chip.

lltc,ctrl-gpios

Or "shutdown-gpios" as that is a standard name and seems to be its 
function.

This also belongs in the parent node because it is a GPIO connection to 
the controller, not the LEDs.

  reply	other threads:[~2018-06-25 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21 20:23 [PATCH v4 0/5] leds: add devicetree functionality to lltc,lt3593 driver Daniel Mack
2018-06-21 20:23 ` [PATCH v4 1/5] dt-bindings: leds: Add bindings for lltc,lt3593 Daniel Mack
2018-06-25 15:59   ` Rob Herring [this message]
2018-06-25 20:21     ` Daniel Mack
2018-06-21 20:23 ` [PATCH v4 2/5] leds: lt3593: merge functions and clean up code Daniel Mack
2018-06-21 20:23 ` [PATCH v4 3/5] leds: lt3593: switch to gpiod interface Daniel Mack
2018-06-21 20:23 ` [PATCH v4 4/5] leds: lt3593: Add device tree probing glue Daniel Mack
2018-06-21 20:23 ` [PATCH v4 5/5] leds: lt3593: update email address and switch to SPDX license header Daniel Mack
2018-06-22 21:56   ` Jacek Anaszewski
2018-06-23 19:52     ` Daniel Mack

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=20180625155912.GA28653@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=daniel@zonque.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jacek.anaszewski@gmail.com \
    --cc=linux-leds@vger.kernel.org \
    /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