Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-platform-wilco-ec
1 What:           /sys/bus/platform/devices/GOOG000C\:00/boot_on_ac
2 Date:           April 2019
3 KernelVersion:  5.3
4 Description:
5                 Boot on AC is a policy which makes the device boot from S5
6                 when AC power is connected. This is useful for users who
7                 want to run their device headless or with a dock.
8
9                 Input should be parseable by kstrtou8() to 0 or 1.
10
11 What:          /sys/bus/platform/devices/GOOG000C\:00/build_date
12 Date:          May 2019
13 KernelVersion: 5.3
14 Description:
15                Display Wilco Embedded Controller firmware build date.
16                Output will a MM/DD/YY string.
17
18 What:          /sys/bus/platform/devices/GOOG000C\:00/build_revision
19 Date:          May 2019
20 KernelVersion: 5.3
21 Description:
22                Display Wilco Embedded Controller build revision.
23                Output will a version string be similar to the example below:
24                d2592cae0
25
26 What:          /sys/bus/platform/devices/GOOG000C\:00/model_number
27 Date:          May 2019
28 KernelVersion: 5.3
29 Description:
30                Display Wilco Embedded Controller model number.
31                Output will a version string be similar to the example below:
32                08B6
33
34 What:          /sys/bus/platform/devices/GOOG000C\:00/usb_charge
35 Date:          October 2019
36 KernelVersion: 5.5
37 Description:
38                Control the USB PowerShare Policy. USB PowerShare is a policy
39                which affects charging via the special USB PowerShare port
40                (marked with a small lightning bolt or battery icon) when in
41                low power states:
42
43                - In S0, the port will always provide power.
44                - In S0ix, if usb_charge is enabled, then power will be
45                  supplied to the port when on AC or if battery is > 50%.
46                  Else no power is supplied.
47                - In S5, if usb_charge is enabled, then power will be supplied
48                  to the port when on AC. Else no power is supplied.
49
50                Input should be either "0" or "1".
51
52 What:          /sys/bus/platform/devices/GOOG000C\:00/version
53 Date:          May 2019
54 KernelVersion: 5.3
55 Description:
56                Display Wilco Embedded Controller firmware version.
57                The format of the string is x.y.z. Where x is major, y is minor
58                and z is the build number. For example: 95.00.06