* [PATCH V3 0/4] dts: Add usb2phy to Exynos 5250/5420
@ 2014-05-19 11:19 ` Vikas Sajjan
0 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-usb-u79uwXL29TY76Z2rM5mHXA
Cc: linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
k.debski-Sze3O3UU22JBDgjK7y7TUQ, kishon-l0cyMroinI0,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz,
gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ, Vikas Sajjan
Based on 'for-next' branch of Kgene's linux-samsung tree.
These patches are as per discussions on the driver side patches
which have already been acked. [1]
Changes from v2:
- Addressed kukjin's comments to update DT binding documentation for sysreg.
- removed the version for each patch. Made all patches version as same.
Changes from v1:
- Rebase on 'for-next' branch.
- Removed 'phy-names' property as per discuusion in the driver patches. [1]
V1 of this series was the next version for earlier patch-series:
[PATCH v7 0/2] dts: Add usb2phy to Exynos 5250 [2]
Changes from v7 series:
- Added patches to enable usb 2.0 support on exynos5420;
which include dt nodes for usb2phy as well as ehci and ohci
controllers.
Changes from v6:
- Splitted the patch into two:
adding syscon nodes to Exynos5250 and Exynos5420 in first;
and phy entry change in the second.
- Changed the name of phandle for usb2phy from 'usb2_phy_new'
to 'usb2_phy_gen' indicating generic phy.
- Using clock macros in dt entries.
[1] http://www.spinics.net/lists/linux-usb/msg106908.html
http://www.spinics.net/lists/linux-usb/msg106837.html
[2] http://www.spinics.net/lists/linux-usb/msg106427.html
Kamil Debski (1):
ARM: dts: Add usb2phy to Exynos 5250
Vivek Gautam (3):
ARM: dts: Add sysreg sytem controller node to exynos5250 and
exynos5420
ARM: dts: Add usb2phy support on exynos5420
ARM: dts: Add usb 2.0 support on exynos5420
.../devicetree/bindings/arm/samsung/sysreg.txt | 11 ++++-
arch/arm/boot/dts/exynos5250.dtsi | 27 ++++++++++++
arch/arm/boot/dts/exynos5420.dtsi | 45 ++++++++++++++++++++
3 files changed, 81 insertions(+), 2 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH V3 0/4] dts: Add usb2phy to Exynos 5250/5420
@ 2014-05-19 11:19 ` Vikas Sajjan
0 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel
Based on 'for-next' branch of Kgene's linux-samsung tree.
These patches are as per discussions on the driver side patches
which have already been acked. [1]
Changes from v2:
- Addressed kukjin's comments to update DT binding documentation for sysreg.
- removed the version for each patch. Made all patches version as same.
Changes from v1:
- Rebase on 'for-next' branch.
- Removed 'phy-names' property as per discuusion in the driver patches. [1]
V1 of this series was the next version for earlier patch-series:
[PATCH v7 0/2] dts: Add usb2phy to Exynos 5250 [2]
Changes from v7 series:
- Added patches to enable usb 2.0 support on exynos5420;
which include dt nodes for usb2phy as well as ehci and ohci
controllers.
Changes from v6:
- Splitted the patch into two:
adding syscon nodes to Exynos5250 and Exynos5420 in first;
and phy entry change in the second.
- Changed the name of phandle for usb2phy from 'usb2_phy_new'
to 'usb2_phy_gen' indicating generic phy.
- Using clock macros in dt entries.
[1] http://www.spinics.net/lists/linux-usb/msg106908.html
http://www.spinics.net/lists/linux-usb/msg106837.html
[2] http://www.spinics.net/lists/linux-usb/msg106427.html
Kamil Debski (1):
ARM: dts: Add usb2phy to Exynos 5250
Vivek Gautam (3):
ARM: dts: Add sysreg sytem controller node to exynos5250 and
exynos5420
ARM: dts: Add usb2phy support on exynos5420
ARM: dts: Add usb 2.0 support on exynos5420
.../devicetree/bindings/arm/samsung/sysreg.txt | 11 ++++-
arch/arm/boot/dts/exynos5250.dtsi | 27 ++++++++++++
arch/arm/boot/dts/exynos5420.dtsi | 45 ++++++++++++++++++++
3 files changed, 81 insertions(+), 2 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH V3 1/4] ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420
2014-05-19 11:19 ` Vikas Sajjan
@ 2014-05-19 11:19 ` Vikas Sajjan
-1 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel, linux-usb
Cc: linux-samsung-soc, devicetree, k.debski, kishon, robh+dt, stern,
gautam.vivek, Vikas Sajjan
From: Vivek Gautam <gautam.vivek@samsung.com>
This patch adds sysreg-syscon node to exynos5250 and exynos5420 device
tree, to access System Register's registers using syscon driver.
Signed-off-by: Kamil Debski <k.debski@samsung.com>
[gautam.vivek@samsung.com: Split this syreg-syscon dts entry from
dts: Add usb2phy to Exynos 5250 patch]
[gautam.vivek@samsung.com: added similar syscon entry for exynos5420]
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
[vikas.sajjan@samsung.com: updated the binding document]
Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
---
.../devicetree/bindings/arm/samsung/sysreg.txt | 11 +++++++++--
arch/arm/boot/dts/exynos5250.dtsi | 5 +++++
arch/arm/boot/dts/exynos5420.dtsi | 5 +++++
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt
index 0ab3251..4fced6e 100644
--- a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt
+++ b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt
@@ -1,8 +1,10 @@
SAMSUNG S5P/Exynos SoC series System Registers (SYSREG)
Properties:
- - compatible : should contain "samsung,<chip name>-sysreg", "syscon";
- For Exynos4 SoC series it should be "samsung,exynos4-sysreg", "syscon";
+ - compatible : should contain two values. First value must be one from following list:
+ - "samsung,exynos4-sysreg" - for Exynos4 based SoCs,
+ - "samsung,exynos5-sysreg" - for Exynos5 based SoCs.
+ second value must be always "syscon".
- reg : offset and length of the register set.
Example:
@@ -10,3 +12,8 @@ Example:
compatible = "samsung,exynos4-sysreg", "syscon";
reg = <0x10010000 0x400>;
};
+
+ syscon@10050000 {
+ compatible = "samsung,exynos5-sysreg", "syscon";
+ reg = <0x10050000 0x5000>;
+ };
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 68a3e6f..8e9b9a3 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -193,6 +193,11 @@
reg = <0x10040000 0x5000>;
};
+ sysreg_system_controller: syscon@10050000 {
+ compatible = "samsung,exynos5-sysreg", "syscon";
+ reg = <0x10050000 0x5000>;
+ };
+
watchdog@101D0000 {
compatible = "samsung,exynos5250-wdt";
reg = <0x101D0000 0x100>;
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 13a083e..f9b051b 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -725,6 +725,11 @@
reg = <0x10040000 0x5000>;
};
+ sysreg_system_controller: syscon@10050000 {
+ compatible = "samsung,exynos5-sysreg", "syscon";
+ reg = <0x10050000 0x5000>;
+ };
+
tmu_cpu0: tmu@10060000 {
compatible = "samsung,exynos5420-tmu";
reg = <0x10060000 0x100>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V3 1/4] ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420
@ 2014-05-19 11:19 ` Vikas Sajjan
0 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel
From: Vivek Gautam <gautam.vivek@samsung.com>
This patch adds sysreg-syscon node to exynos5250 and exynos5420 device
tree, to access System Register's registers using syscon driver.
Signed-off-by: Kamil Debski <k.debski@samsung.com>
[gautam.vivek at samsung.com: Split this syreg-syscon dts entry from
dts: Add usb2phy to Exynos 5250 patch]
[gautam.vivek at samsung.com: added similar syscon entry for exynos5420]
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
[vikas.sajjan at samsung.com: updated the binding document]
Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
---
.../devicetree/bindings/arm/samsung/sysreg.txt | 11 +++++++++--
arch/arm/boot/dts/exynos5250.dtsi | 5 +++++
arch/arm/boot/dts/exynos5420.dtsi | 5 +++++
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt
index 0ab3251..4fced6e 100644
--- a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt
+++ b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt
@@ -1,8 +1,10 @@
SAMSUNG S5P/Exynos SoC series System Registers (SYSREG)
Properties:
- - compatible : should contain "samsung,<chip name>-sysreg", "syscon";
- For Exynos4 SoC series it should be "samsung,exynos4-sysreg", "syscon";
+ - compatible : should contain two values. First value must be one from following list:
+ - "samsung,exynos4-sysreg" - for Exynos4 based SoCs,
+ - "samsung,exynos5-sysreg" - for Exynos5 based SoCs.
+ second value must be always "syscon".
- reg : offset and length of the register set.
Example:
@@ -10,3 +12,8 @@ Example:
compatible = "samsung,exynos4-sysreg", "syscon";
reg = <0x10010000 0x400>;
};
+
+ syscon at 10050000 {
+ compatible = "samsung,exynos5-sysreg", "syscon";
+ reg = <0x10050000 0x5000>;
+ };
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 68a3e6f..8e9b9a3 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -193,6 +193,11 @@
reg = <0x10040000 0x5000>;
};
+ sysreg_system_controller: syscon at 10050000 {
+ compatible = "samsung,exynos5-sysreg", "syscon";
+ reg = <0x10050000 0x5000>;
+ };
+
watchdog at 101D0000 {
compatible = "samsung,exynos5250-wdt";
reg = <0x101D0000 0x100>;
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 13a083e..f9b051b 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -725,6 +725,11 @@
reg = <0x10040000 0x5000>;
};
+ sysreg_system_controller: syscon at 10050000 {
+ compatible = "samsung,exynos5-sysreg", "syscon";
+ reg = <0x10050000 0x5000>;
+ };
+
tmu_cpu0: tmu at 10060000 {
compatible = "samsung,exynos5420-tmu";
reg = <0x10060000 0x100>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V3 2/4] ARM: dts: Add usb2phy to Exynos 5250
2014-05-19 11:19 ` Vikas Sajjan
@ 2014-05-19 11:19 ` Vikas Sajjan
-1 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-usb-u79uwXL29TY76Z2rM5mHXA
Cc: linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
k.debski-Sze3O3UU22JBDgjK7y7TUQ, kishon-l0cyMroinI0,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz,
gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ
From: Kamil Debski <k.debski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Add support to PHY of USB2 of the Exynos 5250 SoC.
Signed-off-by: Kamil Debski <k.debski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
[gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org: Split the usb phy entries from
syscon entries from earlier patch: dts: Add usb2phy to Exynos 5250]
[gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org: Added phy entry for OHCI also along with EHCI]
Signed-off-by: Vivek Gautam <gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
---
arch/arm/boot/dts/exynos5250.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 8e9b9a3..cb29642 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -577,6 +577,12 @@
clocks = <&clock CLK_USB2>;
clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ phys = <&usb2_phy_gen 1>;
+ };
};
usb@12120000 {
@@ -586,6 +592,12 @@
clocks = <&clock CLK_USB2>;
clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ phys = <&usb2_phy_gen 1>;
+ };
};
usb2_phy: usbphy@12130000 {
@@ -603,6 +615,16 @@
};
};
+ usb2_phy_gen: phy@12130000 {
+ compatible = "samsung,exynos5250-usb2-phy";
+ reg = <0x12130000 0x100>;
+ clocks = <&clock CLK_USB2>, <&clock CLK_FIN_PLL>;
+ clock-names = "phy", "ref";
+ #phy-cells = <1>;
+ samsung,sysreg-phandle = <&sysreg_system_controller>;
+ samsung,pmureg-phandle = <&pmu_system_controller>;
+ };
+
pwm: pwm@12dd0000 {
compatible = "samsung,exynos4210-pwm";
reg = <0x12dd0000 0x100>;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V3 2/4] ARM: dts: Add usb2phy to Exynos 5250
@ 2014-05-19 11:19 ` Vikas Sajjan
0 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel
From: Kamil Debski <k.debski@samsung.com>
Add support to PHY of USB2 of the Exynos 5250 SoC.
Signed-off-by: Kamil Debski <k.debski@samsung.com>
[gautam.vivek at samsung.com: Split the usb phy entries from
syscon entries from earlier patch: dts: Add usb2phy to Exynos 5250]
[gautam.vivek at samsung.com: Added phy entry for OHCI also along with EHCI]
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
arch/arm/boot/dts/exynos5250.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 8e9b9a3..cb29642 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -577,6 +577,12 @@
clocks = <&clock CLK_USB2>;
clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port at 0 {
+ reg = <0>;
+ phys = <&usb2_phy_gen 1>;
+ };
};
usb at 12120000 {
@@ -586,6 +592,12 @@
clocks = <&clock CLK_USB2>;
clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port at 0 {
+ reg = <0>;
+ phys = <&usb2_phy_gen 1>;
+ };
};
usb2_phy: usbphy at 12130000 {
@@ -603,6 +615,16 @@
};
};
+ usb2_phy_gen: phy at 12130000 {
+ compatible = "samsung,exynos5250-usb2-phy";
+ reg = <0x12130000 0x100>;
+ clocks = <&clock CLK_USB2>, <&clock CLK_FIN_PLL>;
+ clock-names = "phy", "ref";
+ #phy-cells = <1>;
+ samsung,sysreg-phandle = <&sysreg_system_controller>;
+ samsung,pmureg-phandle = <&pmu_system_controller>;
+ };
+
pwm: pwm at 12dd0000 {
compatible = "samsung,exynos4210-pwm";
reg = <0x12dd0000 0x100>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V3 3/4] ARM: dts: Add usb2phy support on exynos5420
2014-05-19 11:19 ` Vikas Sajjan
@ 2014-05-19 11:19 ` Vikas Sajjan
-1 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel, linux-usb
Cc: linux-samsung-soc, devicetree, k.debski, kishon, robh+dt, stern,
gautam.vivek
From: Vivek Gautam <gautam.vivek@samsung.com>
Add required device node for usb2phy to let enable USB 2.0
support.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
arch/arm/boot/dts/exynos5420.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index f9b051b..2eb00cb 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -838,4 +838,14 @@
samsung,pmu-syscon = <&pmu_system_controller>;
#phy-cells = <1>;
};
+
+ usb2_phy: phy@12130000 {
+ compatible = "samsung,exynos5250-usb2-phy";
+ reg = <0x12130000 0x100>;
+ clocks = <&clock CLK_USBH20>, <&clock CLK_SCLK_USBPHY300>;
+ clock-names = "phy", "ref";
+ #phy-cells = <1>;
+ samsung,sysreg-phandle = <&sysreg_system_controller>;
+ samsung,pmureg-phandle = <&pmu_system_controller>;
+ };
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V3 3/4] ARM: dts: Add usb2phy support on exynos5420
@ 2014-05-19 11:19 ` Vikas Sajjan
0 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel
From: Vivek Gautam <gautam.vivek@samsung.com>
Add required device node for usb2phy to let enable USB 2.0
support.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
arch/arm/boot/dts/exynos5420.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index f9b051b..2eb00cb 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -838,4 +838,14 @@
samsung,pmu-syscon = <&pmu_system_controller>;
#phy-cells = <1>;
};
+
+ usb2_phy: phy at 12130000 {
+ compatible = "samsung,exynos5250-usb2-phy";
+ reg = <0x12130000 0x100>;
+ clocks = <&clock CLK_USBH20>, <&clock CLK_SCLK_USBPHY300>;
+ clock-names = "phy", "ref";
+ #phy-cells = <1>;
+ samsung,sysreg-phandle = <&sysreg_system_controller>;
+ samsung,pmureg-phandle = <&pmu_system_controller>;
+ };
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V3 4/4] ARM: dts: Add usb 2.0 support on exynos5420
2014-05-19 11:19 ` Vikas Sajjan
@ 2014-05-19 11:19 ` Vikas Sajjan
-1 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel, linux-usb
Cc: linux-samsung-soc, devicetree, k.debski, kishon, robh+dt, stern,
gautam.vivek
From: Vivek Gautam <gautam.vivek@samsung.com>
Add required device node for ehci and ohci controllers to
enable USB 2.0 support.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
arch/arm/boot/dts/exynos5420.dtsi | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 2eb00cb..921885a 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -839,6 +839,36 @@
#phy-cells = <1>;
};
+ usbhost2: usb@12110000 {
+ compatible = "samsung,exynos4210-ehci";
+ reg = <0x12110000 0x100>;
+ interrupts = <0 71 0>;
+
+ clocks = <&clock CLK_USBH20>;
+ clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ phys = <&usb2_phy 1>;
+ };
+ };
+
+ usbhost1: usb@12120000 {
+ compatible = "samsung,exynos4210-ohci";
+ reg = <0x12120000 0x100>;
+ interrupts = <0 71 0>;
+
+ clocks = <&clock CLK_USBH20>;
+ clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ phys = <&usb2_phy 1>;
+ };
+ };
+
usb2_phy: phy@12130000 {
compatible = "samsung,exynos5250-usb2-phy";
reg = <0x12130000 0x100>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V3 4/4] ARM: dts: Add usb 2.0 support on exynos5420
@ 2014-05-19 11:19 ` Vikas Sajjan
0 siblings, 0 replies; 12+ messages in thread
From: Vikas Sajjan @ 2014-05-19 11:19 UTC (permalink / raw)
To: linux-arm-kernel
From: Vivek Gautam <gautam.vivek@samsung.com>
Add required device node for ehci and ohci controllers to
enable USB 2.0 support.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
arch/arm/boot/dts/exynos5420.dtsi | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 2eb00cb..921885a 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -839,6 +839,36 @@
#phy-cells = <1>;
};
+ usbhost2: usb at 12110000 {
+ compatible = "samsung,exynos4210-ehci";
+ reg = <0x12110000 0x100>;
+ interrupts = <0 71 0>;
+
+ clocks = <&clock CLK_USBH20>;
+ clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port at 0 {
+ reg = <0>;
+ phys = <&usb2_phy 1>;
+ };
+ };
+
+ usbhost1: usb at 12120000 {
+ compatible = "samsung,exynos4210-ohci";
+ reg = <0x12120000 0x100>;
+ interrupts = <0 71 0>;
+
+ clocks = <&clock CLK_USBH20>;
+ clock-names = "usbhost";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port at 0 {
+ reg = <0>;
+ phys = <&usb2_phy 1>;
+ };
+ };
+
usb2_phy: phy at 12130000 {
compatible = "samsung,exynos5250-usb2-phy";
reg = <0x12130000 0x100>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* RE: [PATCH V3 0/4] dts: Add usb2phy to Exynos 5250/5420
2014-05-19 11:19 ` Vikas Sajjan
@ 2014-05-21 14:01 ` Kukjin Kim
-1 siblings, 0 replies; 12+ messages in thread
From: Kukjin Kim @ 2014-05-21 14:01 UTC (permalink / raw)
To: 'Vikas Sajjan', linux-arm-kernel, linux-usb
Cc: devicetree, k.debski, linux-samsung-soc, kishon, robh+dt, stern,
gautam.vivek, kgene.kim
Vikas Sajjan wrote:
>
> Based on 'for-next' branch of Kgene's linux-samsung tree.
> These patches are as per discussions on the driver side patches
> which have already been acked. [1]
>
Sounds good. I will apply this whole series if dt guys have no objection to
add the exynos5-sysreg dt binding.
Thanks,
Kukjin
> Changes from v2:
> - Addressed kukjin's comments to update DT binding documentation
> for sysreg.
> - removed the version for each patch. Made all patches version as
> same.
>
> Changes from v1:
> - Rebase on 'for-next' branch.
> - Removed 'phy-names' property as per discuusion in the driver patches.
> [1]
>
> V1 of this series was the next version for earlier patch-series:
> [PATCH v7 0/2] dts: Add usb2phy to Exynos 5250 [2]
>
> Changes from v7 series:
> - Added patches to enable usb 2.0 support on exynos5420;
> which include dt nodes for usb2phy as well as ehci and ohci
> controllers.
>
> Changes from v6:
> - Splitted the patch into two:
> adding syscon nodes to Exynos5250 and Exynos5420 in first;
> and phy entry change in the second.
> - Changed the name of phandle for usb2phy from 'usb2_phy_new'
> to 'usb2_phy_gen' indicating generic phy.
> - Using clock macros in dt entries.
>
> [1] http://www.spinics.net/lists/linux-usb/msg106908.html
> http://www.spinics.net/lists/linux-usb/msg106837.html
> [2] http://www.spinics.net/lists/linux-usb/msg106427.html
>
> Kamil Debski (1):
> ARM: dts: Add usb2phy to Exynos 5250
>
> Vivek Gautam (3):
> ARM: dts: Add sysreg sytem controller node to exynos5250 and
> exynos5420
> ARM: dts: Add usb2phy support on exynos5420
> ARM: dts: Add usb 2.0 support on exynos5420
>
> .../devicetree/bindings/arm/samsung/sysreg.txt | 11 ++++-
> arch/arm/boot/dts/exynos5250.dtsi | 27 ++++++++++++
> arch/arm/boot/dts/exynos5420.dtsi | 45
++++++++++++++++++++
> 3 files changed, 81 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH V3 0/4] dts: Add usb2phy to Exynos 5250/5420
@ 2014-05-21 14:01 ` Kukjin Kim
0 siblings, 0 replies; 12+ messages in thread
From: Kukjin Kim @ 2014-05-21 14:01 UTC (permalink / raw)
To: linux-arm-kernel
Vikas Sajjan wrote:
>
> Based on 'for-next' branch of Kgene's linux-samsung tree.
> These patches are as per discussions on the driver side patches
> which have already been acked. [1]
>
Sounds good. I will apply this whole series if dt guys have no objection to
add the exynos5-sysreg dt binding.
Thanks,
Kukjin
> Changes from v2:
> - Addressed kukjin's comments to update DT binding documentation
> for sysreg.
> - removed the version for each patch. Made all patches version as
> same.
>
> Changes from v1:
> - Rebase on 'for-next' branch.
> - Removed 'phy-names' property as per discuusion in the driver patches.
> [1]
>
> V1 of this series was the next version for earlier patch-series:
> [PATCH v7 0/2] dts: Add usb2phy to Exynos 5250 [2]
>
> Changes from v7 series:
> - Added patches to enable usb 2.0 support on exynos5420;
> which include dt nodes for usb2phy as well as ehci and ohci
> controllers.
>
> Changes from v6:
> - Splitted the patch into two:
> adding syscon nodes to Exynos5250 and Exynos5420 in first;
> and phy entry change in the second.
> - Changed the name of phandle for usb2phy from 'usb2_phy_new'
> to 'usb2_phy_gen' indicating generic phy.
> - Using clock macros in dt entries.
>
> [1] http://www.spinics.net/lists/linux-usb/msg106908.html
> http://www.spinics.net/lists/linux-usb/msg106837.html
> [2] http://www.spinics.net/lists/linux-usb/msg106427.html
>
> Kamil Debski (1):
> ARM: dts: Add usb2phy to Exynos 5250
>
> Vivek Gautam (3):
> ARM: dts: Add sysreg sytem controller node to exynos5250 and
> exynos5420
> ARM: dts: Add usb2phy support on exynos5420
> ARM: dts: Add usb 2.0 support on exynos5420
>
> .../devicetree/bindings/arm/samsung/sysreg.txt | 11 ++++-
> arch/arm/boot/dts/exynos5250.dtsi | 27 ++++++++++++
> arch/arm/boot/dts/exynos5420.dtsi | 45
++++++++++++++++++++
> 3 files changed, 81 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-05-21 14:01 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19 11:19 [PATCH V3 0/4] dts: Add usb2phy to Exynos 5250/5420 Vikas Sajjan
2014-05-19 11:19 ` Vikas Sajjan
2014-05-19 11:19 ` [PATCH V3 1/4] ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420 Vikas Sajjan
2014-05-19 11:19 ` Vikas Sajjan
[not found] ` <1400498356-26803-1-git-send-email-vikas.sajjan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-19 11:19 ` [PATCH V3 2/4] ARM: dts: Add usb2phy to Exynos 5250 Vikas Sajjan
2014-05-19 11:19 ` Vikas Sajjan
2014-05-19 11:19 ` [PATCH V3 3/4] ARM: dts: Add usb2phy support on exynos5420 Vikas Sajjan
2014-05-19 11:19 ` Vikas Sajjan
2014-05-19 11:19 ` [PATCH V3 4/4] ARM: dts: Add usb 2.0 " Vikas Sajjan
2014-05-19 11:19 ` Vikas Sajjan
2014-05-21 14:01 ` [PATCH V3 0/4] dts: Add usb2phy to Exynos 5250/5420 Kukjin Kim
2014-05-21 14:01 ` Kukjin Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.