[PATCH 2/5] rtc: pcf8563: Add support Haoyu HYM8563
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Wed Nov 13 00:53:52 PST 2024
Haoyu HYM8563 has the same hardware structure as PCF8563, and operates
with the same device driver.
This adds Haoyu HYM8563 information to the device driver and document
to support it.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
drivers/rtc/rtc-pcf8563.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
index 5a084d426e58d0..42382c8709b7af 100644
--- a/drivers/rtc/rtc-pcf8563.c
+++ b/drivers/rtc/rtc-pcf8563.c
@@ -555,6 +555,7 @@ static const struct i2c_device_id pcf8563_id[] = {
{ "pcf8563" },
{ "rtc8564" },
{ "pca8565" },
+ { "hym8563" },
{ }
};
MODULE_DEVICE_TABLE(i2c, pcf8563_id);
@@ -565,6 +566,7 @@ static const struct of_device_id pcf8563_of_match[] = {
{ .compatible = "epson,rtc8564" },
{ .compatible = "microcrystal,rv8564" },
{ .compatible = "nxp,pca8565" },
+ { .compatible = "haoyu,hym8563" },
{}
};
MODULE_DEVICE_TABLE(of, pcf8563_of_match);
--
2.45.2
More information about the linux-arm-kernel
mailing list