提交 32f144f2 编写于 作者: M Marek Szyprowski 提交者: Kukjin Kim

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: NPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: NKukjin Kim <kgene@kernel.org>
上级 0da65870
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
&hsotg { &hsotg {
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -131,6 +131,7 @@ ...@@ -131,6 +131,7 @@
&hsotg { &hsotg {
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -91,6 +91,7 @@ ...@@ -91,6 +91,7 @@
hsotg@12480000 { hsotg@12480000 {
vusb_d-supply = <&vusb_reg>; vusb_d-supply = <&vusb_reg>;
vusb_a-supply = <&vusbdac_reg>; vusb_a-supply = <&vusbdac_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
hsotg@12480000 { hsotg@12480000 {
vusb_d-supply = <&ldo3_reg>; vusb_d-supply = <&ldo3_reg>;
vusb_a-supply = <&ldo8_reg>; vusb_a-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -381,6 +381,7 @@ ...@@ -381,6 +381,7 @@
}; };
hsotg@12480000 { hsotg@12480000 {
dr_mode = "peripheral";
status = "okay"; status = "okay";
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
......
...@@ -845,6 +845,7 @@ ...@@ -845,6 +845,7 @@
hsotg@12480000 { hsotg@12480000 {
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
&hsotg { &hsotg {
vusb_a-supply = <&ldo3_reg>; vusb_a-supply = <&ldo3_reg>;
vusb_d-supply = <&ldo8_reg>; vusb_d-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -333,6 +333,7 @@ ...@@ -333,6 +333,7 @@
&hsotg { &hsotg {
vusb_a-supply = <&ldo3_reg>; vusb_a-supply = <&ldo3_reg>;
vusb_d-supply = <&ldo8_reg>; vusb_d-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
}; };
&hsotg { &hsotg {
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册