All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: stm32: USBPHYC updates on stm32mp15
@ 2021-01-14 12:13 ` Amelie Delaunay
  0 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel, Amelie Delaunay

This series updates usbphyc parent and child nodes to follow latest DT
bindings.

Amelie Delaunay (4):
  ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on
    stm32mp151
  ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on
    stm32mp157c-ed1
  ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on
    stm32mp15xx-dkx
  ARM: dts: stm32: add #clock-cells property to usbphyc node on
    stm32mp151

 arch/arm/boot/dts/stm32mp151.dtsi      | 3 +++
 arch/arm/boot/dts/stm32mp157c-ed1.dts  | 4 ----
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ----
 3 files changed, 3 insertions(+), 8 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 0/4] ARM: stm32: USBPHYC updates on stm32mp15
@ 2021-01-14 12:13 ` Amelie Delaunay
  0 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: Amelie Delaunay, devicetree, linux-stm32, linux-arm-kernel, linux-kernel

This series updates usbphyc parent and child nodes to follow latest DT
bindings.

Amelie Delaunay (4):
  ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on
    stm32mp151
  ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on
    stm32mp157c-ed1
  ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on
    stm32mp15xx-dkx
  ARM: dts: stm32: add #clock-cells property to usbphyc node on
    stm32mp151

 arch/arm/boot/dts/stm32mp151.dtsi      | 3 +++
 arch/arm/boot/dts/stm32mp157c-ed1.dts  | 4 ----
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ----
 3 files changed, 3 insertions(+), 8 deletions(-)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/4] ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on stm32mp151
  2021-01-14 12:13 ` Amelie Delaunay
@ 2021-01-14 12:13   ` Amelie Delaunay
  -1 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel, Amelie Delaunay

vdda1v1 and vdda1v8 supplies are required by USB PLL. Add them in usbphyc
node.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp151.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 3c75abacb374..07cb927ba06d 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1486,6 +1486,8 @@
 			reg = <0x5a006000 0x1000>;
 			clocks = <&rcc USBPHY_K>;
 			resets = <&rcc USBPHY_R>;
+			vdda1v1-supply = <&reg11>;
+			vdda1v8-supply = <&reg18>;
 			status = "disabled";
 
 			usbphyc_port0: usb-phy@0 {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 1/4] ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on stm32mp151
@ 2021-01-14 12:13   ` Amelie Delaunay
  0 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: Amelie Delaunay, devicetree, linux-stm32, linux-arm-kernel, linux-kernel

vdda1v1 and vdda1v8 supplies are required by USB PLL. Add them in usbphyc
node.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp151.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 3c75abacb374..07cb927ba06d 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1486,6 +1486,8 @@
 			reg = <0x5a006000 0x1000>;
 			clocks = <&rcc USBPHY_K>;
 			resets = <&rcc USBPHY_R>;
+			vdda1v1-supply = <&reg11>;
+			vdda1v8-supply = <&reg18>;
 			status = "disabled";
 
 			usbphyc_port0: usb-phy@0 {
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/4] ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on stm32mp157c-ed1
  2021-01-14 12:13 ` Amelie Delaunay
@ 2021-01-14 12:13   ` Amelie Delaunay
  -1 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel, Amelie Delaunay

vdda1v1 and vdda1v8 supplies are required by USB PLL, not by the PHYs.
Remove them from usbphyc child phy nodes now that they are managed in
usbphyc parent node at SoC level.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 81a7d5849db4..95b08876b2b3 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -393,12 +393,8 @@
 
 &usbphyc_port0 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
 
 &usbphyc_port1 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/4] ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on stm32mp157c-ed1
@ 2021-01-14 12:13   ` Amelie Delaunay
  0 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: Amelie Delaunay, devicetree, linux-stm32, linux-arm-kernel, linux-kernel

vdda1v1 and vdda1v8 supplies are required by USB PLL, not by the PHYs.
Remove them from usbphyc child phy nodes now that they are managed in
usbphyc parent node at SoC level.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 81a7d5849db4..95b08876b2b3 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -393,12 +393,8 @@
 
 &usbphyc_port0 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
 
 &usbphyc_port1 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/4] ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on stm32mp15xx-dkx
  2021-01-14 12:13 ` Amelie Delaunay
@ 2021-01-14 12:13   ` Amelie Delaunay
  -1 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel, Amelie Delaunay

