Commit | Line | Data |
---|---|---|
39b132b0 | 1 | What: /sys/devices/platform/<i2c-demux-name>/available_masters |
50a5ba87 WS |
2 | Date: January 2016 |
3 | KernelVersion: 4.6 | |
4 | Contact: Wolfram Sang <wsa@the-dreams.de> | |
5 | Description: | |
39b132b0 WS |
6 | 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: | |
50a5ba87 | 9 | |
39b132b0 | 10 | 0:/i2c@e6500000 1:/i2c@e6508000 |
50a5ba87 | 11 | |
39b132b0 WS |
12 | What: /sys/devices/platform/<i2c-demux-name>/current_master |
13 | Date: January 2016 | |
14 | KernelVersion: 4.6 | |
15 | Contact: Wolfram Sang <wsa@the-dreams.de> | |
16 | Description: | |
17 | This file selects/shows the active I2C master for a demultiplexed | |
18 | bus. It uses the <index> value from the file 'available_masters'. |