OpenCloudOS-Kernel/include/linux/i2c
Vadim Pasternak c02b7bf532 i2c: mux: mellanox: add driver
This driver allows I2C routing controlled through CPLD select registers on
a wide range of Mellanox systems (CPLD Lattice device).
MUX selection is provided by digital and analog HW. Analog part is not
under SW control.
Digital part is under CPLD control (channel selection/de-selection).

Connectivity schema.
.---.             .-------------.
| l |             |             |-- i2cx1 -- i2cx8
| i |-- i2cn --+--| mlxcpld mux |
| n |          |  |             |-- i2cy1 -- i2cy8
| u |          |  '-------------'
| x |          |         |
'---'          '---------'

i2c-mux-mlxpcld does not necessarily require i2c-mlxcpld. It can be used
along with another bus driver, and still control i2c routing through CPLD
mux selection, in case the system is equipped with CPLD capable of mux
selection control.

The Kconfig currently controlling compilation of this code is:
drivers/i2c/muxes/Kconfig:config I2C_MUX_MLXCPLD

Signed-off-by: Michael Shych <michaelsh@mellanox.com>
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2016-11-17 23:19:00 +01:00
..
adp5588.h gpio: adp5588 - use "unsigned" for the setup and teardown callbacks 2014-02-13 13:51:17 +01:00
adp8860.h
adp8870.h
ads1015.h
apds990x.h
bfin_twi.h i2c: bfin-twi: move bits macros and structs in header from arch include to generic include 2014-03-09 08:40:41 +01:00
bh1770glc.h
dm355evm_msp.h
ds620.h
i2c-hid.h HID: i2c-hid: add DT bindings 2013-07-31 12:10:31 +02:00
i2c-sh_mobile.h
lm8323.h
ltc4245.h
max732x.h
max6639.h
mcs.h
mlxcpld.h i2c: mux: mellanox: add driver 2016-11-17 23:19:00 +01:00
mms114.h
mpr121_touchkey.h
pca954x.h
pcf857x.h
pmbus.h hwmon: (pmbus) Add regulator support 2014-11-30 20:13:13 -08:00
pxa-i2c.h i2c: pxa: enable high speed mode for i2c bus 2013-08-07 16:58:07 +02:00
tc35876x.h
tps65010.h
tsc2007.h Input: tsc2007 - remove unused poll_delay from platform data 2013-11-25 18:27:54 -08:00
twl.h mfd: twl4030-power: Fix pmic for boards that need AC charger disabled 2015-06-22 12:25:04 +01:00
twl4030-madc.h mfd: twl4030-madc: Cleanup driver 2014-03-18 08:13:39 +00:00