* [PATCH] add zynq-7000 i2c support
@ 2025-05-19 7:13 Michael Graichen
2025-05-22 20:24 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Michael Graichen @ 2025-05-19 7:13 UTC (permalink / raw)
To: johannes, a.fatoum, l.stach, m.tretter; +Cc: barebox
This adds support to use the i2c bus on zynq-7000
Signed-off-by: Michael Graichen <michael.graichen@hotmail.com>
---
drivers/i2c/busses/Kconfig | 4 ++--
drivers/i2c/busses/i2c-cadence.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index b7ad9e6ecf..16f039dfea 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -84,10 +84,10 @@ config I2C_RK3X
config I2C_CADENCE
bool "Cadence I2C adapter"
depends on HAVE_CLK
- depends on ARCH_ZYNQMP || COMPILE_TEST
+ depends on ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST
help
Say Y here to include support for the Cadence I2C host controller found
- in Zynq UltraScale+ MPSoCs.
+ in Zynq-7000 or Zynq UltraScale+ MPSoCs.
config I2C_EFI
bool "EFI I2C Master driver"
diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c
index 8551cd05da..e8ad26c91e 100644
--- a/drivers/i2c/busses/i2c-cadence.c
+++ b/drivers/i2c/busses/i2c-cadence.c
@@ -441,6 +441,7 @@ static int cdns_i2c_probe(struct device *dev)
}
static const struct of_device_id cdns_i2c_match[] = {
+ { .compatible = "cdns,i2c-r1p10" },
{ .compatible = "cdns,i2c-r1p14" },
{},
};
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] add zynq-7000 i2c support
2025-05-19 7:13 [PATCH] add zynq-7000 i2c support Michael Graichen
@ 2025-05-22 20:24 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-05-22 20:24 UTC (permalink / raw)
To: johannes, a.fatoum, l.stach, m.tretter, Michael Graichen; +Cc: barebox
On Mon, 19 May 2025 07:13:11 +0000, Michael Graichen wrote:
> This adds support to use the i2c bus on zynq-7000
>
>
Applied, thanks!
[1/1] add zynq-7000 i2c support
https://git.pengutronix.de/cgit/barebox/commit/?id=434ec60834a6 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-22 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-19 7:13 [PATCH] add zynq-7000 i2c support Michael Graichen
2025-05-22 20:24 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox