diff mbox

[v2] ARM: dts: iwg20d-q7: Enable HS-USB

Message ID 1507712673-57370-1-git-send-email-biju.das@bp.renesas.com (mailing list archive)
State Accepted
Commit 405b580227ff1ae8fde82a666a2a5c0391a7e64a
Delegated to: Simon Horman
Headers show

Commit Message

Biju Das Oct. 11, 2017, 9:04 a.m. UTC
Enable HS-USB device for the iWave G20D-Q7 carrier board based on
RZ/G1M.
Also disable the host mode support on usb otg port by default to avoid
pin conflicts.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
v1-->v2 
    * Dropped "status" property,to disable host mode support on USB otg 
      port by default.

This patch has been tested against renesas-dev tag 20171011-v4.14-rc4.

 arch/arm/boot/dts/iwg20d-q7-common.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Geert Uytterhoeven Oct. 11, 2017, 12:52 p.m. UTC | #1
On Wed, Oct 11, 2017 at 11:04 AM, Biju Das <biju.das@bp.renesas.com> wrote:
> Enable HS-USB device for the iWave G20D-Q7 carrier board based on
> RZ/G1M.
> Also disable the host mode support on usb otg port by default to avoid
> pin conflicts.
>
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
diff mbox

Patch

diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
index 1c072c0..efd8af9 100644
--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
@@ -58,6 +58,12 @@ 
 	};
 };
 
+&hsusb {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
 &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	pinctrl-names = "default";
@@ -72,7 +78,6 @@ 
 };
 
 &pci0 {
-	status = "okay";
 	pinctrl-0 = <&usb0_pins>;
 	pinctrl-names = "default";
 };