xref: /linux/Documentation/ABI/testing/sysfs-platform-wilco-ec (revision 0d3b051adbb72ed81956447d0d1e54d5943ee6f5)
1What:		/sys/bus/platform/devices/GOOG000C\:00/boot_on_ac
2Date:		April 2019
3KernelVersion:	5.3
4Description:
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
11What:          /sys/bus/platform/devices/GOOG000C\:00/build_date
12Date:          May 2019
13KernelVersion: 5.3
14Description:
15               Display Wilco Embedded Controller firmware build date.
16               Output will a MM/DD/YY string.
17
18What:          /sys/bus/platform/devices/GOOG000C\:00/build_revision
19Date:          May 2019
20KernelVersion: 5.3
21Description:
22               Display Wilco Embedded Controller build revision.
23               Output will a version string be similar to the example below:
24               d2592cae0
25
26What:          /sys/bus/platform/devices/GOOG000C\:00/model_number
27Date:          May 2019
28KernelVersion: 5.3
29Description:
30               Display Wilco Embedded Controller model number.
31               Output will a version string be similar to the example below:
32               08B6
33
34What:          /sys/bus/platform/devices/GOOG000C\:00/usb_charge
35Date:          October 2019
36KernelVersion: 5.5
37Description:
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
52What:          /sys/bus/platform/devices/GOOG000C\:00/version
53Date:          May 2019
54KernelVersion: 5.3
55Description:
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
59