From: Wilken Gottwalt <wilken.gottwalt@posteo.net>
To: linux-kernel@vger.kernel.org
Cc: Alessandro Zummo <a.zummo@towertech.it>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Joerg Reiling <joerg.reiling@jenoptik.com>,
linux-rtc@vger.kernel.org
Subject: [PATCH] rtc: rtc-isl12022: add isl12020 device support
Date: Thu, 23 Sep 2021 12:53:49 +0000 [thread overview]
Message-ID: <YUx43WuvwrYIvjxe@monster.powergraphx.local> (raw)
Adds the isl12020 device, which is fully compatible to isl12022.
Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
Signed-off-by: Joerg Reiling <joerg.reiling@jenoptik.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
next reply other threads:[~2021-09-23 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-23 12:53 Wilken Gottwalt [this message]
2021-09-23 15:36 ` [PATCH] rtc: rtc-isl12022: add isl12020 device support Alexandre Belloni
2021-09-23 16:39 ` Wilken Gottwalt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YUx43WuvwrYIvjxe@monster.powergraphx.local \
--to=wilken.gottwalt@posteo.net \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=joerg.reiling@jenoptik.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox