^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/devices/platform/<i2c-demux-name>/available_masters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: January 2016
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 4.6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Wolfram Sang <wsa+renesas@sang-engineering.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Reading the file will give you a list of masters which can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) selected for a demultiplexed bus. The format is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) "<index>:<name>". Example from a Renesas Lager board::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 0:/i2c@e6500000 1:/i2c@e6508000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) What: /sys/devices/platform/<i2c-demux-name>/current_master
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Date: January 2016
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) KernelVersion: 4.6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Contact: Wolfram Sang <wsa+renesas@sang-engineering.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) This file selects/shows the active I2C master for a demultiplexed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) bus. It uses the <index> value from the file 'available_masters'.