ARM: mach-shmobile: Kota2 TPU LED platform data
authorMagnus Damm <damm@opensource.se>
Tue, 22 Nov 2011 06:44:58 +0000 (15:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 24 Nov 2011 08:24:08 +0000 (17:24 +0900)
commit33661c9e2062865acde9d421c971f1c142cf99ca
treeb4501dadce663421436d23e71b7d7fa165c75416
parentdcb4ea869877b00fd1c761662bfd9359d15a8c2a
ARM: mach-shmobile: Kota2 TPU LED platform data

This patch updates the Kota2 board support code to
use the recently merged TPU LED driver whenever
possible.

The sh73a0 SoC has 5 TPU hardware blocks each with
4 timer channels which in theory allows a total of
20 LEDs to be controlled by "leds-renesas-tpu"
driver instances. The Kota2 board has 4 LEDs connected
to GPIO pins that also come with TPU pin functions, so
this patch ties up these 4 LEDS and leaves the remaining
3 LEDS for the GPIO based LED driver.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-kota2.c
arch/arm/mach-shmobile/clock-sh73a0.c