diff options
author | 2016-11-16 23:29:05 -0500 | |
---|---|---|
committer | 2016-11-16 23:29:05 -0500 | |
commit | 6a02f5eb6a8a97089193758d95352b1b58f41481 (patch) | |
tree | 88f89bd19d4116997ddb9632f55412b5e97145ee /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: netcp: replace IS_ERR_OR_NULL by IS_ERR (diff) | |
parent | mlxsw: minimal: Add I2C support for Mellanox ASICs (diff) | |
download | linux-dev-6a02f5eb6a8a97089193758d95352b1b58f41481.tar.xz linux-dev-6a02f5eb6a8a97089193758d95352b1b58f41481.zip |
Merge branch 'mlxsw-i2c'
Jiri Pirko says:
====================
mlxsw: Introduce support for I2C bus
Vadim says:
This patchset adds I2C access support for SwitchX, SwitchX2, SwitchIB,
SwitchIB2 and Spectrum silicones.
It contains:
- Small changes in mlxsw core code, needed for I2C bus support;
- I2C driver, which obtains I2C input/output mailboxes setting and
provides command interface implementation.
- Minimal driver, which works on top of I2C driver and allows running
of mlxsw command interface over I2C bus;
Use case:
On system, which does not have PCI to ASIC (BMC), hwmon functionality
(sensors, pwm, tacho) will be available through I2C.
Usage (manual probing):
echo mlxsw_minimal 0x48 > /sys/bus/i2c/devices/i2c-2/new_device
Sysfs interface:
/sys/bus/i2c/devices/2-0048/hwmon/hwmon5/pwm1
/sys/bus/i2c/devices/2-0048/hwmon/hwmon5/temp1_input
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions