2016-04-03 14:42:16 +00:00
|
|
|
What: /sys/devices/platform/<i2c-demux-name>/available_masters
|
2016-01-13 14:29:27 +00:00
|
|
|
Date: January 2016
|
|
|
|
KernelVersion: 4.6
|
|
|
|
Contact: Wolfram Sang <wsa@the-dreams.de>
|
|
|
|
Description:
|
2016-04-03 14:42:16 +00:00
|
|
|
Reading the file will give you a list of masters which can be
|
|
|
|
selected for a demultiplexed bus. The format is
|
|
|
|
"<index>:<name>". Example from a Renesas Lager board:
|
2016-01-13 14:29:27 +00:00
|
|
|
|
2016-04-03 14:42:16 +00:00
|
|
|
0:/i2c@e6500000 1:/i2c@e6508000
|
2016-01-13 14:29:27 +00:00
|
|
|
|
2016-04-03 14:42:16 +00:00
|
|
|
What: /sys/devices/platform/<i2c-demux-name>/current_master
|
|
|
|
Date: January 2016
|
|
|
|
KernelVersion: 4.6
|
|
|
|
Contact: Wolfram Sang <wsa@the-dreams.de>
|
|
|
|
Description:
|
|
|
|
This file selects/shows the active I2C master for a demultiplexed
|
|
|
|
bus. It uses the <index> value from the file 'available_masters'.
|