summaryrefslogtreecommitdiff
path: root/drivers/regulator/mc13xxx-regulator-core.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-03-07 14:28:33 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-03 02:17:53 +0400
commita4d9f179cc788b7f4b735d32c2e4a3b2562e8240 (patch)
treefb4283d9fe5c2aff769e743e30b57ed1b5db1c43 /drivers/regulator/mc13xxx-regulator-core.c
parentd1cf4f65e1eb17bc8768d822755780588e42cf37 (diff)
downloadlinux-a4d9f179cc788b7f4b735d32c2e4a3b2562e8240.tar.xz
regulator: fixed: Support for open drain gpio pin
Adding flag on fixed regulator board configuration structure to specify whether gpio is open drain type or not. Passing this information to gpio library when requesting gpio so that gpio driver can set the pin state accordingly, for open drain type: - Pin can be set HIGH as setting as input, PULL UP on pin make this as HIGH. - Pin can be set LOW as setting it as output and drive to LOW. The non-open drain pin can be set HIGH/LOW by setting it to output and driving it to HIGH/LOW. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/mc13xxx-regulator-core.c')
0 files changed, 0 insertions, 0 deletions