]> 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>
Tue, 4 Jun 2013 07:49:27 +0000 (16:49 +0900)
commit744fdc8dc0e22cc5b61ee1bcde9375f188daa330
treeb22fcff89886b51d366f07ad8e26cfb6c267b738
parentf9b4df4a4d7d1124c450f0713a7a1939c7f1a205
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