Commit 74c17a0a authored by Jerome Neanne's avatar Jerome Neanne Committed by Lee Jones

mfd: tps65219: Add driver for TI TPS65219 PMIC

The TPS65219 is a power management IC PMIC designed to supply a wide
range of SoCs in both portable and stationary applications. Any SoC can
control TPS65219 over a standard I2C interface.

It contains the following components:
- Regulators.
- Over Temperature warning and Shut down.
- GPIOs
- Multi Function Pins (MFP)
- power-button

This patch adds support for tps65219 PMIC. At this time only
the functionalities listed below are made available:

- Regulators probe and functionalities
- warm and cold reset support
- SW shutdown support
- Regulator warnings via IRQs
- Power-button via IRQ
Signed-off-by: default avatarJerome Neanne <jneanne@baylibre.com>
Signed-off-by: default avatarMarkus Schneider-Pargmann <msp@baylibre.com>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221104152311.1098603-5-jneanne@baylibre.com
parent 85842c46
...@@ -15110,6 +15110,7 @@ F: drivers/mfd/menelaus.c ...@@ -15110,6 +15110,7 @@ F: drivers/mfd/menelaus.c
F: drivers/mfd/palmas.c F: drivers/mfd/palmas.c
F: drivers/mfd/tps65217.c F: drivers/mfd/tps65217.c
F: drivers/mfd/tps65218.c F: drivers/mfd/tps65218.c
F: drivers/mfd/tps65219.c
F: drivers/mfd/tps65910.c F: drivers/mfd/tps65910.c
F: drivers/mfd/twl-core.[ch] F: drivers/mfd/twl-core.[ch]
F: drivers/mfd/twl4030*.c F: drivers/mfd/twl4030*.c
......
...@@ -1625,6 +1625,20 @@ config MFD_TPS65218 ...@@ -1625,6 +1625,20 @@ config MFD_TPS65218
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called tps65218. will be called tps65218.
config MFD_TPS65219
tristate "TI TPS65219 Power Management IC"
depends on I2C && OF
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ
help
If you say yes here you get support for the TPS65219 series of Power
Management ICs. These include voltage regulators, GPIOs and
push/power button that is often used in portable devices.
This driver can also be built as a module. If so, the module
will be called tps65219.
config MFD_TPS6586X config MFD_TPS6586X
bool "TI TPS6586x Power Management chips" bool "TI TPS6586x Power Management chips"
depends on I2C=y depends on I2C=y
......
...@@ -97,6 +97,7 @@ obj-$(CONFIG_TPS6507X) += tps6507x.o ...@@ -97,6 +97,7 @@ obj-$(CONFIG_TPS6507X) += tps6507x.o
obj-$(CONFIG_MFD_TPS65086) += tps65086.o obj-$(CONFIG_MFD_TPS65086) += tps65086.o
obj-$(CONFIG_MFD_TPS65217) += tps65217.o obj-$(CONFIG_MFD_TPS65217) += tps65217.o
obj-$(CONFIG_MFD_TPS65218) += tps65218.o obj-$(CONFIG_MFD_TPS65218) += tps65218.o
obj-$(CONFIG_MFD_TPS65219) += tps65219.o
obj-$(CONFIG_MFD_TPS65910) += tps65910.o obj-$(CONFIG_MFD_TPS65910) += tps65910.o
obj-$(CONFIG_MFD_TPS65912) += tps65912-core.o obj-$(CONFIG_MFD_TPS65912) += tps65912-core.o
obj-$(CONFIG_MFD_TPS65912_I2C) += tps65912-i2c.o obj-$(CONFIG_MFD_TPS65912_I2C) += tps65912-i2c.o
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment