[PATCH 1/3] i2c: omap: add ti,am64-i2c compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux