OSDN Git Service

regulator: qpnp-labibb: Add logic to skip second SWIRE command
authorAnirudh Ghayal <aghayal@codeaurora.org>
Tue, 1 Mar 2016 10:58:56 +0000 (16:28 +0530)
committerJeevan Shriram <jshriram@codeaurora.org>
Tue, 10 May 2016 20:20:16 +0000 (13:20 -0700)
commit93aea9eb5ca4157306f41471c46cd0a7454d7f6c
tree7ecb08292ce948c3f1831b75e826ea55f4557d27
parent72ba8906bcab1c197252a2eab2a07ac0fbdb430a
regulator: qpnp-labibb: Add logic to skip second SWIRE command

On newer AMOLED panels the second SWIRE command is expected to
control the AVDD voltage. However, the PMI8950/PMI8994 IBB module
interprets this command for VDISN and incorrectly reduces its voltage.

Add DT properties 'qcom,skip-2nd-swire-cmd' to skip the second
SWIRE command and 'qcom,swire-2nd-cmd-delay' to explicitly specify
the delay between the first and second SWIRE command.

CRs-Fixed: 938038
Change-Id: I617a8490784efd760651b3ec8780cc4fd4b17bae
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Documentation/devicetree/bindings/regulator/qpnp-labibb-regulator.txt
drivers/regulator/qpnp-labibb-regulator.c