vdda1v1 and vdda1v8 supplies are required by USB PLL, not by the PHYs.
Remove them from usbphyc child phy nodes now that they are managed in
usbphyc parent node at SoC level.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index 89c0e1ddc387..59f18846cf5d 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -694,14 +694,10 @@
 
 &usbphyc_port0 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
 
 &usbphyc_port1 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
 
 &vrefbuf {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/4] ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on stm32mp15xx-dkx
@ 2021-01-14 12:13   ` Amelie Delaunay
  0 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: Amelie Delaunay, devicetree, linux-stm32, linux-arm-kernel, linux-kernel

vdda1v1 and vdda1v8 supplies are required by USB PLL, not by the PHYs.
Remove them from usbphyc child phy nodes now that they are managed in
usbphyc parent node at SoC level.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index 89c0e1ddc387..59f18846cf5d 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -694,14 +694,10 @@
 
 &usbphyc_port0 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
 
 &usbphyc_port1 {
 	phy-supply = <&vdd_usb>;
-	vdda1v1-supply = <&reg11>;
-	vdda1v8-supply = <&reg18>;
 };
 
 &vrefbuf {
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/4] ARM: dts: stm32: add #clock-cells property to usbphyc node on stm32mp151
  2021-01-14 12:13 ` Amelie Delaunay
@ 2021-01-14 12:13   ` Amelie Delaunay
  -1 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel, Amelie Delaunay

usbphyc is a 48Mhz clock provider: the clock can be used as clock source
for USB OTG. Add #clock-cells property to usbphyc node to reflect this
capability.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp151.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 07cb927ba06d..51acb2b04720 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1482,6 +1482,7 @@
 		usbphyc: usbphyc@5a006000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
+			#clock-cells = <0>;
 			compatible = "st,stm32mp1-usbphyc";
 			reg = <0x5a006000 0x1000>;
 			clocks = <&rcc USBPHY_K>;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/4] ARM: dts: stm32: add #clock-cells property to usbphyc node on stm32mp151
@ 2021-01-14 12:13   ` Amelie Delaunay
  0 siblings, 0 replies; 10+ messages in thread
From: Amelie Delaunay @ 2021-01-14 12:13 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: Amelie Delaunay, devicetree, linux-stm32, linux-arm-kernel, linux-kernel

usbphyc is a 48Mhz clock provider: the clock can be used as clock source
for USB OTG. Add #clock-cells property to usbphyc node to reflect this
capability.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm/boot/dts/stm32mp151.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 07cb927ba06d..51acb2b04720 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1482,6 +1482,7 @@
 		usbphyc: usbphyc@5a006000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
+			#clock-cells = <0>;
 			compatible = "st,stm32mp1-usbphyc";
 			reg = <0x5a006000 0x1000>;
 			clocks = <&rcc USBPHY_K>;
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-14 12:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 12:13 [PATCH 0/4] ARM: stm32: USBPHYC updates on stm32mp15 Amelie Delaunay
2021-01-14 12:13 ` Amelie Delaunay
2021-01-14 12:13 ` [PATCH 1/4] ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on stm32mp151 Amelie Delaunay
2021-01-14 12:13   ` Amelie Delaunay
2021-01-14 12:13 ` [PATCH 2/4] ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on stm32mp157c-ed1 Amelie Delaunay
2021-01-14 12:13   ` Amelie Delaunay
2021-01-14 12:13 ` [PATCH 3/4] ARM: dts: stm32: remove usbphyc ports vdda1v1-vdda1v8 on stm32mp15xx-dkx Amelie Delaunay
2021-01-14 12:13   ` Amelie Delaunay
2021-01-14 12:13 ` [PATCH 4/4] ARM: dts: stm32: add #clock-cells property to usbphyc node on stm32mp151 Amelie Delaunay
2021-01-14 12:13   ` Amelie Delaunay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.