Skip to content

Commit

Permalink
rtc: tps6594: Add driver for TPS6594 RTC
Browse files Browse the repository at this point in the history
TPS6594 PMIC is a MFD. This patch adds support for
the RTC found inside TPS6594 family of PMIC.

Alarm is also supported.

Signed-off-by: Esteban Blanc <eblanc@baylibre.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/r/20231107094701.2223486-1-eblanc@baylibre.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
  • Loading branch information
Esteban Blanc authored and Alexandre Belloni committed Jan 8, 2024
1 parent dc0684a commit 9f67c1e
Show file tree
Hide file tree
Showing 3 changed files with 467 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,18 @@ config RTC_DRV_TPS6586X
along with alarm. This driver supports the RTC driver for
the TPS6586X RTC module.

config RTC_DRV_TPS6594
tristate "TI TPS6594 RTC driver"
depends on MFD_TPS6594
default MFD_TPS6594
help
TI Power Management IC TPS6594 supports RTC functionality
along with alarm. This driver supports the RTC driver for
the TPS6594 RTC module.

This driver can also be built as a module. If so, the module
will be called rtc-tps6594.

config RTC_DRV_TPS65910
tristate "TI TPS65910 RTC driver"
depends on MFD_TPS65910
Expand Down
1 change: 1 addition & 0 deletions drivers/rtc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ obj-$(CONFIG_RTC_DRV_TEGRA) += rtc-tegra.o
obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
obj-$(CONFIG_RTC_DRV_TI_K3) += rtc-ti-k3.o
obj-$(CONFIG_RTC_DRV_TPS6586X) += rtc-tps6586x.o
obj-$(CONFIG_RTC_DRV_TPS6594) += rtc-tps6594.o
obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
obj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl.o
obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o
Expand Down
Loading

0 comments on commit 9f67c1e

Please sign in to comment.