Skip to contentSkip to conversation

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

PATCH Applied Johan Hovold 4 participants 4 messages Nov 30, 2023 – Dec 7, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Fixes 1aeff6216891 ("dt-bindings: leds: Add QCOM flash LED controller")
---
 .../devicetree/bindings/leds/qcom,spmi-flash-led.yaml         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml +3 -1
index a8736fd5a539..1ba607685f5f 100644
@@ -89,9 +89,11 @@ additionalProperties: false
 examples:
   - |
     #include <dt-bindings/leds/common.h>
-    spmi {
+
+    pmic {
         #address-cells = <1>;
         #size-cells = <0>;
+
         led-controller@ee00 {
             compatible = "qcom,pm8350c-flash-led", "qcom,spmi-flash-led";
             reg = <0xee00>;
Signature · 1 line
2.41.0
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Johan Hovold

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.

Fixes 1aeff6216891 ("dt-bindings: leds: Add QCOM flash LED controller")

Nothing to fix here, just an example code.

Best regards,
Krzysztof

#2 lore raw
Quoted 9 lines · Krzysztof Kozlowski
Quoted 6 lines · Johan Hovold

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.

Fixes 1aeff6216891 ("dt-bindings: leds: Add QCOM flash LED controller")

Nothing to fix here, just an example code.

I'll just refer to my reply here for completeness:

https://lore.kernel.org/all/[email protected]/

Johan

maintainer Applied
#3 lore raw

Re: (subset) [PATCH] dt-bindings: leds: qcom,spmi-flash-led: fix example node name

In reply to Johan Hovold
Quoted 6 lines · Johan Hovold

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.

Applied, thanks!

[1/1] dt-bindings: leds: qcom,spmi-flash-led: fix example node name

      commit: e9a3374e5c545e5eade4623098b958d2f4073455

--
Lee Jones [李琼斯]