Commit ec20d468 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

ARM: dts: imx: Remove regulators from simple-bus



Regulators should not be placed under simple-bus.

Move it outside simple-bus to fix the following schema warnings:

regulators: $nodename:0: 'regulators' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
From schema: site-packages/dtschema/schemas/simple-bus.yaml

Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent f75adaf6
Loading
Loading
Loading
Loading
+9 −16
Original line number Diff line number Diff line
@@ -173,23 +173,16 @@ led-diagnostic {
		};
	};

	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_hub_reset: regulator@0 {
	reg_hub_reset: regulator-hub-reset {
		compatible = "regulator-fixed";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_usbotgreg>;
			reg = <0>;
		regulator-name = "hub_reset";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};
	};

	sound {
		compatible = "fsl,imx51-babbage-sgtl5000",
+8 −15
Original line number Diff line number Diff line
@@ -45,14 +45,8 @@ led1 {
		};
	};

	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_can: regulator@0 {
	reg_can: regulator-can {
		compatible = "regulator-fixed";
			reg = <0>;
		regulator-name = "CAN_RST";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
@@ -60,7 +54,6 @@ reg_can: regulator@0 {
		startup-delay-us = <20000>;
		enable-active-high;
	};
	};

	sound {
		compatible = "eukrea,asoc-tlv320";
+6 −13
Original line number Diff line number Diff line
@@ -43,20 +43,13 @@ ethernet@f4000000 {
		};
	};

	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_3p3v: regulator@0 {
	reg_3p3v: regulator-3p3v {
		compatible = "regulator-fixed";
			reg = <0>;
		regulator-name = "3P3V";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};
	};

	gpio-keys {
		compatible = "gpio-keys";
+13 −21
Original line number Diff line number Diff line
@@ -15,30 +15,22 @@ memory@70000000 {
		      <0xb0000000 0x20000000>;
	};

	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_3p2v: regulator@0 {
	reg_3p2v: regulator-3p2v {
		compatible = "regulator-fixed";
			reg = <0>;
		regulator-name = "3P2V";
		regulator-min-microvolt = <3200000>;
		regulator-max-microvolt = <3200000>;
		regulator-always-on;
	};

		reg_backlight: regulator@1 {
	reg_backlight: regulator-backlight {
		compatible = "regulator-fixed";
			reg = <1>;
		regulator-name = "lcd-supply";
		regulator-min-microvolt = <3200000>;
		regulator-max-microvolt = <3200000>;
		regulator-always-on;
	};
};
};

&i2c2 {
	pinctrl-names = "default";
+13 −21
Original line number Diff line number Diff line
@@ -65,29 +65,21 @@ led-user2 {
		};
	};

	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_usbh1_vbus: regulator@3 {
	reg_usbh1_vbus: regulator-usbh1-vbus {
		compatible = "regulator-fixed";
			reg = <3>;
		regulator-name = "vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		gpio = <&gpio1 2 0>;
	};

		reg_usb_otg_vbus: regulator@4 {
	reg_usb_otg_vbus: regulator-usb-otg-vbus {
		compatible = "regulator-fixed";
			reg = <4>;
		regulator-name = "usb_otg_vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		gpio = <&gpio1 4 0>;
	};
	};

	sound {
		compatible = "fsl,imx53-m53evk-sgtl5000",
Loading