mfd: stmpe: add optional regulators
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 8 May 2014 21:16:35 +0000 (23:16 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 9 May 2014 09:51:12 +0000 (10:51 +0100)
commit9c9e321455fb806108f9dbb1872bacfd42c6002b
tree564f5a10a3614781c3f79e17410145af959f85e2
parent5a826feedc331a2d5ced2afd832199a70b3af891
mfd: stmpe: add optional regulators

The STMPE has VCC and VIO supply lines, and sometimes (as on
Ux500) this comes from a software-controlled regulator. Make
it possible to supply the STMPE with power from these
regulators.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mfd/stmpe.c
include/linux/mfd/stmpe.h