Commit 78da55c8 authored by Johan Hovold's avatar Johan Hovold Committed by Lee Jones

dt-bindings: leds: qcom,spmi-flash-led: Fix example node name

The led controller is a child of an SPMI PMIC, which in turn sits on an
SPMI bus.

While at it, add some newline separators to improve readability.
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231130171940.12391-1-johan+linaro@kernel.orgSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 94d4090b
...@@ -89,9 +89,11 @@ additionalProperties: false ...@@ -89,9 +89,11 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/leds/common.h> #include <dt-bindings/leds/common.h>
spmi {
pmic {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
led-controller@ee00 { led-controller@ee00 {
compatible = "qcom,pm8350c-flash-led", "qcom,spmi-flash-led"; compatible = "qcom,pm8350c-flash-led", "qcom,spmi-flash-led";
reg = <0xee00>; reg = <0xee00>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment