Skip to content

Commit 54f6052

Browse files
krzkrobherring
authored andcommitted
dt-bindings: ufs: 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: Krzysztof Kozlowski <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> # renesas Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 8537a70 commit 54f6052

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

Documentation/devicetree/bindings/ufs/renesas,ufs.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ examples:
5050
#include <dt-bindings/power/r8a779f0-sysc.h>
5151
5252
ufs: ufs@e686000 {
53-
compatible = "renesas,r8a779f0-ufs";
54-
reg = <0xe6860000 0x100>;
55-
interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
56-
clocks = <&cpg CPG_MOD 1514>, <&ufs30_clk>;
57-
clock-names = "fck", "ref_clk";
58-
freq-table-hz = <200000000 200000000>, <38400000 38400000>;
59-
power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
60-
resets = <&cpg 1514>;
53+
compatible = "renesas,r8a779f0-ufs";
54+
reg = <0xe6860000 0x100>;
55+
interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
56+
clocks = <&cpg CPG_MOD 1514>, <&ufs30_clk>;
57+
clock-names = "fck", "ref_clk";
58+
freq-table-hz = <200000000 200000000>, <38400000 38400000>;
59+
power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
60+
resets = <&cpg 1514>;
6161
};

Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,19 @@ examples:
112112
#include <dt-bindings/clock/exynos7-clk.h>
113113
114114
ufs: ufs@15570000 {
115-
compatible = "samsung,exynos7-ufs";
116-
reg = <0x15570000 0x100>,
117-
<0x15570100 0x100>,
118-
<0x15571000 0x200>,
119-
<0x15572000 0x300>;
120-
reg-names = "hci", "vs_hci", "unipro", "ufsp";
121-
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
122-
clocks = <&clock_fsys1 ACLK_UFS20_LINK>,
123-
<&clock_fsys1 SCLK_UFSUNIPRO20_USER>;
124-
clock-names = "core_clk", "sclk_unipro_main";
125-
pinctrl-names = "default";
126-
pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>;
127-
phys = <&ufs_phy>;
128-
phy-names = "ufs-phy";
115+
compatible = "samsung,exynos7-ufs";
116+
reg = <0x15570000 0x100>,
117+
<0x15570100 0x100>,
118+
<0x15571000 0x200>,
119+
<0x15572000 0x300>;
120+
reg-names = "hci", "vs_hci", "unipro", "ufsp";
121+
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
122+
clocks = <&clock_fsys1 ACLK_UFS20_LINK>,
123+
<&clock_fsys1 SCLK_UFSUNIPRO20_USER>;
124+
clock-names = "core_clk", "sclk_unipro_main";
125+
pinctrl-names = "default";
126+
pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>;
127+
phys = <&ufs_phy>;
128+
phy-names = "ufs-phy";
129129
};
130130
...

0 commit comments

Comments
 (0)