2020-03-26 16:11:49

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 0/2] arm64: dts: meson-g12: usb DT fixes

Misc USB DT fixes for G12A.

Neil Armstrong (2):
arm64: dts: meson-g12b-ugoos-am6: fix usb vbus-supply
arm64: dts: meson-g12-common: fix dwc2 clock names

arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 +-
arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--
2.22.0


2020-03-26 16:12:00

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: meson-g12-common: fix dwc2 clock names

Use the correct dwc2 clock name.

Fixes: 9baf7d6be730 ("arm64: dts: meson: g12a: Add G12A USB nodes")
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
index 0882ea215b88..c0aef7d69117 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
@@ -2319,7 +2319,7 @@
reg = <0x0 0xff400000 0x0 0x40000>;
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc CLKID_USB1_DDR_BRIDGE>;
- clock-names = "ddr";
+ clock-names = "otg";
phys = <&usb2_phy1>;
phy-names = "usb2-phy";
dr_mode = "peripheral";
--
2.22.0

2020-03-26 16:12:50

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: meson-g12b-ugoos-am6: fix usb vbus-supply

The USB supply used the wrong property, fixing:
meson-g12b-ugoos-am6.dt.yaml: usb@ffe09000: 'vbus-regulator' does not match any of the regexes: '^usb@[0-9a-f]+$', 'pinctrl-[0-9]+'

Fixes: 2cd2310fca4c ("arm64: dts: meson-g12b-ugoos-am6: add initial device-tree")
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts
index 325e448eb09c..06c5430eb92d 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts
@@ -545,7 +545,7 @@
&usb {
status = "okay";
dr_mode = "host";
- vbus-regulator = <&usb_pwr_en>;
+ vbus-supply = <&usb_pwr_en>;
};

&usb2_phy0 {
--
2.22.0

2020-03-26 22:44:12

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 0/2] arm64: dts: meson-g12: usb DT fixes

On Thu, Mar 26, 2020 at 5:09 PM Neil Armstrong <[email protected]> wrote:
>
> Misc USB DT fixes for G12A.
>
> Neil Armstrong (2):
> arm64: dts: meson-g12b-ugoos-am6: fix usb vbus-supply
> arm64: dts: meson-g12-common: fix dwc2 clock names
for both patches:
Reviewed-by: Martin Blumenstingl <[email protected]>

2020-04-29 18:27:02

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH 0/2] arm64: dts: meson-g12: usb DT fixes

Martin Blumenstingl <[email protected]> writes:

> On Thu, Mar 26, 2020 at 5:09 PM Neil Armstrong <[email protected]> wrote:
>>
>> Misc USB DT fixes for G12A.
>>
>> Neil Armstrong (2):
>> arm64: dts: meson-g12b-ugoos-am6: fix usb vbus-supply
>> arm64: dts: meson-g12-common: fix dwc2 clock names
> for both patches:
> Reviewed-by: Martin Blumenstingl <[email protected]>

Queued as fixes for v5.7-rc,

Thanks,

Kevin