cros_ec: power: Add a tunnelled version of the tps65090 driver
authorSimon Glass <sjg@chromium.org>
Wed, 8 Oct 2014 04:01:40 +0000 (22:01 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 8 Oct 2014 08:25:46 +0000 (17:25 +0900)
commit2c94611d5f6dc5b49c02806dfdaacf6b27a5da83
tree2de1434c2087597eb46af6e58c9c4e00af6971f8
parent83d937803ad344234da8abdf616d4c1563a12e04
cros_ec: power: Add a tunnelled version of the tps65090 driver

Unfortunately on Pit the AP has no direct access to the tps65090 but must
talk through the EC (over SPI) to the EC's I2C bus.

When driver model supports PMICs this will be relatively easy. In the
meantime the best approach is to duplicate the driver. It will be refactored
once driver model support is expanded.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/power/pmic/Makefile
drivers/power/pmic/pmic_tps65090_ec.c [new file with mode: 0644]