Skip to contentSkip to conversation

(unknown)

PATCH [email protected] 1 participant 1 message Nov 16, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw
Quoted 1 line

From a65db71af962d8e135ca04d245c05f9e6622f3eb Mon Sep 17 00:00:00 2001

Message-Id: <a65db71af962d8e135ca04d245c05f9e6622f3eb.1416158605.git.juergen@kreuzholzen.de>
In-Reply-To: <[email protected]>
References: <[email protected]>
From: Juergen Borleis <[email protected]>
Date: Sun, 9 Nov 2014 19:59:46 +0100
Subject: [PATCH 7/8] ARM/DTS/S3C64XX: add OHCI support
To: [email protected]
Cc: [email protected]

With this entry there is no more need to enable the S3C64xx SoC specific OHCI adaption (USB_OHCI_HCD_S3C2410). Just enable the generic platform device support (USB_OHCI_HCD_PLATFORM=Y) and you are done.

---
 arch/arm/boot/dts/s3c64xx.dtsi | 15 +++++++++++++++
 drivers/usb/host/Kconfig       |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)
arch/arm/boot/dts/s3c64xx.dtsi +15 -0
index 4ee518c..465a147 100644
@@ -60,6 +60,21 @@
 			#interrupt-cells = <1>;
 		};
 
+		usbhost: usb-host@74300000 {
+			compatible = "samsung,s3c6400-ohci", "generic-ohci";
+			/* note:
+			 * - port 1 can be routed via OTG phy (not supported)
+			 * - port 2 will be routed via USB 1.1 transceiver
+			 */
+			reg = <0x74300000 0x100000>;
+			interrupts-extended = <&vic1 15>;
+			clock-names = "usb-host", "usb-s-host";
+			clocks = <&clocks HCLK_UHOST>, <&clocks SCLK_UHOST>;
+			phy-names = "usb";
+			phys = <&usbphy 1>;
+			status = "disabled";
+		};
+
 		usbphy: otgphy@ec100000 {
 			compatible = "samsung,s3c6400-usb2-phy";
 			reg = <0x7c100000 0x100000>;
drivers/usb/host/Kconfig +1 -1
index a3ca137..2864d39 100644
@@ -427,7 +427,7 @@ config USB_OHCI_HCD_STI
 
 config USB_OHCI_HCD_S3C2410
         tristate "OHCI support for Samsung S3C24xx/S3C64xx SoC series"
-        depends on USB_OHCI_HCD && (ARCH_S3C24XX || ARCH_S3C64XX)
+        depends on USB_OHCI_HCD && (ARCH_S3C24XX || (ARCH_S3C64XX && !OF))
         default y
         ---help---
           Enables support for the on-chip OHCI controller on
Signature · 1 line
1.8.1