OSDN Git Service

ARM: shmobile: kzm9g: add AS3711 PMIC platform data
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 12 Feb 2013 17:15:31 +0000 (17:15 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 7 Jun 2013 05:26:31 +0000 (14:26 +0900)
commit28307e0a7c3841f2d54876639235c07ebe3d2999
treeab8b7a1d5b3da82da279c2790070ccf71ba64e86
parentdf53721a60022263017c5d72e17a7780d0e5dc4c
ARM: shmobile: kzm9g: add AS3711 PMIC platform data

KZM9G uses an AS3711 PMIC to supply power to the CPU and the LCD backlight.
The PMIC on the board is pre-programmed to supply correct voltages to the
CPU, power supply to the backlight has to be turned on at run-time. The
latter is currently performed by a hard-coded I2C command sequence in the
board file. This patch removes the backlight hack and instead adds an I2C
device to instantiate the AS3711 MFD driver, which will add a regulator
device to dynamically adjust CPU voltages and a backlight device.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-kzm9g.c