diff options
author | Binbin Zhou <zhoubinbin@loongson.cn> | 2023-01-31 20:37:31 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-02-02 22:23:59 +0100 |
commit | 015e61f0bffd46600496e50d3b2298f51f6b11a8 (patch) | |
tree | deec2886d14b94da78d062c192215c52abdba8e0 /drivers/i2c/busses/Kconfig | |
parent | 57b2ba483cdf4515f37a68d8732c4072ccbf9875 (diff) | |
download | lwn-015e61f0bffd46600496e50d3b2298f51f6b11a8.tar.gz lwn-015e61f0bffd46600496e50d3b2298f51f6b11a8.zip |
i2c: ls2x: Add driver for Loongson-2K/LS7A I2C controller
This I2C module is integrated into the Loongson-2K SoCs and Loongson
LS7A bridge chip.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/Kconfig')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index a7bfddf08fa7..c3ed15dae3df 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -761,6 +761,17 @@ config I2C_LPC2K This driver can also be built as a module. If so, the module will be called i2c-lpc2k. +config I2C_LS2X + tristate "Loongson LS2X I2C adapter" + depends on MACH_LOONGSON64 || COMPILE_TEST + help + If you say yes to this option, support will be included for the + I2C interface on the Loongson-2K SoCs and Loongson LS7A bridge + chip. + + This driver can also be built as a module. If so, the module + will be called i2c-ls2x. + config I2C_MLXBF tristate "Mellanox BlueField I2C controller" depends on MELLANOX_PLATFORM && ARM64 |