Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <krzysztof.kozlowski@linaro.org>
Reviewed-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Sven Peter <sven@kernel.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>

authored by

Krzysztof Kozlowski and committed by
Jassi Brar
5682a215 f869e8f7

+27 -27
+7 -7
Documentation/devicetree/bindings/mailbox/allwinner,sun6i-a31-msgbox.yaml
··· 68 68 #include <dt-bindings/reset/sun8i-h3-ccu.h> 69 69 70 70 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>; 78 78 }; 79 79 80 80 ...
+4 -4
Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml
··· 46 46 examples: 47 47 - | 48 48 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>; 53 53 };
+8 -8
Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
··· 78 78 79 79 examples: 80 80 - | 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 + };
+8 -8
Documentation/devicetree/bindings/mailbox/ti,secure-proxy.yaml
··· 68 68 - | 69 69 #include <dt-bindings/interrupt-controller/arm-gic.h> 70 70 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>; 79 79 };