xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-platform-i2c-demux-pinctrl (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/devices/platform/<i2c-demux-name>/available_masters
2*4882a593SmuzhiyunDate:		January 2016
3*4882a593SmuzhiyunKernelVersion:	4.6
4*4882a593SmuzhiyunContact:	Wolfram Sang <wsa+renesas@sang-engineering.com>
5*4882a593SmuzhiyunDescription:
6*4882a593Smuzhiyun		Reading the file will give you a list of masters which can be
7*4882a593Smuzhiyun		selected for a demultiplexed bus. The format is
8*4882a593Smuzhiyun		"<index>:<name>". Example from a Renesas Lager board::
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun		  0:/i2c@e6500000 1:/i2c@e6508000
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunWhat:		/sys/devices/platform/<i2c-demux-name>/current_master
13*4882a593SmuzhiyunDate:		January 2016
14*4882a593SmuzhiyunKernelVersion:	4.6
15*4882a593SmuzhiyunContact:	Wolfram Sang <wsa+renesas@sang-engineering.com>
16*4882a593SmuzhiyunDescription:
17*4882a593Smuzhiyun		This file selects/shows the active I2C master for a demultiplexed
18*4882a593Smuzhiyun		bus. It uses the <index> value from the file 'available_masters'.
19