[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1355845182-14104-2-git-send-email-gautam.vivek@samsung.com>
Date: Tue, 18 Dec 2012 21:09:41 +0530
From: Vivek Gautam <gautam.vivek@...sung.com>
To: linux-samsung-soc@...r.kernel.org
Cc: linux-usb@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, kgene.kim@...sung.com, balbi@...com,
thomas.abraham@...aro.org, rob.herring@...xeda.com,
grant.likely@...retlab.ca, sylvester.nawrocki@...il.com,
p.paneri@...sung.com
Subject: [PATCH 1/2] ARM: Exynos5250: Enabling samsung-usbphy driver
Adding usbphy node for Exynos5250 along with the
necessary device data to be parsed.
Signed-off-by: Vivek Gautam <gautam.vivek@...sung.com>
---
arch/arm/boot/dts/exynos5250.dtsi | 22 ++++++++++++++++++++++
arch/arm/mach-exynos/include/mach/map.h | 1 +
arch/arm/mach-exynos/mach-exynos5-dt.c | 2 ++
3 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 581e57a..bbdb2c2 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -299,6 +299,28 @@
rx-dma-channel = <&pdma0 11>; /* preliminary */
};
+ phy_h0: usbdev_phyctrl@...40704 {
+ compatible = "samsung,usbdev-phyctrl";
+ samsung,phyhandle-reg = <0x10040704>;
+ };
+
+ phy_h1: usbhost_phyctrl@...40708 {
+ compatible = "samsung,usbhost-phyctrl";
+ samsung,phyhandle-reg = <0x10040708>;
+ };
+
+ phy_h2: usbhost_phycfg@...50230 {
+ compatible = "samsung,usb-phycfg";
+ samsung,phyhandle-reg = <0x10050230>;
+ };
+
+ usbphy@...30000 {
+ compatible = "samsung,exynos5250-usbphy";
+ reg = <0x12130000 0x100>;
+ samsung,usb-phyhandle = <&phy_h0 &phy_h1 &phy_h2>;
+ samsung,enable-mask = <1>;
+ };
+
amba {
#address-cells = <1>;
#size-cells = <1>;
diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h
index cbb2852..778348e 100644
--- a/arch/arm/mach-exynos/include/mach/map.h
+++ b/arch/arm/mach-exynos/include/mach/map.h
@@ -201,6 +201,7 @@
#define EXYNOS4_PA_EHCI 0x12580000
#define EXYNOS4_PA_OHCI 0x12590000
#define EXYNOS4_PA_HSPHY 0x125B0000
+#define EXYNOS5_PA_HSPHY 0x12130000
#define EXYNOS4_PA_MFC 0x13400000
#define EXYNOS4_PA_UART 0x13800000
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
index 462e5ac..24e7529 100644
--- a/arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
@@ -110,6 +110,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
"samsung-i2s.1", NULL),
OF_DEV_AUXDATA("samsung,samsung-i2s", 0x12D70000,
"samsung-i2s.2", NULL),
+ OF_DEV_AUXDATA("samsung,exynos5250-usbphy", EXYNOS5_PA_HSPHY,
+ "s3c-usbphy", NULL),
{},
};
--
1.7.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists