summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-01-03 14:47:23 +0200
committerPriyanka Jain <[email protected]>2022-02-01 15:08:07 +0530
commit7c67ef3f3fd1c433abc5dab318258cc7077028af (patch)
tree12c0cef860234f604405023afe3f6fdcf46decd5 /drivers/rtc
parent3285a5715f9376538750f10c1427350a78f0430c (diff)
rtc: pcf2127: sync with Linux compatible strings
Allow this driver to be used by boards which inherit their device trees from Linux. Compatibility is temporarily retained with the old compatible string which is U-Boot specific, and will be removed after a few changes. Cc: Simon Glass <[email protected]> Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Michael Walle <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/pcf2127.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/pcf2127.c b/drivers/rtc/pcf2127.c
index 57f86401d37..291ef0329a3 100644
--- a/drivers/rtc/pcf2127.c
+++ b/drivers/rtc/pcf2127.c
@@ -121,6 +121,9 @@ static const struct rtc_ops pcf2127_rtc_ops = {
static const struct udevice_id pcf2127_rtc_ids[] = {
{ .compatible = "pcf2127-rtc" },
+ { .compatible = "nxp,pcf2127" },
+ { .compatible = "nxp,pcf2129" },
+ { .compatible = "nxp,pca2129" },
{ }
};