diff mbox series

[1/5] dt-bindings: leds: Add retain-state-shutdown boolean

Message ID 20210429205002.70245-2-eajames@linux.ibm.com
State Superseded
Headers show
Series leds: Support retaining state for the PCA955x | expand

Commit Message

Eddie James April 29, 2021, 8:49 p.m. UTC
Document the retain-state-shutdown property that indicates that a LED
should not be turned off or changed during system shutdown.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 Documentation/devicetree/bindings/leds/common.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Eddie James April 29, 2021, 9 p.m. UTC | #1
On Thu, 2021-04-29 at 15:49 -0500, Eddie James wrote:
> Document the retain-state-shutdown property that indicates that a LED
> should not be turned off or changed during system shutdown.

Lost a character of Rob's email, so bumping this one with the right
address.

Sorry,
Eddie

> 
> Signed-off-by: Eddie James <eajames@linux.ibm.com>
> ---
>  Documentation/devicetree/bindings/leds/common.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/leds/common.yaml
> b/Documentation/devicetree/bindings/leds/common.yaml
> index b1f363747a62..697102707703 100644
> --- a/Documentation/devicetree/bindings/leds/common.yaml
> +++ b/Documentation/devicetree/bindings/leds/common.yaml
> @@ -128,6 +128,12 @@ properties:
>        as a panic indicator.
>      type: boolean
>  
> +  retain-state-shutdown:
> +    description:
> +      This property specifies that the LED should not be turned off
> or changed
> +      when the system shuts down.
> +    type: boolean
> +
>    trigger-sources:
>      description: |
>        List of devices which should be used as a source triggering
> this LED
vishwanatha subbanna April 30, 2021, 11:21 a.m. UTC | #2
> On 30-Apr-2021, at 2:30 AM, Eddie James <eajames@linux.ibm.com> wrote:

> 

> On Thu, 2021-04-29 at 15:49 -0500, Eddie James wrote:

>> Document the retain-state-shutdown property that indicates that a LED

>> should not be turned off or changed during system shutdown.

> 

> Lost a character of Rob's email, so bumping this one with the right

> address.

> 

> Sorry,

> Eddie

> 

>> 


Reviewed-by: Vishwanatha Subbanna <vishwanath@linux.vnet.ibm.com>



>> Signed-off-by: Eddie James <eajames@linux.ibm.com>

>> ---

>> Documentation/devicetree/bindings/leds/common.yaml | 6 ++++++

>> 1 file changed, 6 insertions(+)

>> 

>> diff --git a/Documentation/devicetree/bindings/leds/common.yaml

>> b/Documentation/devicetree/bindings/leds/common.yaml

>> index b1f363747a62..697102707703 100644

>> --- a/Documentation/devicetree/bindings/leds/common.yaml

>> +++ b/Documentation/devicetree/bindings/leds/common.yaml

>> @@ -128,6 +128,12 @@ properties:

>>       as a panic indicator.

>>     type: boolean

>> 

>> +  retain-state-shutdown:

>> +    description:

>> +      This property specifies that the LED should not be turned off

>> or changed

>> +      when the system shuts down.

>> +    type: boolean

>> +

>>   trigger-sources:

>>     description: |

>>       List of devices which should be used as a source triggering

>> this LED

>
Rob Herring (Arm) May 5, 2021, 11:05 p.m. UTC | #3
On Thu, 29 Apr 2021 15:49:58 -0500, Eddie James wrote:
> Document the retain-state-shutdown property that indicates that a LED

> should not be turned off or changed during system shutdown.

> 

> Signed-off-by: Eddie James <eajames@linux.ibm.com>

> ---

>  Documentation/devicetree/bindings/leds/common.yaml | 6 ++++++

>  1 file changed, 6 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index b1f363747a62..697102707703 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -128,6 +128,12 @@  properties:
       as a panic indicator.
     type: boolean
 
+  retain-state-shutdown:
+    description:
+      This property specifies that the LED should not be turned off or changed
+      when the system shuts down.
+    type: boolean
+
   trigger-sources:
     description: |
       List of devices which should be used as a source triggering this LED