]> 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>
Thu, 18 Apr 2013 12:38:42 +0000 (21:38 +0900)
commit74d6523995cc814f24a6ca540e390ebee8a29c91
tree7c94beba13038c47b976ade4e7f2de808f95418c
parent15be21988d3137388dd1a3dc35b20338342eed97
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