Commit 33b9e719 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: dts: exynos: Remove unnecessary address/size properties in Midas boards

The children of regulators node do not have reg/ranges properties.  Move the
children up one level, get rid of regulators node and remove
address-cells and size-cells properties.  This fixes warnings for
Exynos4412 Midas family boards:

    arch/arm/boot/dts/exynos4412-i9300.dtb: Warning (avoid_unnecessary_addr_size):
        /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
    arch/arm/boot/dts/exynos4412-i9305.dtb: Warning (avoid_unnecessary_addr_size):
        /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
    arch/arm/boot/dts/exynos4412-n710x.dtb: Warning (avoid_unnecessary_addr_size):
        /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 70c3250a
...@@ -15,7 +15,6 @@ aliases { ...@@ -15,7 +15,6 @@ aliases {
i2c10 = &i2c_cm36651; i2c10 = &i2c_cm36651;
}; };
regulators {
lcd_vdd3_reg: voltage-regulator-2 { lcd_vdd3_reg: voltage-regulator-2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "LCD_VDD_2.2V"; regulator-name = "LCD_VDD_2.2V";
...@@ -33,7 +32,6 @@ ps_als_reg: voltage-regulator-5 { ...@@ -33,7 +32,6 @@ ps_als_reg: voltage-regulator-5 {
gpio = <&gpj0 5 GPIO_ACTIVE_HIGH>; gpio = <&gpj0 5 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
};
i2c_ak8975: i2c-gpio-0 { i2c_ak8975: i2c-gpio-0 {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
......
...@@ -46,11 +46,6 @@ xusbxti { ...@@ -46,11 +46,6 @@ xusbxti {
}; };
}; };
regulators {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
cam_io_reg: voltage-regulator-1 { cam_io_reg: voltage-regulator-1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "CAM_SENSOR_A"; regulator-name = "CAM_SENSOR_A";
...@@ -96,7 +91,6 @@ vcc18mhl: voltage-regulator-8 { ...@@ -96,7 +91,6 @@ vcc18mhl: voltage-regulator-8 {
gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>; gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
};
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
......
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