]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: r8a7740: Prepare for reference DT setup
authorBastian Hecht <hechtb@gmail.com>
Wed, 17 Apr 2013 10:34:05 +0000 (12:34 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 22 May 2013 12:44:26 +0000 (21:44 +0900)
commit2b80c80eacd3195efde03ef5e861716377c34975
tree8e08ff821594c4b0126959d2713cb8146a8f1520
parent3e5dbd899d6ad6a9512a2ede83f6f610ef983c8c
ARM: shmobile: r8a7740: Prepare for reference DT setup

We need three steps to prepare for the new Armadillo reference DT board code:
 - Split the device list into r8a7740_early_devices used by the old platform
   data setup (board-armadillo.c) and r8a7740_devices_dt used by both
   setup variants.
 - Introduce new r8a7740_init_delay() to be more flexible about calling
   shmobile_setup_delay().
 - For the generic r8a7740 support, we switch to device tree setup for
   the GIC, the irqpin devices and the I2C controllers.

This is slightly similar to commit 3b00f9342623a5ebc
"ARM: shmobile: sh73a0: Do not use early devices with DT reference"

Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7740.dtsi
arch/arm/mach-shmobile/include/mach/r8a7740.h
arch/arm/mach-shmobile/setup-r8a7740.c