i2c: omap24xx_i2c: Adapt driver to support K3 devices
authorVignesh R <vigneshr@ti.com>
Tue, 4 Jun 2019 23:08:11 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:12:54 +0000 (11:12 -0400)
K3 devices have I2C IP that is same as OMAP2+ family. Allow driver to be
compiled for ARCH_K3.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/i2c/Kconfig

index 095a9bc6a4d1a00fe3f53b6667ab72979bbd0829..4772db383722354b38ec679206df5dcdf6049517 100644 (file)
@@ -330,7 +330,7 @@ endif
 
 config SYS_I2C_OMAP24XX
        bool "TI OMAP2+ I2C driver"
-       depends on ARCH_OMAP2PLUS
+       depends on ARCH_OMAP2PLUS || ARCH_K3
        help
          Add support for the OMAP2+ I2C driver.