ARM: shmobile: Lager and Koelsch USB prototype patches
cover ARM: shmobile: Lager and Koelsch USB prototype patches
ARM: shmobile: Lager and Koelsch USB prototype patches
[PATCH 01/05] gpio: rcar: Per-controller gpios property prototype [PATCH 02/05] ARM: shmobile: Lager DT reference USB platform devices [PATCH 03/05] ARM: shmobile: Lager DT reference USB pinmux setup [PATCH 04/05] ARM: shmobile: Koelsch DT reference USB platform devices [PATCH 05/05] ARM: shmobile: Koelsch DT reference USB pinmux setup
These patches enable USB functionality for the DT reference board support for Lager and Koelsch. With these in place it is possible to use a single kernel binary with CCF and MULTIPLATFORM on Lager or Koelsch and use USB Host or USB Function even though DT bindings are not yet developed for such device drivers.
This is intended as a short term prototype to show that USB can be used on R-Car Gen2 hardware such as Lager and Koelsch even though DT bindings are not yet in place.
Based on the legacy Lager and Koelsch board code written by Valentine and Vladimir, but slightly reworked to include clock workarounds and DT-style GPIO handling. The first patch in this series is a prototype to allow board code written in C to access GPIOs on controllers described via DT.
Not for upstream merge.
---
Written against renesas-devel-v3.14-20140403
The Koelsch code has a run time dependency on:
[PATCH] ARM: shmobile: r8a7791: Add EHCI MSTP clock
arch/arm/boot/dts/r8a7790-lager.dts | 18 + arch/arm/boot/dts/r8a7791-koelsch.dts | 12 + arch/arm/mach-shmobile/board-koelsch-reference.c | 184 +++++++++++++++++++ arch/arm/mach-shmobile/board-lager-reference.c | 211 ++++++++++++++++++++++ drivers/gpio/gpio-rcar.c | 23 ++ 5 files changed, 446 insertions(+), 2 deletions(-)
Quoted 5 lines · Magnus Damm
ARM: shmobile: Lager and Koelsch USB prototype patches
[PATCH 01/05] gpio: rcar: Per-controller gpios property prototype [PATCH 02/05] ARM: shmobile: Lager DT reference USB platform devices [PATCH 03/05] ARM: shmobile: Lager DT reference USB pinmux setup
For reference I would prefer if the above patches were prefixed with
ARM: shmobile: lager:
Quoted 2 lines
[PATCH 04/05] ARM: shmobile: Koelsch DT reference USB platform devices [PATCH 05/05] ARM: shmobile: Koelsch DT reference USB pinmux setup
And likewise if the above patches were prefixed with
ARM: shmobile: koelsch:
Quoted 34 lines
These patches enable USB functionality for the DT reference board support for Lager and Koelsch. With these in place it is possible to use a single kernel binary with CCF and MULTIPLATFORM on Lager or Koelsch and use USB Host or USB Function even though DT bindings are not yet developed for such device drivers.
This is intended as a short term prototype to show that USB can be used on R-Car Gen2 hardware such as Lager and Koelsch even though DT bindings are not yet in place.
Based on the legacy Lager and Koelsch board code written by Valentine and Vladimir, but slightly reworked to include clock workarounds and DT-style GPIO handling. The first patch in this series is a prototype to allow board code written in C to access GPIOs on controllers described via DT.
Not for upstream merge.
Not-Yet-Signed-off-by Magnus Damm <[email protected]>---
Written against renesas-devel-v3.14-20140403
The Koelsch code has a run time dependency on:
[PATCH] ARM: shmobile: r8a7791: Add EHCI MSTP clockarch/arm/boot/dts/r8a7790-lager.dts | 18 + arch/arm/boot/dts/r8a7791-koelsch.dts | 12 + arch/arm/mach-shmobile/board-koelsch-reference.c | 184 +++++++++++++++++++ arch/arm/mach-shmobile/board-lager-reference.c | 211 ++++++++++++++++++++++ drivers/gpio/gpio-rcar.c | 23 ++ 5 files changed, 446 insertions(+), 2 deletions(-)