aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2015-01-23 23:12:03 -0500
committerKukjin Kim <kgene@kernel.org>2015-01-23 23:24:06 -0500
commit32f144f28e1b0cc8de7fb1a920775fd665213fe4 (patch)
treed6034da8f8eadfa10d9aa21fb305c685f28802fa /arch/arm/boot
parent0da65870413630339399eb691162eef5c27272de (diff)
ARM: dts: add 'dr_mode' property to hsotg devices for exynos boards
All currently supported boards use hsotg/dwc2 controller in device ('peripheral') mode, so add property which sets correct operation mode. This patch fixes support in recent changes in dwc2 driver, which added support for dual-role devices. Suggested-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/exynos3250-monk.dts1
-rw-r--r--arch/arm/boot/dts/exynos3250-rinato.dts1
-rw-r--r--arch/arm/boot/dts/exynos4210-trats.dts1
-rw-r--r--arch/arm/boot/dts/exynos4210-universal_c210.dts1
-rw-r--r--arch/arm/boot/dts/exynos4412-odroid-common.dtsi1
-rw-r--r--arch/arm/boot/dts/exynos4412-trats2.dts1
-rw-r--r--arch/arm/boot/dts/s5pv210-aquila.dts1
-rw-r--r--arch/arm/boot/dts/s5pv210-goni.dts1
-rw-r--r--arch/arm/boot/dts/s5pv210-smdkv210.dts1
9 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts
index 5e4a471faee1..683596844ef3 100644
--- a/arch/arm/boot/dts/exynos3250-monk.dts
+++ b/arch/arm/boot/dts/exynos3250-monk.dts
@@ -140,6 +140,7 @@
140&hsotg { 140&hsotg {
141 vusb_d-supply = <&ldo15_reg>; 141 vusb_d-supply = <&ldo15_reg>;
142 vusb_a-supply = <&ldo12_reg>; 142 vusb_a-supply = <&ldo12_reg>;
143 dr_mode = "peripheral";
143 status = "okay"; 144 status = "okay";
144}; 145};
145 146
diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts
index c7f4fab6dfd9..5121954579ad 100644
--- a/arch/arm/boot/dts/exynos3250-rinato.dts
+++ b/arch/arm/boot/dts/exynos3250-rinato.dts
@@ -131,6 +131,7 @@
131&hsotg { 131&hsotg {
132 vusb_d-supply = <&ldo15_reg>; 132 vusb_d-supply = <&ldo15_reg>;
133 vusb_a-supply = <&ldo12_reg>; 133 vusb_a-supply = <&ldo12_reg>;
134 dr_mode = "peripheral";
134 status = "okay"; 135 status = "okay";
135}; 136};
136 137
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index 720836205546..1c0c7be02616 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -91,6 +91,7 @@
91 hsotg@12480000 { 91 hsotg@12480000 {
92 vusb_d-supply = <&vusb_reg>; 92 vusb_d-supply = <&vusb_reg>;
93 vusb_a-supply = <&vusbdac_reg>; 93 vusb_a-supply = <&vusbdac_reg>;
94 dr_mode = "peripheral";
94 status = "okay"; 95 status = "okay";
95 }; 96 };
96 97
diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
index aaf0cae4f5e8..08f89e0ff2b8 100644
--- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
@@ -71,6 +71,7 @@
71 hsotg@12480000 { 71 hsotg@12480000 {
72 vusb_d-supply = <&ldo3_reg>; 72 vusb_d-supply = <&ldo3_reg>;
73 vusb_a-supply = <&ldo8_reg>; 73 vusb_a-supply = <&ldo8_reg>;
74 dr_mode = "peripheral";
74 status = "okay"; 75 status = "okay";
75 }; 76 };
76 77
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index 3fbf588682b9..ffcf17bbf63b 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -381,6 +381,7 @@
381 }; 381 };
382 382
383 hsotg@12480000 { 383 hsotg@12480000 {
384 dr_mode = "peripheral";
384 status = "okay"; 385 status = "okay";
385 vusb_d-supply = <&ldo15_reg>; 386 vusb_d-supply = <&ldo15_reg>;
386 vusb_a-supply = <&ldo12_reg>; 387 vusb_a-supply = <&ldo12_reg>;
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index 29231b452643..c81c4769411d 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -845,6 +845,7 @@
845 hsotg@12480000 { 845 hsotg@12480000 {
846 vusb_d-supply = <&ldo15_reg>; 846 vusb_d-supply = <&ldo15_reg>;
847 vusb_a-supply = <&ldo12_reg>; 847 vusb_a-supply = <&ldo12_reg>;
848 dr_mode = "peripheral";
848 status = "okay"; 849 status = "okay";
849 }; 850 };
850 851
diff --git a/arch/arm/boot/dts/s5pv210-aquila.dts b/arch/arm/boot/dts/s5pv210-aquila.dts
index aa31b84a707a..f00cea7aca2f 100644
--- a/arch/arm/boot/dts/s5pv210-aquila.dts
+++ b/arch/arm/boot/dts/s5pv210-aquila.dts
@@ -355,6 +355,7 @@
355&hsotg { 355&hsotg {
356 vusb_a-supply = <&ldo3_reg>; 356 vusb_a-supply = <&ldo3_reg>;
357 vusb_d-supply = <&ldo8_reg>; 357 vusb_d-supply = <&ldo8_reg>;
358 dr_mode = "peripheral";
358 status = "okay"; 359 status = "okay";
359}; 360};
360 361
diff --git a/arch/arm/boot/dts/s5pv210-goni.dts b/arch/arm/boot/dts/s5pv210-goni.dts
index 6387c77a6f7b..a3d4643b202e 100644
--- a/arch/arm/boot/dts/s5pv210-goni.dts
+++ b/arch/arm/boot/dts/s5pv210-goni.dts
@@ -333,6 +333,7 @@
333&hsotg { 333&hsotg {
334 vusb_a-supply = <&ldo3_reg>; 334 vusb_a-supply = <&ldo3_reg>;
335 vusb_d-supply = <&ldo8_reg>; 335 vusb_d-supply = <&ldo8_reg>;
336 dr_mode = "peripheral";
336 status = "okay"; 337 status = "okay";
337}; 338};
338 339
diff --git a/arch/arm/boot/dts/s5pv210-smdkv210.dts b/arch/arm/boot/dts/s5pv210-smdkv210.dts
index cb8521899ec8..da7d210df670 100644
--- a/arch/arm/boot/dts/s5pv210-smdkv210.dts
+++ b/arch/arm/boot/dts/s5pv210-smdkv210.dts
@@ -181,6 +181,7 @@
181}; 181};
182 182
183&hsotg { 183&hsotg {
184 dr_mode = "peripheral";
184 status = "okay"; 185 status = "okay";
185}; 186};
186 187