summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/Kconfig
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2015-11-02 02:03:36 +0000
committerWolfram Sang <wsa@the-dreams.de>2015-12-15 13:13:00 +0100
commit75d31c2372e4a08319919b14bd160c48305373a1 (patch)
tree080f7a0592d7b64798ee20fd6a5a2820ceddeb0e /drivers/i2c/busses/Kconfig
parent51549c087f2eb5788de48a7278c3eb169d66f554 (diff)
downloadtalos-op-linux-75d31c2372e4a08319919b14bd160c48305373a1.tar.gz
talos-op-linux-75d31c2372e4a08319919b14bd160c48305373a1.zip
i2c: xlr: add support for Sigma Designs controller variant
Sigma Designs chips use a variant of this controller with the following differences: - The BUSY bit in the STATUS register is inverted - Bit 8 of the CONFIG register must be set - The controller can generate interrupts This patch adds support for the first two of these. It also calculates and sets the correct clock divisor if a clk is provided. The bus frequency is optionally speficied in the device tree node. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/Kconfig')
-rw-r--r--drivers/i2c/busses/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 69c46fe13777..eaa7b4a0e484 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -963,11 +963,11 @@ config I2C_XILINX
will be called xilinx_i2c.
config I2C_XLR
- tristate "XLR I2C support"
- depends on CPU_XLR
+ tristate "Netlogic XLR and Sigma Designs I2C support"
+ depends on CPU_XLR || ARCH_TANGOX
help
This driver enables support for the on-chip I2C interface of
- the Netlogic XLR/XLS MIPS processors.
+ the Netlogic XLR/XLS MIPS processors and Sigma Designs SOCs.
This driver can also be built as a module. If so, the module
will be called i2c-xlr.
OpenPOWER on IntegriCloud