Skip to content

Commit 5682a21

Browse files
krzkJassi Brar
authored andcommitted
dt-bindings: mailbox: Correct example indentation
DTS example in the bindings should be indented with 2- or 4-spaces, so correct a mixture of different styles to keep consistent 4-spaces. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Nishanth Menon <[email protected]> Reviewed-by: Sven Peter <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent f869e8f commit 5682a21

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

Documentation/devicetree/bindings/mailbox/allwinner,sun6i-a31-msgbox.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ examples:
6868
#include <dt-bindings/reset/sun8i-h3-ccu.h>
6969
7070
msgbox: mailbox@1c17000 {
71-
compatible = "allwinner,sun8i-h3-msgbox",
72-
"allwinner,sun6i-a31-msgbox";
73-
reg = <0x01c17000 0x1000>;
74-
clocks = <&ccu CLK_BUS_MSGBOX>;
75-
resets = <&ccu RST_BUS_MSGBOX>;
76-
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
77-
#mbox-cells = <1>;
71+
compatible = "allwinner,sun8i-h3-msgbox",
72+
"allwinner,sun6i-a31-msgbox";
73+
reg = <0x01c17000 0x1000>;
74+
clocks = <&ccu CLK_BUS_MSGBOX>;
75+
resets = <&ccu RST_BUS_MSGBOX>;
76+
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
77+
#mbox-cells = <1>;
7878
};
7979
8080
...

Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ additionalProperties: false
4646
examples:
4747
- |
4848
mailbox@c883c404 {
49-
compatible = "amlogic,meson-gxbb-mhu";
50-
reg = <0xc883c404 0x4c>;
51-
interrupts = <208>, <209>, <210>;
52-
#mbox-cells = <1>;
49+
compatible = "amlogic,meson-gxbb-mhu";
50+
reg = <0xc883c404 0x4c>;
51+
interrupts = <208>, <209>, <210>;
52+
#mbox-cells = <1>;
5353
};

Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ additionalProperties: false
7878

7979
examples:
8080
- |
81-
mailbox@77408000 {
82-
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
83-
reg = <0x77408000 0x4000>;
84-
interrupts = <1 583 4>, <1 584 4>, <1 585 4>, <1 586 4>;
85-
interrupt-names = "send-empty", "send-not-empty",
86-
"recv-empty", "recv-not-empty";
87-
#mbox-cells = <0>;
88-
};
81+
mailbox@77408000 {
82+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
83+
reg = <0x77408000 0x4000>;
84+
interrupts = <1 583 4>, <1 584 4>, <1 585 4>, <1 586 4>;
85+
interrupt-names = "send-empty", "send-not-empty",
86+
"recv-empty", "recv-not-empty";
87+
#mbox-cells = <0>;
88+
};

Documentation/devicetree/bindings/mailbox/ti,secure-proxy.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ examples:
6868
- |
6969
#include <dt-bindings/interrupt-controller/arm-gic.h>
7070
secure_proxy: mailbox@32c00000 {
71-
compatible = "ti,am654-secure-proxy";
72-
#mbox-cells = <1>;
73-
reg-names = "target_data", "rt", "scfg";
74-
reg = <0x32c00000 0x100000>,
75-
<0x32400000 0x100000>,
76-
<0x32800000 0x100000>;
77-
interrupt-names = "rx_011";
78-
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
71+
compatible = "ti,am654-secure-proxy";
72+
#mbox-cells = <1>;
73+
reg-names = "target_data", "rt", "scfg";
74+
reg = <0x32c00000 0x100000>,
75+
<0x32400000 0x100000>,
76+
<0x32800000 0x100000>;
77+
interrupt-names = "rx_011";
78+
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
7979
};

0 commit comments

Comments
 (0)