]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/i2c/Kconfig
Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig
[people/ms/u-boot.git] / drivers / i2c / Kconfig
index d2d9367bfc46653a0608398bcb3b7d39bbc72c2f..c296985d9baaaf6d7817cf4e144fd3459bef48d1 100644 (file)
@@ -227,6 +227,16 @@ config TEGRA186_BPMP_I2C
          by the BPMP, and can only be accessed by the main CPU via IPC
          requests to the BPMP. This driver covers the latter case.
 
+config SYS_I2C_BUS_MAX
+       int "Max I2C busses"
+       depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_SOCFPGA
+       default 2 if TI816X
+       default 3 if OMAP34XX || AM33XX || AM43XX || ARCH_KEYSTONE
+       default 4 if ARCH_SOCFPGA || OMAP44XX || TI814X
+       default 5 if OMAP54XX
+       help
+         Define the maximum number of available I2C buses.
+
 source "drivers/i2c/muxes/Kconfig"
 
 endmenu