[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241113085355.1972607-3-iwamatsu@nigauri.org>
Date: Wed, 13 Nov 2024 17:53:52 +0900
From: Nobuhiro Iwamatsu <iwamatsu@...auri.org>
To: linux-rtc@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Arnd Bergmann <arnd@...db.de>,
Olof Johansson <olof@...om.net>
Cc: linux-amlogic@...ts.infradead.org,
Neil Armstrong <neil.armstrong@...aro.org>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
linux-kernel@...r.kernel.org,
Heiko Stuebner <heiko@...ech.de>,
Nobuhiro Iwamatsu <iwamatsu@...auri.org>
Subject: [PATCH 2/5] rtc: pcf8563: Add support Haoyu HYM8563
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@...auri.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
Powered by blists - more mailing lists