diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-07-17 22:48:31 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-09-18 20:34:55 +0200 |
commit | 3b88f74bbe9134465a84234e1e7400af585f8c2b (patch) | |
tree | 6c8767c77eb1f0ba2647ac3a4ce76826953f3301 /target/linux/sunxi/patches-4.9/0017-arm64-dts-enable-the-MUSB-controller-of-Pine64-in-ho.patch | |
parent | 34a422794ddab738408edc7e3980ccbc14f28af4 (diff) | |
download | upstream-3b88f74bbe9134465a84234e1e7400af585f8c2b.tar.gz upstream-3b88f74bbe9134465a84234e1e7400af585f8c2b.tar.bz2 upstream-3b88f74bbe9134465a84234e1e7400af585f8c2b.zip |
sunxi: Backport patches from kernel 4.11 for A64
This backports some more patches from kernel 4.11 adding more devices
to the device tree of the A64 SoC.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/sunxi/patches-4.9/0017-arm64-dts-enable-the-MUSB-controller-of-Pine64-in-ho.patch')
-rw-r--r-- | target/linux/sunxi/patches-4.9/0017-arm64-dts-enable-the-MUSB-controller-of-Pine64-in-ho.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-4.9/0017-arm64-dts-enable-the-MUSB-controller-of-Pine64-in-ho.patch b/target/linux/sunxi/patches-4.9/0017-arm64-dts-enable-the-MUSB-controller-of-Pine64-in-ho.patch new file mode 100644 index 0000000000..3992ab6510 --- /dev/null +++ b/target/linux/sunxi/patches-4.9/0017-arm64-dts-enable-the-MUSB-controller-of-Pine64-in-ho.patch @@ -0,0 +1,32 @@ +From f57e8384c5d2417fd8707c577d8e622fc1570b6c Mon Sep 17 00:00:00 2001 +From: Icenowy Zheng <icenowy@aosc.xyz> +Date: Wed, 23 Nov 2016 00:59:02 +0800 +Subject: arm64: dts: enable the MUSB controller of Pine64 in host-only mode + +A64 has a MUSB controller wired to the USB PHY 0, which is connected +to the upper USB Type-A port of Pine64. + +As the port is a Type-A female port, enable it in host-only mode in the +device tree, which makes devices with USB Type-A male port can work on +this port (which is originally designed by Pine64 team). + +Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> +Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> +--- + arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +@@ -81,6 +81,11 @@ + status = "okay"; + }; + ++&usb_otg { ++ dr_mode = "host"; ++ status = "okay"; ++}; ++ + &usbphy { + status = "okay"; + }; |