From: Vladimir Oltean Date: Mon, 3 Jan 2022 12:47:23 +0000 (+0200) Subject: rtc: pcf2127: sync with Linux compatible strings X-Git-Tag: v2022.07~196^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c67ef3f3fd1c433abc5dab318258cc7077028af;p=platform%2Fkernel%2Fu-boot.git 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 Signed-off-by: Vladimir Oltean Reviewed-by: Simon Glass Reviewed-by: Michael Walle Reviewed-by: Priyanka Jain --- diff --git a/drivers/rtc/pcf2127.c b/drivers/rtc/pcf2127.c index 57f8640..291ef03 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" }, { } };