2022-06-09 22:43:24

by Jonathan Neuschäfer

[permalink] [raw]
Subject: [PATCH] dt-bindings: leds: Fix reference to definition of default-state

At least since the YAML conversion, the default-state property is
described in leds/common.yaml, so there's no need to point to another
file for its definition.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
Documentation/devicetree/bindings/leds/common.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 328952d7acbbc..35fcdad711b03 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -82,8 +82,7 @@ properties:
enum:
# LED will act as a back-light, controlled by the framebuffer system
- backlight
- # LED will turn on (but for leds-gpio see "default-state" property in
- # Documentation/devicetree/bindings/leds/leds-gpio.yaml)
+ # LED will turn on (see also "default-state" property)
- default-on
# LED "double" flashes at a load average based rate
- heartbeat
--
2.35.1


2022-06-16 16:19:32

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: leds: Fix reference to definition of default-state

On Fri, 10 Jun 2022 00:31:13 +0200, Jonathan Neusch?fer wrote:
> At least since the YAML conversion, the default-state property is
> described in leds/common.yaml, so there's no need to point to another
> file for its definition.
>
> Signed-off-by: Jonathan Neusch?fer <[email protected]>
> ---
> Documentation/devicetree/bindings/leds/common.yaml | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>

Acked-by: Rob Herring <[email protected]>