xref: /linux/Documentation/ABI/testing/sysfs-platform-wilco-ec (revision fdf0fe2df3e32103dc87d4cd4d3be3653c0fd30d)
14c1ca625SNick CrewsWhat:		/sys/bus/platform/devices/GOOG000C\:00/boot_on_ac
24c1ca625SNick CrewsDate:		April 2019
34c1ca625SNick CrewsKernelVersion:	5.3
44c1ca625SNick CrewsDescription:
54c1ca625SNick Crews		Boot on AC is a policy which makes the device boot from S5
64c1ca625SNick Crews		when AC power is connected. This is useful for users who
74c1ca625SNick Crews		want to run their device headless or with a dock.
84c1ca625SNick Crews
94c1ca625SNick Crews		Input should be parseable by kstrtou8() to 0 or 1.
1079e3f1d3SRaul E Rangel
1179e3f1d3SRaul E RangelWhat:          /sys/bus/platform/devices/GOOG000C\:00/build_date
1279e3f1d3SRaul E RangelDate:          May 2019
1379e3f1d3SRaul E RangelKernelVersion: 5.3
1479e3f1d3SRaul E RangelDescription:
1579e3f1d3SRaul E Rangel               Display Wilco Embedded Controller firmware build date.
1679e3f1d3SRaul E Rangel               Output will a MM/DD/YY string.
1779e3f1d3SRaul E Rangel
1879e3f1d3SRaul E RangelWhat:          /sys/bus/platform/devices/GOOG000C\:00/build_revision
1979e3f1d3SRaul E RangelDate:          May 2019
2079e3f1d3SRaul E RangelKernelVersion: 5.3
2179e3f1d3SRaul E RangelDescription:
2279e3f1d3SRaul E Rangel               Display Wilco Embedded Controller build revision.
2379e3f1d3SRaul E Rangel               Output will a version string be similar to the example below:
2479e3f1d3SRaul E Rangel               d2592cae0
2579e3f1d3SRaul E Rangel
2679e3f1d3SRaul E RangelWhat:          /sys/bus/platform/devices/GOOG000C\:00/model_number
2779e3f1d3SRaul E RangelDate:          May 2019
2879e3f1d3SRaul E RangelKernelVersion: 5.3
2979e3f1d3SRaul E RangelDescription:
3079e3f1d3SRaul E Rangel               Display Wilco Embedded Controller model number.
3179e3f1d3SRaul E Rangel               Output will a version string be similar to the example below:
3279e3f1d3SRaul E Rangel               08B6
3379e3f1d3SRaul E Rangel
34*fdf0fe2dSDaniel CampelloWhat:          /sys/bus/platform/devices/GOOG000C\:00/usb_charge
35*fdf0fe2dSDaniel CampelloDate:          October 2019
36*fdf0fe2dSDaniel CampelloKernelVersion: 5.5
37*fdf0fe2dSDaniel CampelloDescription:
38*fdf0fe2dSDaniel Campello               Control the USB PowerShare Policy. USB PowerShare is a policy
39*fdf0fe2dSDaniel Campello               which affects charging via the special USB PowerShare port
40*fdf0fe2dSDaniel Campello               (marked with a small lightning bolt or battery icon) when in
41*fdf0fe2dSDaniel Campello               low power states:
42*fdf0fe2dSDaniel Campello               - In S0, the port will always provide power.
43*fdf0fe2dSDaniel Campello               - In S0ix, if usb_charge is enabled, then power will be
44*fdf0fe2dSDaniel Campello                 supplied to the port when on AC or if battery is > 50%.
45*fdf0fe2dSDaniel Campello                 Else no power is supplied.
46*fdf0fe2dSDaniel Campello               - In S5, if usb_charge is enabled, then power will be supplied
47*fdf0fe2dSDaniel Campello                 to the port when on AC. Else no power is supplied.
48*fdf0fe2dSDaniel Campello
49*fdf0fe2dSDaniel Campello               Input should be either "0" or "1".
50*fdf0fe2dSDaniel Campello
5179e3f1d3SRaul E RangelWhat:          /sys/bus/platform/devices/GOOG000C\:00/version
5279e3f1d3SRaul E RangelDate:          May 2019
5379e3f1d3SRaul E RangelKernelVersion: 5.3
5479e3f1d3SRaul E RangelDescription:
5579e3f1d3SRaul E Rangel               Display Wilco Embedded Controller firmware version.
5679e3f1d3SRaul E Rangel               The format of the string is x.y.z. Where x is major, y is minor
5779e3f1d3SRaul E Rangel               and z is the build number. For example: 95.00.06
58