Re: [PATCH 1/2] ARM: Exynos5250: Enabling samsung-usbphy driver
CC: Doug Anderson. On Tue, Dec 18, 2012 at 9:09 PM, Vivek Gautam wrote: > Adding usbphy node for Exynos5250 along with the > necessary device data to be parsed. > > Signed-off-by: Vivek Gautam > --- > 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 = < 11>; /* preliminary */ > }; > > + phy_h0: usbdev_phyctrl@10040704 { > + compatible = "samsung,usbdev-phyctrl"; > + samsung,phyhandle-reg = <0x10040704>; > + }; > + > + phy_h1: usbhost_phyctrl@10040708 { > + compatible = "samsung,usbhost-phyctrl"; > + samsung,phyhandle-reg = <0x10040708>; > + }; > + > + phy_h2: usbhost_phycfg@10050230 { > + compatible = "samsung,usb-phycfg"; > + samsung,phyhandle-reg = <0x10050230>; > + }; > + > + usbphy@1213 { > + compatible = "samsung,exynos5250-usbphy"; > + reg = <0x1213 0x100>; > + samsung,usb-phyhandle = <_h0 _h1 _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_EHCI0x1258 > #define EXYNOS4_PA_OHCI0x1259 > #define EXYNOS4_PA_HSPHY 0x125B > +#define EXYNOS5_PA_HSPHY 0x1213 > #define EXYNOS4_PA_MFC 0x1340 > > #define EXYNOS4_PA_UART0x1380 > 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", 0x12D7, > "samsung-i2s.2", NULL), > + OF_DEV_AUXDATA("samsung,exynos5250-usbphy", EXYNOS5_PA_HSPHY, > + "s3c-usbphy", NULL), > {}, > }; > > -- > 1.7.6.5 > > ___ > devicetree-discuss mailing list > devicetree-disc...@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/devicetree-discuss -- Thanks & Regards Vivek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[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 --- 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 = < 11>; /* preliminary */ }; + phy_h0: usbdev_phyctrl@10040704 { + compatible = "samsung,usbdev-phyctrl"; + samsung,phyhandle-reg = <0x10040704>; + }; + + phy_h1: usbhost_phyctrl@10040708 { + compatible = "samsung,usbhost-phyctrl"; + samsung,phyhandle-reg = <0x10040708>; + }; + + phy_h2: usbhost_phycfg@10050230 { + compatible = "samsung,usb-phycfg"; + samsung,phyhandle-reg = <0x10050230>; + }; + + usbphy@1213 { + compatible = "samsung,exynos5250-usbphy"; + reg = <0x1213 0x100>; + samsung,usb-phyhandle = <_h0 _h1 _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_EHCI0x1258 #define EXYNOS4_PA_OHCI0x1259 #define EXYNOS4_PA_HSPHY 0x125B +#define EXYNOS5_PA_HSPHY 0x1213 #define EXYNOS4_PA_MFC 0x1340 #define EXYNOS4_PA_UART0x1380 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", 0x12D7, "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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[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.vi...@samsung.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@10040704 { + compatible = samsung,usbdev-phyctrl; + samsung,phyhandle-reg = 0x10040704; + }; + + phy_h1: usbhost_phyctrl@10040708 { + compatible = samsung,usbhost-phyctrl; + samsung,phyhandle-reg = 0x10040708; + }; + + phy_h2: usbhost_phycfg@10050230 { + compatible = samsung,usb-phycfg; + samsung,phyhandle-reg = 0x10050230; + }; + + usbphy@1213 { + compatible = samsung,exynos5250-usbphy; + reg = 0x1213 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_EHCI0x1258 #define EXYNOS4_PA_OHCI0x1259 #define EXYNOS4_PA_HSPHY 0x125B +#define EXYNOS5_PA_HSPHY 0x1213 #define EXYNOS4_PA_MFC 0x1340 #define EXYNOS4_PA_UART0x1380 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, 0x12D7, 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/2] ARM: Exynos5250: Enabling samsung-usbphy driver
CC: Doug Anderson. On Tue, Dec 18, 2012 at 9:09 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Adding usbphy node for Exynos5250 along with the necessary device data to be parsed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.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@10040704 { + compatible = samsung,usbdev-phyctrl; + samsung,phyhandle-reg = 0x10040704; + }; + + phy_h1: usbhost_phyctrl@10040708 { + compatible = samsung,usbhost-phyctrl; + samsung,phyhandle-reg = 0x10040708; + }; + + phy_h2: usbhost_phycfg@10050230 { + compatible = samsung,usb-phycfg; + samsung,phyhandle-reg = 0x10050230; + }; + + usbphy@1213 { + compatible = samsung,exynos5250-usbphy; + reg = 0x1213 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_EHCI0x1258 #define EXYNOS4_PA_OHCI0x1259 #define EXYNOS4_PA_HSPHY 0x125B +#define EXYNOS5_PA_HSPHY 0x1213 #define EXYNOS4_PA_MFC 0x1340 #define EXYNOS4_PA_UART0x1380 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, 0x12D7, samsung-i2s.2, NULL), + OF_DEV_AUXDATA(samsung,exynos5250-usbphy, EXYNOS5_PA_HSPHY, + s3c-usbphy, NULL), {}, }; -- 1.7.6.5 ___ devicetree-discuss mailing list devicetree-disc...@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss -- Thanks Regards Vivek -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/