Skip to content

Commit

Permalink
ARM: tegra: name clocks and regulator according to dt-schema
Browse files Browse the repository at this point in the history
Fix warnings such as:

arch/arm/boot/dts/tegra20-acer-a500-picasso.dt.yaml: /: clock@0: 'anyOf' conditional failed, one must be fixed:
 	'reg' is a required property
 	'ranges' is a required property
 	From schema: /home/runner/.local/lib/python3.8/site-packages/dtschema/schemas/root-node.yaml

Signed-off-by: David Heidelberg <[email protected]>
  • Loading branch information
okias committed Sep 17, 2021
1 parent 3235960 commit 6968402
Show file tree
Hide file tree
Showing 25 changed files with 169 additions and 169 deletions.
16 changes: 8 additions & 8 deletions arch/arm/boot/dts/tegra114-dalmore.dts
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@
default-brightness-level = <6>;
};

clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
Expand Down Expand Up @@ -1186,15 +1186,15 @@
};
};

vdd_ac_bat_reg: regulator@0 {
vdd_ac_bat_reg: regulator-acbat {
compatible = "regulator-fixed";
regulator-name = "vdd_ac_bat";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};

dvdd_ts_reg: regulator@1 {
dvdd_ts_reg: regulator-ts {
compatible = "regulator-fixed";
regulator-name = "dvdd_ts";
regulator-min-microvolt = <1800000>;
Expand All @@ -1203,7 +1203,7 @@
gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>;
};

usb1_vbus_reg: regulator@3 {
usb1_vbus_reg: regulator-usb1 {
compatible = "regulator-fixed";
regulator-name = "usb1_vbus";
regulator-min-microvolt = <5000000>;
Expand All @@ -1214,7 +1214,7 @@
vin-supply = <&tps65090_dcdc1_reg>;
};

usb3_vbus_reg: regulator@4 {
usb3_vbus_reg: regulator-usb3 {
compatible = "regulator-fixed";
regulator-name = "usb2_vbus";
regulator-min-microvolt = <5000000>;
Expand All @@ -1225,15 +1225,15 @@
vin-supply = <&tps65090_dcdc1_reg>;
};

vdd_hdmi_reg: regulator@5 {
vdd_hdmi_reg: regulator-hdmi {
compatible = "regulator-fixed";
regulator-name = "vdd_hdmi_5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&tps65090_dcdc1_reg>;
};

vdd_cam_1v8_reg: regulator@6 {
vdd_cam_1v8_reg: regulator-cam {
compatible = "regulator-fixed";
regulator-name = "vdd_cam_1v8_reg";
regulator-min-microvolt = <1800000>;
Expand All @@ -1242,7 +1242,7 @@
gpio = <&palmas_gpio 6 0>;
};

vdd_5v0_hdmi: regulator@7 {
vdd_5v0_hdmi: regulator-hdmicon {
compatible = "regulator-fixed";
regulator-name = "VDD_5V0_HDMI_CON";
regulator-min-microvolt = <5000000>;
Expand Down
14 changes: 7 additions & 7 deletions arch/arm/boot/dts/tegra114-roth.dts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@
enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
};

clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
Expand Down Expand Up @@ -1045,15 +1045,15 @@
};
};

lcd_bl_en: regulator@0 {
lcd_bl_en: regulator-lcden {
compatible = "regulator-fixed";
regulator-name = "lcd_bl_en";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-boot-on;
};

vdd_lcd: regulator@1 {
vdd_lcd: regulator-lcd {
compatible = "regulator-fixed";
regulator-name = "vdd_lcd_1v8";
regulator-min-microvolt = <1800000>;
Expand All @@ -1064,7 +1064,7 @@
regulator-boot-on;
};

regulator@2 {
regulator-1v8ts {
compatible = "regulator-fixed";
regulator-name = "vdd_1v8_ts";
regulator-min-microvolt = <1800000>;
Expand All @@ -1073,7 +1073,7 @@
regulator-boot-on;
};

regulator@3 {
regulator-3v3ts {
compatible = "regulator-fixed";
regulator-name = "vdd_3v3_ts";
regulator-min-microvolt = <3300000>;
Expand All @@ -1083,7 +1083,7 @@
regulator-boot-on;
};

regulator@4 {
regulator-1v8com {
compatible = "regulator-fixed";
regulator-name = "vdd_1v8_com";
regulator-min-microvolt = <1800000>;
Expand All @@ -1094,7 +1094,7 @@
regulator-boot-on;
};

regulator@5 {
regulator-3v3com {
compatible = "regulator-fixed";
regulator-name = "vdd_3v3_com";
regulator-min-microvolt = <3300000>;
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/tegra114-tn7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
power-supply = <&lcd_bl_en>;
};

clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
Expand Down Expand Up @@ -303,7 +303,7 @@
};

/* FIXME: output of BQ24192 */
vs_sys: regulator@0 {
vs_sys: regulator-vs {
compatible = "regulator-fixed";
regulator-name = "VS_SYS";
regulator-min-microvolt = <4200000>;
Expand All @@ -312,7 +312,7 @@
regulator-boot-on;
};

lcd_bl_en: regulator@1 {
lcd_bl_en: regulator-lcden {
compatible = "regulator-fixed";
regulator-name = "VDD_LCD_BL";
regulator-min-microvolt = <16500000>;
Expand All @@ -323,7 +323,7 @@
regulator-boot-on;
};

vdd_lcd: regulator@2 {
vdd_lcd: regulator-lcd {
compatible = "regulator-fixed";
regulator-name = "VD_LCD_1V8";
regulator-min-microvolt = <1800000>;
Expand Down
26 changes: 13 additions & 13 deletions arch/arm/boot/dts/tegra124-jetson-tk1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,7 @@
vbus-supply = <&vdd_usb3_vbus>;
};

clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
Expand All @@ -1892,7 +1892,7 @@
};
};

vdd_mux: regulator@0 {
vdd_mux: regulator-mux {
compatible = "regulator-fixed";
regulator-name = "+VDD_MUX";
regulator-min-microvolt = <12000000>;
Expand All @@ -1901,7 +1901,7 @@
regulator-boot-on;
};

vdd_5v0_sys: regulator@1 {
vdd_5v0_sys: regulator-5v0sys {
compatible = "regulator-fixed";
regulator-name = "+5V_SYS";
regulator-min-microvolt = <5000000>;
Expand All @@ -1911,7 +1911,7 @@
vin-supply = <&vdd_mux>;
};

vdd_3v3_sys: regulator@2 {
vdd_3v3_sys: regulator-3v3sys {
compatible = "regulator-fixed";
regulator-name = "+3.3V_SYS";
regulator-min-microvolt = <3300000>;
Expand All @@ -1921,7 +1921,7 @@
vin-supply = <&vdd_mux>;
};

vdd_3v3_run: regulator@3 {
vdd_3v3_run: regulator-3v3run {
compatible = "regulator-fixed";
regulator-name = "+3.3V_RUN";
regulator-min-microvolt = <3300000>;
Expand All @@ -1933,15 +1933,15 @@
vin-supply = <&vdd_3v3_sys>;
};

vdd_3v3_hdmi: regulator@4 {
vdd_3v3_hdmi: regulator-3v3hdmi {
compatible = "regulator-fixed";
regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vdd_3v3_run>;
};

vdd_usb1_vbus: regulator@5 {
vdd_usb1_vbus: regulator-usb1 {
compatible = "regulator-fixed";
regulator-name = "+USB0_VBUS_SW";
regulator-min-microvolt = <5000000>;
Expand All @@ -1952,7 +1952,7 @@
vin-supply = <&vdd_5v0_sys>;
};

vdd_usb3_vbus: regulator@6 {
vdd_usb3_vbus: regulator-usb3 {
compatible = "regulator-fixed";
regulator-name = "+5V_USB_HS";
regulator-min-microvolt = <5000000>;
Expand All @@ -1963,7 +1963,7 @@
vin-supply = <&vdd_5v0_sys>;
};

vdd_3v3_lp0: regulator@7 {
vdd_3v3_lp0: regulator-lp0 {
compatible = "regulator-fixed";
regulator-name = "+3.3V_LP0";
regulator-min-microvolt = <3300000>;
Expand All @@ -1975,7 +1975,7 @@
vin-supply = <&vdd_3v3_sys>;
};

vdd_hdmi_pll: regulator@8 {
vdd_hdmi_pll: regulator-hdmipll {
compatible = "regulator-fixed";
regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
regulator-min-microvolt = <1050000>;
Expand All @@ -1984,7 +1984,7 @@
vin-supply = <&vdd_1v05_run>;
};

vdd_5v0_hdmi: regulator@9 {
vdd_5v0_hdmi: regulator-hdmicon {
compatible = "regulator-fixed";
regulator-name = "+5V_HDMI_CON";
regulator-min-microvolt = <5000000>;
Expand All @@ -1995,7 +1995,7 @@
};

/* Molex power connector */
vdd_5v0_sata: regulator@10 {
vdd_5v0_sata: regulator-5v0sata {
compatible = "regulator-fixed";
regulator-name = "+5V_SATA";
regulator-min-microvolt = <5000000>;
Expand All @@ -2005,7 +2005,7 @@
vin-supply = <&vdd_5v0_sys>;
};

vdd_12v0_sata: regulator@11 {
vdd_12v0_sata: regulator-12v0sata {
compatible = "regulator-fixed";
regulator-name = "+12V_SATA";
regulator-min-microvolt = <12000000>;
Expand Down
Loading

0 comments on commit 6968402

Please sign in to comment.