]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM64: dts: meson-gxbb: add the USB reset also to the second USB PHY
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 12 Nov 2016 13:13:05 +0000 (14:13 +0100)
committerKevin Hilman <khilman@baylibre.com>
Wed, 16 Nov 2016 21:34:04 +0000 (13:34 -0800)
When the USB PHY driver was introduced the reset framework did not
have support for triggering a reset pulse for shared resets. On GXBB
however there is only one reset line for both PHYs (meaning we have a
shared reset line). With the latest changes to the reset framework and
the corresponding updates to the phy-meson8b-usb2 driver we can now pass
the reset to the second PHY as well.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi

index 160664fd8d632dc9d9e8eeccc95185a344a98663..ac5ad3bf1bd6551158a9104994a3b9fb8346edb6 100644 (file)
@@ -87,6 +87,7 @@
                        compatible = "amlogic,meson-gxbb-usb2-phy";
                        #phy-cells = <0>;
                        reg = <0x0 0xc0000020 0x0 0x20>;
+                       resets = <&reset RESET_USB_OTG>;
                        clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1>;
                        clock-names = "usb_general", "usb";
                        status = "disabled";