]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: Add TPS65185 driver
authorAndreas Kemnade <andreas@kemnade.info>
Fri, 2 Jan 2026 10:13:57 +0000 (11:13 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 12 Jan 2026 12:28:20 +0000 (12:28 +0000)
commitb0fc1e7701940d12ea2c41f386aa552bc4cc3629
tree00fc9c8b7089197b03adb2e3ead781a0e1e5ab97
parentda1456e435ae84852bda484cd4d60f47228d52fc
regulator: Add TPS65185 driver

Add a driver for the TPS65185 regulator. Implement handling of the various
gpio pins. Because the PWRUP (=enable) pin functionality can be achieved
by just using two bits instead, just ensure that it is set to a stable
value.
Implement the pair of symmetric LDOs as a single regulator because they
share a single voltage set register. As the VCOM regulator sits behind that
machinery, just define that one as a supply.
For simplicity, just add the temperature sensor (depending on external NTC)
directly.

There is a mechanism to measure some kick-back voltage during a defined EPD
operation, to calibrate the VCOM voltage setting and store that
non-volatile in the chip to be the power up default setup. That is not
implemented yet in the driver, but that also means that there is a
non-factory default value in these registers after power-up.

Tested-by: Josua Mayer <josua.mayer@jm0.eu>
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://patch.msgid.link/20260102-tps65185-submit-v3-2-23bda35772f2@kemnade.info
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/tps65185.c [new file with mode: 0644]