[PATCH 4/4] arm64: dts: salvator-x: enable HSUSB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since related drivers doesn't support OTG framework yet, the renesas_usbhs
driver cannot detect VBUS in particular situations. And then a gadget
driver doesn't work correctly (even if a USB cable is connected to a USB
host, nothing happens).
However, we can avoid such a situation if we operate the followings:

 1) rmmod/unbind all gadget drivers
 2) rmmod/unbind the renesas_usbhs driver
  e.g. # echo e6590000.usb > /sys/bus/platform/drivers/renesas_usbhs/unbind
 3) connect the USB cable of CN9 to a USB host
 4) insmod/bind the renesas_usbhs driver
  e.g. # echo e6590000.usb > /sys/bus/platform/drivers/renesas_usbhs/bind
 5) insmod/bind a gadget driver

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 3367f9c..b2852e7 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -603,6 +603,10 @@
 	status = "okay";
 };
 
+&hsusb {
+	status = "okay";
+};
+
 &pcie_bus_clk {
 	clock-frequency = <100000000>;
 	status = "okay";
-- 
1.9.1




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux