* [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz
@ 2017-12-19 15:24 Dave Gerlach
2017-12-19 15:24 ` [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages Dave Gerlach
` (7 more replies)
0 siblings, 8 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
This series adds the additional regulators and ti-opp-supply nodes to enable
ABB regulator scaling and AVS Class0 for dra7 and am57 platforms. In addition
to this the 1.5 GHz OPP is enabled for any platforms in the dra7 and am57
family that support it based on the detection done by the ti-cpufreq driver.
Regards,
Dave
Dave Gerlach (8):
ARM: dts: dra7: Add vbb-supply to cpu and additional voltages
ARM: dts: dra7: Add MPU OPP supply node
ARM: dts: dra7: Enable 1.5 GHz operation for the CPU
ARM: dts: am57xx-beagle-x15-common: Add cpu0 vdd supply
ARM: dts: dra7-evm: Add cpu0 vdd supply
ARM: dts: dra72-evm-tps65917: Add cpu0 vdd supply
ARM: dts: am571x-idk: Add cpu0 vdd supply
ARM: dts: am572x-idk: Add cpu0 vdd supply
arch/arm/boot/dts/am571x-idk.dts | 4 ++++
arch/arm/boot/dts/am572x-idk.dts | 4 ++++
arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi | 2 +-
arch/arm/boot/dts/dra7-evm.dts | 2 +-
arch/arm/boot/dts/dra7.dtsi | 29 +++++++++++++++++++++++--
arch/arm/boot/dts/dra72-evm-tps65917.dtsi | 4 ++++
6 files changed, 41 insertions(+), 4 deletions(-)
--
2.15.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
2017-12-21 15:15 ` Tony Lindgren
2017-12-19 15:24 ` [PATCH 2/8] ARM: dts: dra7: Add MPU OPP supply node Dave Gerlach
` (6 subsequent siblings)
7 siblings, 1 reply; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
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(-)
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>;
};
};
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/8] ARM: dts: dra7: Add MPU OPP supply node
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
2017-12-19 15:24 ` [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
2017-12-19 15:24 ` [PATCH 3/8] ARM: dts: dra7: Enable 1.5 GHz operation for the CPU Dave Gerlach
` (5 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
Add the OPP supply node for the MPU voltage rail to provide the
information needed by the ti-opp-supply driver to enable AVS Class 0.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d9f60144793b..33004e7f1ee9 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -2057,6 +2057,19 @@
clocks = <&l3_iclk_div>;
clock-names = "fck";
};
+
+ opp_supply_mpu: opp-supply at 4a003b20 {
+ compatible = "ti,omap5-opp-supply";
+ reg = <0x4a003b20 0xc>;
+ ti,efuse-settings = <
+ /* uV offset */
+ 1060000 0x0
+ 1160000 0x4
+ 1210000 0x8
+ >;
+ ti,absolute-max-voltage-uv = <1500000>;
+ };
+
};
thermal_zones: thermal-zones {
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 3/8] ARM: dts: dra7: Enable 1.5 GHz operation for the CPU
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
2017-12-19 15:24 ` [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages Dave Gerlach
2017-12-19 15:24 ` [PATCH 2/8] ARM: dts: dra7: Add MPU OPP supply node Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
2017-12-19 15:24 ` [PATCH 4/8] ARM: dts: am57xx-beagle-x15-common: Add cpu0 vdd supply Dave Gerlach
` (4 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
After ti-opp-supply driver is in place to provide AVS Class0 and abb
regulator scaling support let's enable 1.5GHz for the cpu.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 33004e7f1ee9..eb68da74f777 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -116,6 +116,13 @@
opp-supported-hw = <0xFF 0x02>;
};
+
+ opp_high at 1500000000 {
+ opp-hz = /bits/ 64 <1500000000>;
+ opp-microvolt = <1210000 950000 1250000>,
+ <1210000 950000 1250000>;
+ opp-supported-hw = <0xFF 0x04>;
+ };
};
/*
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/8] ARM: dts: am57xx-beagle-x15-common: Add cpu0 vdd supply
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
` (2 preceding siblings ...)
2017-12-19 15:24 ` [PATCH 3/8] ARM: dts: dra7: Enable 1.5 GHz operation for the CPU Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
2017-12-19 15:24 ` [PATCH 5/8] ARM: dts: dra7-evm: " Dave Gerlach
` (3 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
Add vdd-supply as smps12_reg for cpu0.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
index 49aeecd312b4..441c25677679 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
@@ -388,7 +388,7 @@
};
&cpu0 {
- cpu0-supply = <&smps12_reg>;
+ vdd-supply = <&smps12_reg>;
voltage-tolerance = <1>;
};
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 5/8] ARM: dts: dra7-evm: Add cpu0 vdd supply
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
` (3 preceding siblings ...)
2017-12-19 15:24 ` [PATCH 4/8] ARM: dts: am57xx-beagle-x15-common: Add cpu0 vdd supply Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
2017-12-19 15:24 ` [PATCH 6/8] ARM: dts: dra72-evm-tps65917: " Dave Gerlach
` (2 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
Add vdd-supply as smps123_reg for cpu0.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/dra7-evm.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index ef9c90daa74b..a7385c338ee9 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -361,7 +361,7 @@
};
&cpu0 {
- cpu0-supply = <&smps123_reg>;
+ vdd-supply = <&smps123_reg>;
};
&omap_dwc3_2 {
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 6/8] ARM: dts: dra72-evm-tps65917: Add cpu0 vdd supply
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
` (4 preceding siblings ...)
2017-12-19 15:24 ` [PATCH 5/8] ARM: dts: dra7-evm: " Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
2017-12-19 15:24 ` [PATCH 7/8] ARM: dts: am571x-idk: " Dave Gerlach
2017-12-19 15:24 ` [PATCH 8/8] ARM: dts: am572x-idk: " Dave Gerlach
7 siblings, 0 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
Add vdd-supply as smps12_reg for cpu0.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/dra72-evm-tps65917.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/dra72-evm-tps65917.dtsi b/arch/arm/boot/dts/dra72-evm-tps65917.dtsi
index 57bfe5caf5e4..47bb90f41f3f 100644
--- a/arch/arm/boot/dts/dra72-evm-tps65917.dtsi
+++ b/arch/arm/boot/dts/dra72-evm-tps65917.dtsi
@@ -148,3 +148,7 @@
&mmc1 {
vqmmc-supply = <&ldo1_reg>;
};
+
+&cpu0 {
+ vdd-supply = <&smps1_reg>;
+};
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 7/8] ARM: dts: am571x-idk: Add cpu0 vdd supply
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
` (5 preceding siblings ...)
2017-12-19 15:24 ` [PATCH 6/8] ARM: dts: dra72-evm-tps65917: " Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
2017-12-19 15:24 ` [PATCH 8/8] ARM: dts: am572x-idk: " Dave Gerlach
7 siblings, 0 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
Add vdd-supply as smps12_reg for cpu0.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/am571x-idk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts
index debf9464403e..6d3c83743156 100644
--- a/arch/arm/boot/dts/am571x-idk.dts
+++ b/arch/arm/boot/dts/am571x-idk.dts
@@ -117,3 +117,7 @@
pinctrl-1 = <&mmc2_pins_hs>;
pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
};
+
+&cpu0 {
+ vdd-supply = <&smps12_reg>;
+};
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 8/8] ARM: dts: am572x-idk: Add cpu0 vdd supply
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
` (6 preceding siblings ...)
2017-12-19 15:24 ` [PATCH 7/8] ARM: dts: am571x-idk: " Dave Gerlach
@ 2017-12-19 15:24 ` Dave Gerlach
7 siblings, 0 replies; 12+ messages in thread
From: Dave Gerlach @ 2017-12-19 15:24 UTC (permalink / raw)
To: linux-arm-kernel
Add vdd-supply as smps12_reg for cpu0.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/am572x-idk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts
index a578fe97ba3b..d0daf48346ab 100644
--- a/arch/arm/boot/dts/am572x-idk.dts
+++ b/arch/arm/boot/dts/am572x-idk.dts
@@ -127,3 +127,7 @@
status = "okay";
};
};
+
+&cpu0 {
+ vdd-supply = <&smps12_reg>;
+};
--
2.15.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages
2017-12-19 15:24 ` [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages Dave Gerlach
@ 2017-12-21 15:15 ` Tony Lindgren
2017-12-21 15:40 ` Dave Gerlach
0 siblings, 1 reply; 12+ messages in thread
From: Tony Lindgren @ 2017-12-21 15:15 UTC (permalink / raw)
To: linux-arm-kernel
* 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages
2017-12-21 15:15 ` Tony Lindgren
@ 2017-12-21 15:40 ` Dave Gerlach
2017-12-21 15:51 ` Tony Lindgren
0 siblings, 1 reply; 12+ messages in thread
From: Dave Gerlach @ 2017-12-21 15:40 UTC (permalink / raw)
To: linux-arm-kernel
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
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages
2017-12-21 15:40 ` Dave Gerlach
@ 2017-12-21 15:51 ` Tony Lindgren
0 siblings, 0 replies; 12+ messages in thread
From: Tony Lindgren @ 2017-12-21 15:51 UTC (permalink / raw)
To: linux-arm-kernel
* 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
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2017-12-21 15:51 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-19 15:24 [PATCH 0/8] ARM: dts: dra7: Add ti-opp-supply nodes and enable 1.5 GHz Dave Gerlach
2017-12-19 15:24 ` [PATCH 1/8] ARM: dts: dra7: Add vbb-supply to cpu and additional voltages Dave Gerlach
2017-12-21 15:15 ` Tony Lindgren
2017-12-21 15:40 ` Dave Gerlach
2017-12-21 15:51 ` Tony Lindgren
2017-12-19 15:24 ` [PATCH 2/8] ARM: dts: dra7: Add MPU OPP supply node Dave Gerlach
2017-12-19 15:24 ` [PATCH 3/8] ARM: dts: dra7: Enable 1.5 GHz operation for the CPU Dave Gerlach
2017-12-19 15:24 ` [PATCH 4/8] ARM: dts: am57xx-beagle-x15-common: Add cpu0 vdd supply Dave Gerlach
2017-12-19 15:24 ` [PATCH 5/8] ARM: dts: dra7-evm: " Dave Gerlach
2017-12-19 15:24 ` [PATCH 6/8] ARM: dts: dra72-evm-tps65917: " Dave Gerlach
2017-12-19 15:24 ` [PATCH 7/8] ARM: dts: am571x-idk: " Dave Gerlach
2017-12-19 15:24 ` [PATCH 8/8] ARM: dts: am572x-idk: " Dave Gerlach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).