OSDN Git Service

regulator: qpnp-oledb: Add lab_vreg_ok notifier callback
authorKiran Gunda <kgunda@codeaurora.org>
Mon, 13 Feb 2017 14:25:40 +0000 (19:55 +0530)
committerKiran Gunda <kgunda@codeaurora.org>
Tue, 28 Feb 2017 06:30:32 +0000 (12:00 +0530)
commitc3cd3d3174ff10c2fd1f27fc61dd29ef4501d2e5
tree24f5153f301419674690246f4208a4dff890894d
parent9147c318e6e4c7f4eb2c0cfbeb39c2459c88c6d9
regulator: qpnp-oledb: Add lab_vreg_ok notifier callback

OLEDB driver needs the LAB_VREG_OK status to program the PD_CTL
register after the oledb module is enabled. As this status register
is not accessible from the OLEDB driver, register a notifier callback
with LABIBB driver to get LAB_VREG_OK status.

Change-Id: I85009688a2accb6246135d22e08ee21fb8296f62
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Documentation/devicetree/bindings/regulator/qpnp-oledb-regulator.txt
drivers/regulator/qpnp-oledb-regulator.c