Skip to contentSkip to conversation

dt-bindings: pwm: allwinner: Fix missing header in H6 example

PATCH Applied Clément Péron 3 participants 4 messages Dec 10, 2019 – Dec 11, 2019

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

PATCH 1/1 dt-bindings: pwm: allwinner: Fix missing header in H6 example

Latest linux-next doesn't build due to the following error:

Error: Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dts:35.37-38 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dt.yaml] Error 1

This is due to missing header in the device-tree yaml example.

Fix this by adding the missing headers.

Fixes 4ee929b3f08e ("dt-bindings: pwm: allwinner: Add H6 PWM description")
---
 .../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml       | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml +3 -0
index a7dc19fc347a..fab89f052450 100644
@@ -93,6 +93,9 @@ examples:
     };
 
   - |
+    #include <dt-bindings/clock/sun50i-h6-ccu.h>
+    #include <dt-bindings/reset/sun50i-h6-ccu.h>
+
     pwm@300a000 {
       compatible = "allwinner,sun50i-h6-pwm";
       reg = <0x0300a000 0x400>;
Signature · 1 line
2.20.1
#1 lore raw
Quoted 8 lines · Clément Péron

Latest linux-next doesn't build due to the following error:

Error: Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dts:35.37-38 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dt.yaml] Error 1

Quoted 7 lines

This is due to missing header in the device-tree yaml example.

Fix this by adding the missing headers.

Fixes 4ee929b3f08e ("dt-bindings: pwm: allwinner: Add H6 PWM description")

Applied, thanks!
Maxime

#2 lore raw
Quoted 12 lines · Maxime Ripard
Quoted 10 lines · Clément Péron

Latest linux-next doesn't build due to the following error:

Error: Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dts:35.37-38 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dt.yaml] Error 1

This is due to missing header in the device-tree yaml example.

Quoted 8 lines
Quoted 5 lines

Fix this by adding the missing headers.

Fixes 4ee929b3f08e ("dt-bindings: pwm: allwinner: Add H6 PWM description")

Applied, thanks!
Maxime

Maybe squash it instead? :)

ChenYu

#3 lore raw
Quoted 15 lines · Chen-Yu Tsai
Quoted 14 lines · Maxime Ripard
Quoted 12 lines · Clément Péron

Latest linux-next doesn't build due to the following error:

Error: Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dts:35.37-38 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.example.dt.yaml] Error 1

This is due to missing header in the device-tree yaml example.

Fix this by adding the missing headers.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Fixes 4ee929b3f08e ("dt-bindings: pwm: allwinner: Add H6 PWM description")

Applied, thanks!
Maxime

Maybe squash it instead? :)

Indeed, I just did.

Thanks!
Maxime