misc: tps6594-pfsm: Add driver for TI TPS6594 PFSM
authorJulien Panis <jpanis@baylibre.com>
Thu, 11 May 2023 09:51:24 +0000 (11:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:41:53 +0000 (13:41 +0200)
commita0df3ef087f8aaebbdf205b1b2e126ec9ef6b113
treedd7fdc8a45a8003abd26b7327d5451856dc4dd23
parent875fdd0787e41e4dfc4161461514ec3b1230458f
misc: tps6594-pfsm: Add driver for TI TPS6594 PFSM

This PFSM controls the operational modes of the PMIC:
- STANDBY and LP_STANDBY,
- ACTIVE state,
- MCU_ONLY state,
- RETENTION state, with or without DDR and/or GPIO retention.
Depending on the current operational mode, some voltage domains
remain energized while others can be off.

This PFSM is also used to trigger a firmware update, and provides
R/W access to device registers.

See Documentation/misc-devices/tps6594-pfsm.rst for more
information.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
Message-ID: <20230511095126.105104-5-jpanis@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/tps6594-pfsm.c [new file with mode: 0644]
include/uapi/linux/tps6594_pfsm.h [new file with mode: 0644]