* [PATCH 0/2] ARM: dts: Some am43x fixes
@ 2017-12-15 17:16 Dave Gerlach
2017-12-15 17:16 ` [PATCH 1/2] ARM: dts: am437x-idk-evm: Disable OPP50 for MPU Dave Gerlach
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Dave Gerlach @ 2017-12-15 17:16 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
This series has two fixes for am43x based platforms. First patch disables OPP50
on am437x-idk-evm which the board supply does not support. Second patch is for
am43x-epos-evm and adds dcdc2 regulator as the missing cpu0-supply which
enables CPUFreq on this platform.
Regards,
Dave
Dave Gerlach (2):
ARM: dts: am437x-idk-evm: Disable OPP50 for MPU
ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply
arch/arm/boot/dts/am437x-idk-evm.dts | 14 ++++++++++++++
arch/arm/boot/dts/am43x-epos-evm.dts | 4 ++++
2 files changed, 18 insertions(+)
--
2.15.1
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/2] ARM: dts: am437x-idk-evm: Disable OPP50 for MPU
2017-12-15 17:16 [PATCH 0/2] ARM: dts: Some am43x fixes Dave Gerlach
@ 2017-12-15 17:16 ` Dave Gerlach
2017-12-15 17:16 ` [PATCH 2/2] ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply Dave Gerlach
2017-12-21 14:58 ` [PATCH 0/2] ARM: dts: Some am43x fixes Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Dave Gerlach @ 2017-12-15 17:16 UTC (permalink / raw)
To: linux-arm-kernel
AM437x IDK has a TPS386000 supply voltage supervisor on the VDD_MPU rail
set to trigger undervoltage condition at 0.96V. Because of this, OPP50,
which is normally configured to 300MHz at 0.95V, must be disabled to
avoid triggering the undervoltage condition. Also mark OPP100 as the
suspend-opp as it is now our lowest OPP.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/am437x-idk-evm.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/am437x-idk-evm.dts b/arch/arm/boot/dts/am437x-idk-evm.dts
index 5e364473067f..20132477a871 100644
--- a/arch/arm/boot/dts/am437x-idk-evm.dts
+++ b/arch/arm/boot/dts/am437x-idk-evm.dts
@@ -519,3 +519,17 @@
&cpu {
cpu0-supply = <&tps>;
};
+
+&cpu0_opp_table {
+ /*
+ * Supply voltage supervisor on board will not allow opp50 so
+ * disable it and set opp100 as suspend OPP.
+ */
+ opp50 at 300000000 {
+ status = "disabled";
+ };
+
+ opp100 at 600000000 {
+ opp-suspend;
+ };
+};
--
2.15.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply
2017-12-15 17:16 [PATCH 0/2] ARM: dts: Some am43x fixes Dave Gerlach
2017-12-15 17:16 ` [PATCH 1/2] ARM: dts: am437x-idk-evm: Disable OPP50 for MPU Dave Gerlach
@ 2017-12-15 17:16 ` Dave Gerlach
2017-12-21 14:58 ` [PATCH 0/2] ARM: dts: Some am43x fixes Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Dave Gerlach @ 2017-12-15 17:16 UTC (permalink / raw)
To: linux-arm-kernel
Hook dcdc2 as the cpu0-supply.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/am43x-epos-evm.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index a04d79ec212a..1c79c1f8ac07 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -989,3 +989,7 @@
assigned-clocks = <&mux_synctimer32k_ck>;
assigned-clock-parents = <&clkdiv32k_ick>;
};
+
+&cpu {
+ cpu0-supply = <&dcdc2>;
+};
--
2.15.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 0/2] ARM: dts: Some am43x fixes
2017-12-15 17:16 [PATCH 0/2] ARM: dts: Some am43x fixes Dave Gerlach
2017-12-15 17:16 ` [PATCH 1/2] ARM: dts: am437x-idk-evm: Disable OPP50 for MPU Dave Gerlach
2017-12-15 17:16 ` [PATCH 2/2] ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply Dave Gerlach
@ 2017-12-21 14:58 ` Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2017-12-21 14:58 UTC (permalink / raw)
To: linux-arm-kernel
* Dave Gerlach <d-gerlach@ti.com> [171215 09:19]:
> Hi,
> This series has two fixes for am43x based platforms. First patch disables OPP50
> on am437x-idk-evm which the board supply does not support. Second patch is for
> am43x-epos-evm and adds dcdc2 regulator as the missing cpu0-supply which
> enables CPUFreq on this platform.
Applying both into omap-for-v4.16/dt thanks.
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-21 14:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-15 17:16 [PATCH 0/2] ARM: dts: Some am43x fixes Dave Gerlach
2017-12-15 17:16 ` [PATCH 1/2] ARM: dts: am437x-idk-evm: Disable OPP50 for MPU Dave Gerlach
2017-12-15 17:16 ` [PATCH 2/2] ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply Dave Gerlach
2017-12-21 14:58 ` [PATCH 0/2] ARM: dts: Some am43x fixes Tony Lindgren
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).