From: Krzysztof Kozlowski Date: Tue, 11 Jan 2022 17:54:30 +0000 (+0100) Subject: dt-bindings: leds: common: fix unit address in max77693 example X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=114fa138e41d8407da491da60e72e84fbb07889b;p=linux.git dt-bindings: leds: common: fix unit address in max77693 example The max77693 LED device node should not take an unit address, because it is instantiated from a max77693 I2C parent device node. This also splits all examples to separate DTS examples because they are actually independent. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring Reviewed-by: Javier Martinez Canillas Signed-off-by: Pavel Machek --- diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index 697102707703a..328952d7acbbc 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -185,9 +185,11 @@ examples: }; }; - led-controller@0 { + - | + #include + + led-controller { compatible = "maxim,max77693-led"; - reg = <0 0x100>; led { function = LED_FUNCTION_FLASH; @@ -199,6 +201,9 @@ examples: }; }; + - | + #include + i2c { #address-cells = <1>; #size-cells = <0>;