[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1434530336-15073-1-git-send-email-geert+renesas@glider.be>
Date: Wed, 17 Jun 2015 10:38:49 +0200
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Simon Horman <horms+renesas@...ge.net.au>,
Magnus Damm <damm+renesas@...nsource.se>
Cc: Arnd Bergmann <arnd@...db.de>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Marc Zyngier <marc.zyngier@....com>,
devel@...verdev.osuosl.org, linux-sh@...r.kernel.org,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH v2 0/7] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb
Hi Greg, Simon, Magnus,
This patch series adds board staging support for the Renesas R-Mobile A1
(r8a7740) based Armadillo-800 EVA board. It allows to support the frame
buffer device for the on-board LCD (which isn't supported by a DT-aware
driver yet) in modern DT-based multi-platform kernels.
The board staging area was introduced last year to allow continuous
upstream in-tree development and integration of platform devices. It
helps developers integrate devices as platform devices for device
drivers that only provide platform device bindings. This in turn allows
for incremental development of both hardware feature support and DT
binding work in parallel.
The goal is to complete the move to ARM multi-platform kernels for all
shmobile platforms, and drop the existing board files
(arch/arm/mach-shmobile/board-*). Once this series is accepted, more
than 3000 lines of legacy armadillo board code and r8a7740 SoC code can
be removed.
This series consists of 5 parts:
- Patch 1 re-enables compilation of the board staging area, which was
disabled after a compile breakage, but has been fixed in the mean
time,
- Path 2 moves initialization of staging board code to an earlier
moment, as currently it happens after unused PM domains are powered
down,
- Patches 3 and 4 (hopefully) fix the existing kzm9d board staging
code, which was presumably "broken" by commit 9a1091ef0017c40a
("irqchip: gic: Support hierarchy irq domain."),
- Patches 5 and 6 add support for registering platform devices with
complex dependencies (clocks and PM domains), and add armadillo
board staging code for enabling a frame buffer on the on-board LCD,
- Patch 7 (new) adds pinctrl and gpio-hog configuration to enable the
LCD.
The first 6 patches should go in through the staging tree, the last one
through the shmobile tree.
Major changes since v1 (more detailed changelogs in the individual
patches):
- Add support for low/high edge/level interrupts in hwirq translation,
- Move pinctrl and GPIO configuration from board staging code to DT,
- Use clk_add_alias() instead of open coding.
Dependencies:
- This is against next-20150617,
- The gpio-hog in patch 7 depends on a bug fix like "[PATCH] [RFC]
gpio: Retry deferred GPIO hogging on pin range change"
(https://lkml.org/lkml/2015/6/16/455). It can be applied as-is
though.
This was tested on r8a7740/armadillo.
This was not tested on emev2/kzm9d, due to lack of hardware.
Thanks for applying!
Geert Uytterhoeven (7):
Revert "staging: board: disable as it breaks the build"
staging: board: Initialize staging board code earlier
staging: board: Add support for translating hwirq to virq numbers
staging: board: kzm9d: Translate hwirq numbers to virq numbers
staging: board: Add support for devices with complex dependencies
staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb
ARM: shmobile: armadillo800eva dts: Add pinctrl and gpio-hog for lcdc0
arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 13 +++
drivers/staging/board/Kconfig | 1 -
drivers/staging/board/Makefile | 3 +-
drivers/staging/board/armadillo800eva.c | 105 ++++++++++++++++++++
drivers/staging/board/board.c | 136 ++++++++++++++++++++++++++
drivers/staging/board/board.h | 27 ++++-
drivers/staging/board/kzm9d.c | 10 +-
7 files changed, 290 insertions(+), 5 deletions(-)
create mode 100644 drivers/staging/board/armadillo800eva.c
--
1.9.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists