Skip to content

ARM: shmobile: Lager USBHS update

Magnus Damm linux-arm-kernel linux-sh 1 version New

Get series with b4
b4 am 20140129230959.22655.55645.sendpatchset@w520

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: shmobile: Remove Lager USBHS UDC ifdefsarch/arm/mach-shmobile/board-lager.c+0 -40 replies
2/3pinctrl: sh-pfc: r8a7790: Break out USB0 OVC/VBUSdrivers/pinctrl/sh-pfc/pfc-r8a7790.c+9 -02 replies
2/3pinctrl: sh-pfc: r8a7790: Break out USB0 OVC/VBUS+0 -02 replies
2/3pinctrl: sh-pfc: r8a7790: Break out USB0 OVC/VBUS+0 -05 replies
3/3ARM: shmobile: Lager USB0 cable detection workaroundarch/arm/mach-shmobile/board-lager.c+22 -32 replies
3/3ARM: shmobile: Lager USB0 cable detection workaround+0 -00 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchLaurent PinchartSimon Horman
1/3
2/3A-b A-b
2/3A-b A-b
2/3A-b A-b
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/03] ARM: shmobile: Lager USBHS update

ARM: shmobile: Lager USBHS update

[PATCH 01/03] ARM: shmobile: Remove Lager USBHS UDC ifdefs [PATCH 02/03] pinctrl: sh-pfc: r8a7790: Break out USB0 OVC/VBUS [PATCH 03/03] ARM: shmobile: Lager USB0 cable detection workaround

Update the Lager USB0 code to let the USBHS device always be present and check for DIP switch configuration. To be able to check the DIP switch configuration the r8a7790 PINCTRL bits need to be updated too.

With this series USB0 on Lager will be fixed to USB Function via the USBHS driver. In theory the SoC can also use USB Host on this port either via USBHS or PCI USB, but since cable detection is missing it is possible for the user to misconfigure USB Host and drive VBUS with the wrong cable. Because of that USB0 will be forced to stick to Function-only in the Lager board code.

---

Written against renesas.git tag renesas-devel-v3.13-20140127

 arch/arm/mach-shmobile/board-lager.c |   29 ++++++++++++++++++++++-------
 drivers/pinctrl/sh-pfc/pfc-r8a7790.c |    9 +++++++++
 2 files changed, 31 insertions(+), 7 deletions(-)