Skip to content

Commit

Permalink
ARM: dts: exynos: Remove regulators node container in Origen and N710x
Browse files Browse the repository at this point in the history
Consistently put fixed regulators directly below root node, instead of
artificial "regulators" node in Exynos4210 Origen and Exynos4412 N710x.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
  • Loading branch information
Krzysztof Kozlowski committed Apr 29, 2018
1 parent e88d46c commit 8307c38
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
21 changes: 7 additions & 14 deletions arch/arm/boot/dts/exynos4210-origen.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,13 @@
stdout-path = &serial_2;
};

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

mmc_reg: regulator@0 {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "VMEM_VDD_2.8V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
mmc_reg: voltage-regulator {
compatible = "regulator-fixed";
regulator-name = "VMEM_VDD_2.8V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

gpio_keys {
Expand Down
16 changes: 7 additions & 9 deletions arch/arm/boot/dts/exynos4412-n710x.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@

/* bootargs are passed in by bootloader */

regulators {
cam_vdda_reg: voltage-regulator-9 {
compatible = "regulator-fixed";
regulator-name = "CAM_SENSOR_CORE_1.2V";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
cam_vdda_reg: voltage-regulator-9 {
compatible = "regulator-fixed";
regulator-name = "CAM_SENSOR_CORE_1.2V";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};

Expand Down

0 comments on commit 8307c38

Please sign in to comment.