[PATCH 2/2] rtc: pcf85063: Add support for NXP PCA85074A

From: Rodrigo Rea

Date: Thu Nov 05 2026 - 16:59:43 EST


From: Rodrigo Rea <rodrigo.rea@xxxxxxx>

The PCA85074A uses the same register map as the PCA85073A, which
already uses the PCF85063A configuration. Add I2C and OF match entries
that reuse config_pcf85063a for the PCA85074A as well.

Tested on i.MX91S and i.MX93 platforms.

Link: https://www.nxp.com/docs/en/data-sheet/PCA85074A.pdf

Signed-off-by: Rodrigo Rea <rodrigo.rea@xxxxxxx>
---
drivers/rtc/rtc-pcf85063.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/rtc/rtc-pcf85063.c b/drivers/rtc/rtc-pcf85063.c
index 32952e73f..64f106e92 100644
--- a/drivers/rtc/rtc-pcf85063.c
+++ b/drivers/rtc/rtc-pcf85063.c
@@ -763,6 +763,7 @@ static const struct pcf85063_config config_rv8263 = {

static const struct i2c_device_id pcf85063_ids[] = {
{ .name = "pca85073a", .driver_data = (kernel_ulong_t)&config_pcf85063a },
+ { .name = "pca85074a", .driver_data = (kernel_ulong_t)&config_pcf85063a },
{ .name = "pcf85063", .driver_data = (kernel_ulong_t)&config_pcf85063 },
{ .name = "pcf85063tp", .driver_data = (kernel_ulong_t)&config_pcf85063tp },
{ .name = "pcf85063a", .driver_data = (kernel_ulong_t)&config_pcf85063a },
@@ -774,6 +775,7 @@ MODULE_DEVICE_TABLE(i2c, pcf85063_ids);
#ifdef CONFIG_OF
static const struct of_device_id pcf85063_of_match[] = {
{ .compatible = "nxp,pca85073a", .data = &config_pcf85063a },
+ { .compatible = "nxp,pca85074a", .data = &config_pcf85063a },
{ .compatible = "nxp,pcf85063", .data = &config_pcf85063 },
{ .compatible = "nxp,pcf85063tp", .data = &config_pcf85063tp },
{ .compatible = "nxp,pcf85063a", .data = &config_pcf85063a },
--
2.56.0