Commit c2b474b0 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

dt-bindings: samsung: Indent examples with four spaces

Change the indentation of examples used in json-schema bindings from two
to four spaces as this makes the code easier to read and seems to be
preferred in other files.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Sebastian Reichel <sre@kernel.org> # for power/reset
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent d9b11fcc
...@@ -20,6 +20,6 @@ properties: ...@@ -20,6 +20,6 @@ properties:
examples: examples:
- | - |
chipid@10000000 { chipid@10000000 {
compatible = "samsung,exynos4210-chipid"; compatible = "samsung,exynos4210-chipid";
reg = <0x10000000 0x100>; reg = <0x10000000 0x100>;
}; };
...@@ -110,40 +110,40 @@ allOf: ...@@ -110,40 +110,40 @@ allOf:
examples: examples:
- | - |
adc: adc@12d10000 { adc: adc@12d10000 {
compatible = "samsung,exynos-adc-v1"; compatible = "samsung,exynos-adc-v1";
reg = <0x12d10000 0x100>; reg = <0x12d10000 0x100>;
interrupts = <0 106 0>; interrupts = <0 106 0>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
io-channel-ranges; io-channel-ranges;
clocks = <&clock 303>; clocks = <&clock 303>;
clock-names = "adc"; clock-names = "adc";
vdd-supply = <&buck5_reg>; vdd-supply = <&buck5_reg>;
samsung,syscon-phandle = <&pmu_system_controller>; samsung,syscon-phandle = <&pmu_system_controller>;
/* NTC thermistor is a hwmon device */ /* NTC thermistor is a hwmon device */
ncp15wb473@0 { ncp15wb473@0 {
compatible = "murata,ncp15wb473"; compatible = "murata,ncp15wb473";
pullup-uv = <1800000>; pullup-uv = <1800000>;
pullup-ohm = <47000>; pullup-ohm = <47000>;
pulldown-ohm = <0>; pulldown-ohm = <0>;
io-channels = <&adc 4>; io-channels = <&adc 4>;
}; };
}; };
- | - |
adc@126c0000 { adc@126c0000 {
compatible = "samsung,exynos3250-adc"; compatible = "samsung,exynos3250-adc";
reg = <0x126C0000 0x100>; reg = <0x126C0000 0x100>;
interrupts = <0 137 0>; interrupts = <0 137 0>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
io-channel-ranges; io-channel-ranges;
clocks = <&cmu 0>, // CLK_TSADC clocks = <&cmu 0>, // CLK_TSADC
<&cmu 1>; // CLK_SCLK_TSADC <&cmu 1>; // CLK_SCLK_TSADC
clock-names = "adc", "sclk"; clock-names = "adc", "sclk";
vdd-supply = <&buck5_reg>; vdd-supply = <&buck5_reg>;
samsung,syscon-phandle = <&pmu_system_controller>; samsung,syscon-phandle = <&pmu_system_controller>;
}; };
...@@ -53,8 +53,8 @@ allOf: ...@@ -53,8 +53,8 @@ allOf:
examples: examples:
- | - |
poweroff { poweroff {
compatible = "syscon-poweroff"; compatible = "syscon-poweroff";
regmap = <&regmapnode>; regmap = <&regmapnode>;
offset = <0x0>; offset = <0x0>;
mask = <0x7a>; mask = <0x7a>;
}; };
...@@ -53,8 +53,8 @@ allOf: ...@@ -53,8 +53,8 @@ allOf:
examples: examples:
- | - |
reboot { reboot {
compatible = "syscon-reboot"; compatible = "syscon-reboot";
regmap = <&regmapnode>; regmap = <&regmapnode>;
offset = <0x0>; offset = <0x0>;
mask = <0x1>; mask = <0x1>;
}; };
...@@ -76,10 +76,10 @@ allOf: ...@@ -76,10 +76,10 @@ allOf:
examples: examples:
- | - |
rtc@10070000 { rtc@10070000 {
compatible = "samsung,s3c6410-rtc"; compatible = "samsung,s3c6410-rtc";
reg = <0x10070000 0x100>; reg = <0x10070000 0x100>;
interrupts = <0 44 4>, <0 45 4>; interrupts = <0 44 4>, <0 45 4>;
clocks = <&clock 0>, // CLK_RTC clocks = <&clock 0>, // CLK_RTC
<&s2mps11_osc 0>; // S2MPS11_CLK_AP <&s2mps11_osc 0>; // S2MPS11_CLK_AP
clock-names = "rtc", "rtc_src"; clock-names = "rtc", "rtc_src";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment