rtc: isl1208: Add support for the built-in RTC on the PMIC RAA215300
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 23 Jun 2023 14:09:48 +0000 (15:09 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 25 Jun 2023 22:58:21 +0000 (00:58 +0200)
commitfdd63f65ac25d0851dade4c7ba94a7a882b8d9c2
tree2d467b7fcc852c0cfe2552a0ace106fc2c24db2a
parent262f72b4656e182eefaab91ab24a7575dda5524f
rtc: isl1208: Add support for the built-in RTC on the PMIC RAA215300

The built-in RTC found on PMIC RAA215300 is the same as ISL1208.
However, the external oscillator bit is inverted on PMIC version
0x11. The PMIC driver detects PMIC version and instantiates the
RTC device based on i2c_device_id.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230623140948.384762-11-biju.das.jz@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl1208.c