From: Sascha Hauer <s.hauer@pengutronix.de>
To: "open list:BAREBOX" <barebox@lists.infradead.org>
Subject: [PATCH 1/3] i2c: omap: add ti,am64-i2c compatible
Date: Wed, 08 Jan 2025 16:24:08 +0100 [thread overview]
Message-ID: <20250108-k3-i2c-v1-1-cf088462217b@pengutronix.de> (raw)
In-Reply-To: <20250108-k3-i2c-v1-0-cf088462217b@pengutronix.de>
The driver can be used as-is on TI AM625 and similar SoCs. Add the
compatible entry for these SoCs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/i2c/busses/Kconfig | 2 +-
drivers/i2c/busses/i2c-omap.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 093b12b2ef..b7ad9e6ecf 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -53,7 +53,7 @@ config I2C_MV64XXX
config I2C_OMAP
bool "OMAP I2C Master driver"
- depends on ARCH_OMAP
+ depends on ARCH_OMAP || ARCH_K3
config I2C_TEGRA
bool "Tegra I2C master driver"
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 023c9673ba..0ee4c70de5 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1215,6 +1215,9 @@ static __maybe_unused struct of_device_id omap_i2c_dt_ids[] = {
.data = &omap3_data,
}, {
.compatible = "ti,omap4-i2c",
+ }, {
+ .compatible = "ti,am64-i2c",
+ .data = &omap4_data,
}, {
/* sentinel */
}
--
2.39.5
next prev parent reply other threads:[~2025-01-08 15:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 15:24 [PATCH 0/3] add K3 I2C and tps65219 support Sascha Hauer
2025-01-08 15:24 ` Sascha Hauer [this message]
2025-01-08 15:24 ` [PATCH 2/3] mfd: add " Sascha Hauer
2025-01-08 15:24 ` [PATCH 3/3] regulator: add tps65219 regulator support Sascha Hauer
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=20250108-k3-i2c-v1-1-cf088462217b@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.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