regulator: rpi-panel: Add GPIO control for panel and touch resets
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 24 Jan 2022 22:01:26 +0000 (17:01 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 20:55:50 +0000 (20:55 +0000)
commit8c518eb4039102445b1b7bd6626aba0fef65b753
tree5a561fde566ea5512943f12e35941e729eea69b3
parent4866e35e48e6bd2bef1c567b05105e7fb3493ff9
regulator: rpi-panel: Add GPIO control for panel and touch resets

We need independent control of the resets for the panel&bridge,
vs the touch controller.

Expose the reset lines that are on the Atmel's port C via the GPIO
API so that they can be controlled appropriately.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Link: https://lore.kernel.org/r/20220124220129.158891-7-detlev.casanova@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/rpi-panel-attiny-regulator.c