power: Add support for TPS65090 PMU chip.
authorTom Wai-Hong Tam <waihong@chromium.org>
Tue, 20 May 2014 12:01:36 +0000 (06:01 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 28 May 2014 01:58:19 +0000 (10:58 +0900)
commitac1058fdb72b8a6dade7c81be31b22760099ee91
tree7bde2ca1fa06a4938526cacf63a9316f869eec68
parent78a36c3ef390f7780840db3b42837e55e002829a
power: Add support for TPS65090 PMU chip.

This adds driver support for the TPS65090 PMU. Support includes
hooking into the pmic infrastructure  so that the pmic commands
can be used on the console. The TPS65090 supports the following
functionality:

- fet enable/disable/querying
- getting and setting of charge state

Even though it is connected to the pmic infrastructure it does
not hook into the pmic charging charging infrastructure.

The device tree binding is from Linux, but only a small subset of
functionality is supported.

Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org>
Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
Signed-off-by: Katie Roberts-Hoffman <katierh@chromium.org>
Signed-off-by: Rong Chang <rongchang@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
doc/device-tree-bindings/power/tps65090.txt [new file with mode: 0644]
doc/device-tree-bindings/regulator/tps65090.txt [new file with mode: 0644]
drivers/power/pmic/Makefile
drivers/power/pmic/pmic_tps65090.c [new file with mode: 0644]
include/fdtdec.h
include/power/tps65090_pmic.h [new file with mode: 0644]
lib/fdtdec.c