Skip to content

Commit

Permalink
ARM: dts: add 'dr_mode' property to hsotg devices for exynos boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Szyprowski authored and Kukjin Kim committed Jan 24, 2015
1 parent 0da6587 commit 32f144f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos3250-monk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
&hsotg {
vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos3250-rinato.dts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
&hsotg {
vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4210-trats.dts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
hsotg@12480000 {
vusb_d-supply = <&vusb_reg>;
vusb_a-supply = <&vusbdac_reg>;
dr_mode = "peripheral";
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4210-universal_c210.dts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
hsotg@12480000 {
vusb_d-supply = <&ldo3_reg>;
vusb_a-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4412-odroid-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@
};

hsotg@12480000 {
dr_mode = "peripheral";
status = "okay";
vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4412-trats2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,7 @@
hsotg@12480000 {
vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/s5pv210-aquila.dts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@
&hsotg {
vusb_a-supply = <&ldo3_reg>;
vusb_d-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/s5pv210-goni.dts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@
&hsotg {
vusb_a-supply = <&ldo3_reg>;
vusb_d-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/s5pv210-smdkv210.dts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
};

&hsotg {
dr_mode = "peripheral";
status = "okay";
};

Expand Down

0 comments on commit 32f144f

Please sign in to comment.