public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Feng <von81@163.com>
To: Rob Herring <robh@kernel.org>
Cc: jacek.anaszewski@gmail.com, pavel@ucw.cz, dmurphy@ti.com,
	linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] leds: Add an optional property named 'sdb-gpios'
Date: Tue, 25 Aug 2020 16:05:14 +0800	[thread overview]
Message-ID: <d0ae6853-94a7-ca4e-61f1-e5119efa41bf@163.com> (raw)
In-Reply-To: <20200824222154.GA3421740@bogus>


On 2020-08-25 6:21, Rob Herring wrote:
> On Sat, Aug 08, 2020 at 11:37:31AM +0800, Grant Feng wrote:
>> The chip enters hardware shutdown when the SDB pin is pulled low.
>> The chip releases hardware shutdown when the SDB pin is pulled high.
>>
>> Signed-off-by: Grant Feng <von81@163.com>
>> ---
>>   Documentation/devicetree/bindings/leds/leds-is31fl319x.txt | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/leds/leds-is31fl319x.txt b/Documentation/devicetree/bindings/leds/leds-is31fl319x.txt
>> index fc2603484544..e8bef4be57dc 100644
>> --- a/Documentation/devicetree/bindings/leds/leds-is31fl319x.txt
>> +++ b/Documentation/devicetree/bindings/leds/leds-is31fl319x.txt
>> @@ -16,6 +16,7 @@ Optional properties:
>>   - audio-gain-db : audio gain selection for external analog modulation input.
>>   	Valid values: 0 - 21, step by 3 (rounded down)
>>   	Default: 0
>> +- sdb-gpios : Specifier of the GPIO connected to SDB pin.
> We normally use 'shutdown-gpios' for a shutdown GPIO.
Thanks for the review.
>>   
>>   Each led is represented as a sub-node of the issi,is31fl319x device.
>>   There can be less leds subnodes than the chip can support but not more.
>> @@ -44,6 +45,7 @@ fancy_leds: leds@65 {
>>   	#address-cells = <1>;
>>   	#size-cells = <0>;
>>   	reg = <0x65>;
>> +	sdb-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
>>   
>>   	red_aux: led@1 {
>>   		label = "red:aux";
>> -- 
>> 2.17.1
>>
>>


  reply	other threads:[~2020-08-25  8:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-08  3:37 [PATCH v2 1/2] leds: is31fl319x: Add sdb pin and generate a 5ms low pulse when startup Grant Feng
2020-08-08  3:37 ` [PATCH v2 2/2] leds: Add an optional property named 'sdb-gpios' Grant Feng
2020-08-24 22:21   ` Rob Herring
2020-08-25  8:05     ` Grant Feng [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-08  2:04 [PATCH v2 1/2] leds: is31fl32xx: Add sdb pin and generate a 5ms low pulse when startup Grant Feng
2020-08-08  2:04 ` [PATCH v2 2/2] leds: Add an optional property named 'sdb-gpios' Grant Feng

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=d0ae6853-94a7-ca4e-61f1-e5119efa41bf@163.com \
    --to=von81@163.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmurphy@ti.com \
    --cc=jacek.anaszewski@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=robh@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