Skip to content

Commit 9f67c1e

Browse files
Skallwaralexandrebelloni
authored andcommitted
rtc: tps6594: Add driver for TPS6594 RTC
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>
1 parent dc0684a commit 9f67c1e

3 files changed

Lines changed: 467 additions & 0 deletions

File tree

drivers/rtc/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,18 @@ config RTC_DRV_TPS6586X
578578
along with alarm. This driver supports the RTC driver for
579579
the TPS6586X RTC module.
580580

581+
config RTC_DRV_TPS6594
582+
tristate "TI TPS6594 RTC driver"
583+
depends on MFD_TPS6594
584+
default MFD_TPS6594
585+
help
586+
TI Power Management IC TPS6594 supports RTC functionality
587+
along with alarm. This driver supports the RTC driver for
588+
the TPS6594 RTC module.
589+
590+
This driver can also be built as a module. If so, the module
591+
will be called rtc-tps6594.
592+
581593
config RTC_DRV_TPS65910
582594
tristate "TI TPS65910 RTC driver"
583595
depends on MFD_TPS65910

drivers/rtc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ obj-$(CONFIG_RTC_DRV_TEGRA) += rtc-tegra.o
177177
obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
178178
obj-$(CONFIG_RTC_DRV_TI_K3) += rtc-ti-k3.o
179179
obj-$(CONFIG_RTC_DRV_TPS6586X) += rtc-tps6586x.o
180+
obj-$(CONFIG_RTC_DRV_TPS6594) += rtc-tps6594.o
180181
obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
181182
obj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl.o
182183
obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o

0 commit comments

Comments
 (0)