]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: add AS3711 PMIC platform data on kzm9g
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 12 Feb 2013 17:15:31 +0000 (17:15 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 22 May 2013 14:51:08 +0000 (23:51 +0900)
commit1e17ebdda7ac93737cd26ed261dd7eb1de2180a7
tree497d434268d4baa1547be8ebe17012b22b91abc1
parentc7788792a5e7b0d5d7f96d0766b4cb6112d47d75
ARM: shmobile: add AS3711 PMIC platform data on kzm9g

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