Commit 2a24e068 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Manivannan Sadhasivam
Browse files

dt-bindings: PCI: Correct indentation and style in DTS example



DTS example in the bindings should be indented with 2- or 4-spaces and
aligned with opening '- |', so correct any differences like 3-spaces or
mixtures 2- and 4-spaces in one binding.

No functional changes here, but saves some comments during reviews of
new patches built on existing code.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250324125202.81986-1-krzysztof.kozlowski@linaro.org
parent c9280801
Loading
Loading
Loading
Loading
+43 −44
Original line number Diff line number Diff line
@@ -224,8 +224,7 @@ examples:

                /* PCIe endpoint */
                pci-ep@0,0 {
                                    assigned-addresses =
                                        <0x82010000 0x0 0xf8000000 0x6 0x00000000 0x0 0x2000>;
                    assigned-addresses = <0x82010000 0x0 0xf8000000 0x6 0x00000000 0x0 0x2000>;
                    reg = <0x0 0x0 0x0 0x0 0x0>;
                    compatible = "pci14e4,1688";
                };
+57 −59
Original line number Diff line number Diff line
@@ -76,11 +76,10 @@ unevaluatedProperties: false

examples:
  - |

    versal {
        #address-cells = <2>;
        #size-cells = <2>;
               cpm_pcie: pcie@fca10000 {
        pcie@fca10000 {
            compatible = "xlnx,versal-cpm-host-1.00";
            device_type = "pci";
            #address-cells = <3>;
@@ -107,7 +106,7 @@ examples:
            };
        };

               cpm5_pcie: pcie@fcdd0000 {
        pcie@fcdd0000 {
            compatible = "xlnx,versal-cpm5-host";
            device_type = "pci";
            #address-cells = <3>;
@@ -135,5 +134,4 @@ examples:
                interrupt-controller;
            };
        };

    };
+8 −8

File changed.

Contains only whitespace changes.

+13 −13

File changed.

Contains only whitespace changes.

+19 −19

File changed.

Contains only whitespace changes.

+27 −27

File changed.

Contains only whitespace changes.

+17 −17

File changed.

Contains only whitespace changes.

+23 −23

File changed.

Contains only whitespace changes.

Loading