lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YUx43WuvwrYIvjxe@monster.powergraphx.local>
Date:   Thu, 23 Sep 2021 12:53:49 +0000
From:   Wilken Gottwalt <wilken.gottwalt@...teo.net>
To:     linux-kernel@...r.kernel.org
Cc:     Alessandro Zummo <a.zummo@...ertech.it>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        Joerg Reiling <joerg.reiling@...optik.com>,
        linux-rtc@...r.kernel.org
Subject: [PATCH] rtc: rtc-isl12022: add isl12020 device support

Adds the isl12020 device, which is fully compatible to isl12022.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@...teo.net>
Signed-off-by: Joerg Reiling <joerg.reiling@...optik.com>
---
 drivers/rtc/rtc-isl12022.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c
index 961bd5d1d109..c62770ec99c9 100644
--- a/drivers/rtc/rtc-isl12022.c
+++ b/drivers/rtc/rtc-isl12022.c
@@ -257,6 +257,8 @@ static int isl12022_probe(struct i2c_client *client,
 static const struct of_device_id isl12022_dt_match[] = {
 	{ .compatible = "isl,isl12022" }, /* for backward compat., don't use */
 	{ .compatible = "isil,isl12022" },
+	{ .compatible = "isl,isl12020" }, /* for backward compat., don't use */
+	{ .compatible = "isil,isl12020" },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, isl12022_dt_match);
@@ -264,6 +266,7 @@ MODULE_DEVICE_TABLE(of, isl12022_dt_match);
 
 static const struct i2c_device_id isl12022_id[] = {
 	{ "isl12022", 0 },
+	{ "isl12020", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, isl12022_id);
-- 
2.33.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