summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-16 09:59:03 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-17 09:37:13 +0100
commit0e37f94fbe1bd189f35b3e1718549ec2f4a710ee (patch)
treef958679ece65b70aa5a3498ba83e3f9301b251ac /arch
parent719995bfb8c289bc434c7413f341e4fd1cce6cd7 (diff)
downloadbarebox-0e37f94fbe1bd189f35b3e1718549ec2f4a710ee.tar.gz
barebox-0e37f94fbe1bd189f35b3e1718549ec2f4a710ee.tar.xz
phy: stm32: sync with upstream
This imports following Linux patches by Amelie Delaunay <amelie.delaunay@foss.st.com>: phy: stm32: manage 1v1 and 1v8 supplies at pll activation/deactivation phy: stm32: replace regulator_bulk* by multiple regulator_* phy: stm32: ensure pll is disabled before phys creation phy: stm32: ensure phy are no more active when removing the driver phy: stm32: rework PLL Lock detection ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on stm32mp151 This makes barebox compatible to the new device tree binding, reduces our differences to the upstream driver and removes the power_on, power_off callbacks which are now integrated into init/exit. The device tree override is necessary, because unlike with Linux, barebox regulator core doesn't descend into child nodes to enable their regulators, but that's a fix for another day. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/stm32mp151.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi
index b82227fa20..f1fd888fa1 100644
--- a/arch/arm/dts/stm32mp151.dtsi
+++ b/arch/arm/dts/stm32mp151.dtsi
@@ -66,3 +66,8 @@
&vrefbuf {
regulator-name = "vref";
};
+
+&usbphyc {
+ vdda1v1-supply = <&reg11>;
+ vdda1v8-supply = <&reg18>;
+};