Wolfram Sang | 39b132b | 2016-04-03 16:42:16 +0200 | [diff] [blame] | 1 | What: /sys/devices/platform/<i2c-demux-name>/available_masters |
Wolfram Sang | 50a5ba8 | 2016-01-13 15:29:27 +0100 | [diff] [blame] | 2 | Date: January 2016 |
| 3 | KernelVersion: 4.6 |
| 4 | Contact: Wolfram Sang <wsa@the-dreams.de> |
| 5 | Description: |
Wolfram Sang | 39b132b | 2016-04-03 16:42:16 +0200 | [diff] [blame] | 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: |
Wolfram Sang | 50a5ba8 | 2016-01-13 15:29:27 +0100 | [diff] [blame] | 9 | |
Wolfram Sang | 39b132b | 2016-04-03 16:42:16 +0200 | [diff] [blame] | 10 | 0:/i2c@e6500000 1:/i2c@e6508000 |
Wolfram Sang | 50a5ba8 | 2016-01-13 15:29:27 +0100 | [diff] [blame] | 11 | |
Wolfram Sang | 39b132b | 2016-04-03 16:42:16 +0200 | [diff] [blame] | 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'. |