leds: gpio: Support the "panic-indicator" firmware property
[linux-2.6-block.git] / Documentation / ABI / testing / sysfs-platform-i2c-demux-pinctrl
1 What:           /sys/devices/platform/<i2c-demux-name>/cur_master
2 Date:           January 2016
3 KernelVersion:  4.6
4 Contact:        Wolfram Sang <wsa@the-dreams.de>
5 Description:
6
7 This file selects the active I2C master for a demultiplexed bus.
8
9 Write 0 there for the first master, 1 for the second etc. Reading the file will
10 give you a list with the active master marked. Example from a Renesas Lager
11 board:
12
13 root@Lager:~# cat /sys/devices/platform/i2c@8/cur_master
14 * 0 - /i2c@9
15   1 - /i2c@e6520000
16   2 - /i2c@e6530000
17
18 root@Lager:~# echo 2 > /sys/devices/platform/i2c@8/cur_master
19
20 root@Lager:~# cat /sys/devices/platform/i2c@8/cur_master
21   0 - /i2c@9
22   1 - /i2c@e6520000
23 * 2 - /i2c@e6530000