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

dt-bindings: correct white-spaces in examples

Use only one and exactly one space around '=' in DTS example.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarSerge Semin <fancer.lancer@gmail.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio
Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20231124092121.16866-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 67f7a63e
...@@ -113,7 +113,7 @@ examples: ...@@ -113,7 +113,7 @@ examples:
hd44780 { hd44780 {
compatible = "hit,hd44780"; compatible = "hit,hd44780";
display-height-chars = <2>; display-height-chars = <2>;
display-width-chars = <16>; display-width-chars = <16>;
data-gpios = <&pcf8574 4 0>, data-gpios = <&pcf8574 4 0>,
<&pcf8574 5 0>, <&pcf8574 5 0>,
<&pcf8574 6 0>, <&pcf8574 6 0>,
......
...@@ -125,7 +125,7 @@ examples: ...@@ -125,7 +125,7 @@ examples:
clk25m: clock-oscillator-25m { clk25m: clock-oscillator-25m {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <25000000>; clock-frequency = <25000000>;
clock-output-names = "clk25m"; clock-output-names = "clk25m";
}; };
... ...
...@@ -80,9 +80,9 @@ examples: ...@@ -80,9 +80,9 @@ examples:
compatible = "adi,ad7780"; compatible = "adi,ad7780";
reg = <0>; reg = <0>;
avdd-supply = <&vdd_supply>; avdd-supply = <&vdd_supply>;
powerdown-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
adi,gain-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; adi,gain-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
adi,filter-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; adi,filter-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
}; };
}; };
...@@ -58,7 +58,7 @@ examples: ...@@ -58,7 +58,7 @@ examples:
reg = <0x3600>; reg = <0x3600>;
interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
qcom,external-resistor-micro-ohms = <10000>; qcom,external-resistor-micro-ohms = <10000>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
}; };
}; };
... ...
...@@ -46,6 +46,6 @@ examples: ...@@ -46,6 +46,6 @@ examples:
pmic_rradc: adc@4500 { pmic_rradc: adc@4500 {
compatible = "qcom,pmi8998-rradc"; compatible = "qcom,pmi8998-rradc";
reg = <0x4500>; reg = <0x4500>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
}; };
}; };
...@@ -55,8 +55,8 @@ examples: ...@@ -55,8 +55,8 @@ examples:
- | - |
#include <dt-bindings/interrupt-controller/irq-st.h> #include <dt-bindings/interrupt-controller/irq-st.h>
irq-syscfg { irq-syscfg {
compatible = "st,stih407-irq-syscfg"; compatible = "st,stih407-irq-syscfg";
st,syscfg = <&syscfg_cpu>; st,syscfg = <&syscfg_cpu>;
st,irq-device = <ST_IRQ_SYSCFG_PMU_0>, st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
<ST_IRQ_SYSCFG_PMU_1>; <ST_IRQ_SYSCFG_PMU_1>;
st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>, st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
......
...@@ -203,7 +203,7 @@ examples: ...@@ -203,7 +203,7 @@ examples:
bus-width = <4>; bus-width = <4>;
cap-sd-highspeed; cap-sd-highspeed;
cap-mmc-highspeed; cap-mmc-highspeed;
cd-gpios = <&gpio2 31 0x4>; cd-gpios = <&gpio2 31 0x4>;
st,sig-dir-dat0; st,sig-dir-dat0;
st,sig-dir-dat2; st,sig-dir-dat2;
st,sig-dir-cmd; st,sig-dir-cmd;
......
...@@ -120,7 +120,7 @@ examples: ...@@ -120,7 +120,7 @@ examples:
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&cps_sfpp0_pins>; pinctrl-0 = <&cps_sfpp0_pins>;
tx-disable-gpios = <&cps_gpio1 29 GPIO_ACTIVE_HIGH>; tx-disable-gpios = <&cps_gpio1 29 GPIO_ACTIVE_HIGH>;
tx-fault-gpios = <&cps_gpio1 26 GPIO_ACTIVE_HIGH>; tx-fault-gpios = <&cps_gpio1 26 GPIO_ACTIVE_HIGH>;
}; };
mdio { mdio {
......
...@@ -83,7 +83,7 @@ examples: ...@@ -83,7 +83,7 @@ examples:
<0x0 0x28050000 0x0 0x00010000>, <0x0 0x28050000 0x0 0x00010000>,
<0x0 0x24200000 0x0 0x00002000>, <0x0 0x24200000 0x0 0x00002000>,
<0x0 0x24162000 0x0 0x00001000>; <0x0 0x24162000 0x0 0x00001000>;
reg-names = "dbi", "config", "ulreg", "smu", "mpu"; reg-names = "dbi", "config", "ulreg", "smu", "mpu";
device_type = "pci"; device_type = "pci";
bus-range = <0x00 0xff>; bus-range = <0x00 0xff>;
num-lanes = <2>; num-lanes = <2>;
......
...@@ -185,17 +185,17 @@ examples: ...@@ -185,17 +185,17 @@ examples:
sd1_mux { sd1_mux {
pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>, /* CD */ pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>, /* CD */
<RZG2L_PORT_PINMUX(19, 1, 1)>; /* WP */ <RZG2L_PORT_PINMUX(19, 1, 1)>; /* WP */
power-source = <3300>; power-source = <3300>;
}; };
sd1_data { sd1_data {
pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3";
power-source = <3300>; power-source = <3300>;
}; };
sd1_ctrl { sd1_ctrl {
pins = "SD1_CLK", "SD1_CMD"; pins = "SD1_CLK", "SD1_CMD";
power-source = <3300>; power-source = <3300>;
}; };
}; };
}; };
...@@ -79,10 +79,10 @@ examples: ...@@ -79,10 +79,10 @@ examples:
interrupt-parent = <&gpio1>; interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
richtek,output-charge-current = <500000>; richtek,output-charge-current = <500000>;
richtek,end-of-charge-percentage = <10>; richtek,end-of-charge-percentage = <10>;
richtek,battery-regulation-voltage = <4200000>; richtek,battery-regulation-voltage = <4200000>;
richtek,boost-output-voltage = <5050000>; richtek,boost-output-voltage = <5050000>;
richtek,min-input-voltage-regulation = <4500000>; richtek,min-input-voltage-regulation = <4500000>;
richtek,avg-input-current-regulation = <500000>; richtek,avg-input-current-regulation = <500000>;
......
...@@ -62,8 +62,8 @@ examples: ...@@ -62,8 +62,8 @@ examples:
regulator-name = "buck1"; regulator-name = "buck1";
regulator-min-microvolt = <600000>; regulator-min-microvolt = <600000>;
regulator-max-microvolt = <2187500>; regulator-max-microvolt = <2187500>;
regulator-min-microamp = <3800000>; regulator-min-microamp = <3800000>;
regulator-max-microamp = <6800000>; regulator-max-microamp = <6800000>;
regulator-boot-on; regulator-boot-on;
}; };
......
...@@ -98,8 +98,8 @@ examples: ...@@ -98,8 +98,8 @@ examples:
regulator-name = "buck1"; regulator-name = "buck1";
regulator-min-microvolt = <400000>; regulator-min-microvolt = <400000>;
regulator-max-microvolt = <3587500>; regulator-max-microvolt = <3587500>;
regulator-min-microamp = <460000>; regulator-min-microamp = <460000>;
regulator-max-microamp = <7600000>; regulator-max-microamp = <7600000>;
regulator-boot-on; regulator-boot-on;
mps,buck-ovp-disable; mps,buck-ovp-disable;
mps,buck-phase-delay = /bits/ 8 <2>; mps,buck-phase-delay = /bits/ 8 <2>;
......
...@@ -113,10 +113,10 @@ examples: ...@@ -113,10 +113,10 @@ examples:
}; };
imx7d-cm4 { imx7d-cm4 {
compatible = "fsl,imx7d-cm4"; compatible = "fsl,imx7d-cm4";
memory-region = <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>; memory-region = <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>;
syscon = <&src>; syscon = <&src>;
clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>; clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>;
}; };
- | - |
......
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