ARM: shmobile: lager: enable HS-USB
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 24 Oct 2014 10:44:34 +0000 (19:44 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 08:33:48 +0000 (17:33 +0900)
commitf1c89ee4c33fe28408f314c3974fd4847e3c3663
tree49ffb998d3358b788d2403df97b1c6461d4b42ca
parentdbe0f6a212b5d1e179eadeab154c5f5eb8f85054
ARM: shmobile: lager: enable HS-USB

Enable HS-USB device for the Lager board, defining the GPIO that the driver
should check when probing. Since this board doesn't have the OTG ID pin, we
assume that GP5_18 (USB0_PWEN) is an ID pin because it is 1 when the SW5 is
in position 2-3 (meaning USB function) and 0 in other positions.

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 node and prop, moved device node, fixed summary, supplemented
changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit e03074a7b5fdd2834a9fbbe77bc52a1ddb0d017f)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager.dts