ARM: dts: sun8i: a83t: Add CPU regulator supplies for A83T boards
authorChen-Yu Tsai <wens@csie.org>
Wed, 27 Jun 2018 02:27:09 +0000 (10:27 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 28 Jun 2018 09:01:02 +0000 (11:01 +0200)
The OPPs for the A83T CPU cores were added in v4.17 in commit 2db639d8c166
("ARM: dts: sun8i: a83t: add stable OPP tables and CPUfreq"), but board
level regulator supplies for the CPU clusters were only added for the
TBS-A711 tablet. This means the other A83T boards do not benefit from
voltage scaling, or worse, if the implementation does not scale the
frequency when the voltage is fixed, no benefit at all.

Add board level CPU cluster power supplies to all the A83T development
boards, so they can have proper dynamic CPU voltage and frequency scaling.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts

index 36ecebaff3c0427610526ebf8441b933cd470b4e..1c012a4def16da475e07c09ace00dd26e796c81c 100644 (file)
        };
 };
 
+&cpu0 {
+       cpu-supply = <&reg_dcdc2>;
+};
+
+&cpu100 {
+       cpu-supply = <&reg_dcdc3>;
+};
+
 &ehci0 {
        status = "okay";
 };
index 3b579d7567c80caa9b84036ab315c46aaee43945..c7ce4158d6c8bccc3eb1b5322d8fe18a2d3aa34c 100644 (file)
        };
 };
 
+&cpu0 {
+       cpu-supply = <&reg_dcdc2>;
+};
+
+&cpu100 {
+       cpu-supply = <&reg_dcdc3>;
+};
+
 &de {
        status = "okay";
 };
index 88decb0747ac3ca6f5ead59a885a2929a54cde67..e5f0645e53a7b3173b2dcf29cbdcd368ee49cd24 100644 (file)
        };
 };
 
+&cpu0 {
+       cpu-supply = <&reg_dcdc2>;
+};
+
+&cpu100 {
+       cpu-supply = <&reg_dcdc3>;
+};
+
 &ehci0 {
        /* GL830 USB-to-SATA bridge here */
        status = "okay";