]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: henninger: enable HS-USB
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 24 Oct 2014 10:45:08 +0000 (19:45 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 30 Oct 2014 00:56:35 +0000 (09:56 +0900)
Enable HS-USB device for the Henninger board, defining the GPIO that the driver
should check when probing (which is the ID output from MAX3355 OTG chip).

Note that there will be pinctrl-related error messages if both internal PCI
and HS-USB drivers are enabled but they should be just ignored.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: added pin function/group and prop, moved device node, fixed summary,
added changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-henninger.dts

index ef2cb9217aef9eb8d8f4f9c138571711f2ad3e43..740e38678032a7accf62dbaec94a4bd9a4c33dc7 100644 (file)
        pinctrl-names = "default";
 };
 
+&hsusb {
+       status = "okay";
+       pinctrl-0 = <&usb0_pins>;
+       pinctrl-names = "default";
+       renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
+};
+
 &usbphy {
        status = "okay";
 };