From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Damm Date: Mon, 07 Apr 2014 06:33:42 +0000 Subject: [PATCH 00/05] ARM: shmobile: Lager and Koelsch USB prototype patches Message-Id: <20140407063342.26152.96648.sendpatchset@w520> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org 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. Not-Yet-Signed-off-by: Magnus Damm --- 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(-)