diff mbox

[1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages

Message ID 1513697066-27732-2-git-send-email-d-gerlach@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dave Gerlach Dec. 19, 2017, 3:24 p.m. UTC
Add a vbb-supply phandle to the cpus node and also add an additional
triplet of voltages for each OPP in the operating-points-v2 table to
make use of the multi regulator support in the OPP core and provide the
vbb regulator for use by the ti-opp-supply driver.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Comments

Tony Lindgren Dec. 21, 2017, 3:15 p.m. UTC | #1
* Dave Gerlach <d-gerlach@ti.com> [171219 15:27]:
> Add a vbb-supply phandle to the cpus node and also add an additional
> triplet of voltages for each OPP in the operating-points-v2 table to
> make use of the multi regulator support in the OPP core and provide the
> vbb regulator for use by the ti-opp-supply driver.

Sounds like these depend on the ti-opp-supply being available first?

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Dave Gerlach Dec. 21, 2017, 3:40 p.m. UTC | #2
On 12/21/2017 09:15 AM, Tony Lindgren wrote:
> * Dave Gerlach <d-gerlach@ti.com> [171219 15:27]:
>> Add a vbb-supply phandle to the cpus node and also add an additional
>> triplet of voltages for each OPP in the operating-points-v2 table to
>> make use of the multi regulator support in the OPP core and provide the
>> vbb regulator for use by the ti-opp-supply driver.
> 
> Sounds like these depend on the ti-opp-supply being available first?
> 

Yes that would be best, but the ti-opp-supply patches are already in linux-next.

Regards,
Dave

> Regards,
> 
> Tony
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren Dec. 21, 2017, 3:51 p.m. UTC | #3
* Dave Gerlach <d-gerlach@ti.com> [171221 15:42]:
> On 12/21/2017 09:15 AM, Tony Lindgren wrote:
> > * Dave Gerlach <d-gerlach@ti.com> [171219 15:27]:
> >> Add a vbb-supply phandle to the cpus node and also add an additional
> >> triplet of voltages for each OPP in the operating-points-v2 table to
> >> make use of the multi regulator support in the OPP core and provide the
> >> vbb regulator for use by the ti-opp-supply driver.
> > 
> > Sounds like these depend on the ti-opp-supply being available first?
> > 
> 
> Yes that would be best, but the ti-opp-supply patches are already in linux-next.

OK applying into omap-for-v4.16/dt then thanks.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index ac9216293b7c..d9f60144793b 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -92,6 +92,8 @@ 
 			cooling-min-level = <0>;
 			cooling-max-level = <2>;
 			#cooling-cells = <2>; /* min followed by max */
+
+			vbb-supply = <&abb_mpu>;
 		};
 	};
 
@@ -101,14 +103,17 @@ 
 
 		opp_nom-1000000000 {
 			opp-hz = /bits/ 64 <1000000000>;
-			opp-microvolt = <1060000 850000 1150000>;
+			opp-microvolt = <1060000 850000 1150000>,
+					<1060000 850000 1150000>;
 			opp-supported-hw = <0xFF 0x01>;
 			opp-suspend;
 		};
 
 		opp_od-1176000000 {
 			opp-hz = /bits/ 64 <1176000000>;
-			opp-microvolt = <1160000 885000 1160000>;
+			opp-microvolt = <1160000 885000 1160000>,
+					<1160000 885000 1160000>;
+
 			opp-supported-hw = <0xFF 0x02>;
 		};
 	};