summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorGerlando Falauto <gerlando.falauto@keymile.com>2014-11-13 14:39:56 +0100
committerWolfram Sang <wsa@the-dreams.de>2014-11-18 16:09:49 +0100
commitc9449affad2ae0824927df5a207705e07f346fb1 (patch)
treee1ca67535ca757925c0a73a65230145070e4a92c /ipc
parent51cf3b0e2a72bb08cd280be6c0ead4e08ed50a2c (diff)
downloadtalos-obmc-linux-c9449affad2ae0824927df5a207705e07f346fb1.tar.gz
talos-obmc-linux-c9449affad2ae0824927df5a207705e07f346fb1.zip
i2c: mux: create "channel-n" symlinks for child segments in the mux device
This makes the topology clearer. For instance, by adding a pca9547 device with address 0x70 to bus i2c-0, you get: /sys/class/i2c-dev/i2c-0/device/0-0070/channel-0 -> i2c-1 ... /sys/class/i2c-dev/i2c-0/device/0-0070/channel-7 -> i2c-8 Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> [wsa: simplified sysfs-usage and fixed format string usage] Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Martin Belanger <martin.belanger@cyaninc.com> Acked-by: Danielle Costantino <danielle.costantino@gmail.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud