blob: 3c3514815cd53bada6852068370d7cd193be9293 [file] [log] [blame]
Wolfram Sang39b132b2016-04-03 16:42:16 +02001What: /sys/devices/platform/<i2c-demux-name>/available_masters
Wolfram Sang50a5ba82016-01-13 15:29:27 +01002Date: January 2016
3KernelVersion: 4.6
4Contact: Wolfram Sang <wsa@the-dreams.de>
5Description:
Wolfram Sang39b132b2016-04-03 16:42:16 +02006 Reading the file will give you a list of masters which can be
7 selected for a demultiplexed bus. The format is
8 "<index>:<name>". Example from a Renesas Lager board:
Wolfram Sang50a5ba82016-01-13 15:29:27 +01009
Wolfram Sang39b132b2016-04-03 16:42:16 +020010 0:/i2c@e6500000 1:/i2c@e6508000
Wolfram Sang50a5ba82016-01-13 15:29:27 +010011
Wolfram Sang39b132b2016-04-03 16:42:16 +020012What: /sys/devices/platform/<i2c-demux-name>/current_master
13Date: January 2016
14KernelVersion: 4.6
15Contact: Wolfram Sang <wsa@the-dreams.de>
16Description:
17 This file selects/shows the active I2C master for a demultiplexed
18 bus. It uses the <index> value from the file 'available_masters'.