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