blob: 93fac0bb405b50b4b3b41e931f0de71d011976aa [file] [log] [blame]
<root>
<!-- ******** Controls ******** -->
<control>
<name>kbd_en</name>
<doc>Enable servo to assert certain keypresses via kbd_m1 and
kbd_m2</doc>
<params subtype="kbd_en" interface="10" drv="ec" map="onoff"
clobber_ok=""></params>
</control>
<control>
<name>kbd_m1_a0</name>
<doc>kbd_m1_a0</doc>
<params subtype="kbd_m1_a0" interface="10" drv="ec" map="onoff"
clobber_ok=""></params>
</control>
<control>
<name>kbd_m1_a1</name>
<doc>kbd_m1_a1</doc>
<params subtype="kbd_m1_a1" interface="10" drv="ec" map="onoff"
clobber_ok=""></params>
</control>
<control>
<name>kbd_m2_a0</name>
<doc>kbd_m2_a0</doc>
<params subtype="kbd_m2_a0" interface="10" drv="ec" map="onoff"
clobber_ok=""></params>
</control>
<control>
<name>kbd_m2_a1</name>
<doc>kbd_m2_a1</doc>
<params subtype="kbd_m2_a1" interface="10" drv="ec" map="onoff"
clobber_ok=""></params>
</control>
<control>
<name>avg_ppvar_vbat_ma</name>
<doc>milliamps being consumed (discharging/positive) or supplied
(charging/negative) to the battery. 1 minute running
average</doc>
<params cmd="get" subtype="avg_milliamps" interface="10"
drv="ec"></params>
</control>
<control>
<name>avg_ppvar_vbat_mv</name>
<doc>millivolts of the battery. 1 minute running average</doc>
<params cmd="get" subtype="avg_millivolts" interface="10"
drv="ec"></params>
</control>
<control>
<name>avg_ppvar_vbat_mw</name>
<doc>milliwatts being consumed (discharging) or supplied
(charging) to the battery. 1 minute running average</doc>
<params cmd="get" subtype="avg_milliwatts" interface="10"
drv="ec"></params>
</control>
<control>
<name>ppvar_vbat_ma</name>
<doc>milliamps being consumed (discharging/positive) or supplied
(charging/negative) to the battery</doc>
<params cmd="get" subtype="milliamps" interface="10" drv="ec">
</params>
</control>
<control>
<name>ppvar_vbat_mv</name>
<doc>millivolts of the battery</doc>
<params cmd="get" subtype="millivolts" interface="10" drv="ec">
</params>
</control>
<control>
<name>ppvar_vbat_mw</name>
<doc>milliwatts being consumed (discharging) or supplied
(charging) to the battery</doc>
<params cmd="get" subtype="milliwatts" interface="10" drv="ec">
</params>
</control>
<control>
<name>battery_tempc</name>
<doc>battery temperature in degrees Celsius</doc>
<params cmd="get" subtype="battery_tempc" interface="10"
drv="ec"></params>
</control>
<control>
<name>battery_charge_percent</name>
<doc>battery charge in percent</doc>
<params cmd="get" subtype="battery_charge_percent" interface="10"
drv="ec"></params>
</control>
<control>
<name>battery_charge_mah</name>
<doc>battery charge in mAh</doc>
<params cmd="get" subtype="battery_charge_mah" interface="10"
drv="ec"></params>
</control>
<control>
<name>battery_full_charge_mah</name>
<doc>battery last full charge in mAh</doc>
<params cmd="get" subtype="battery_full_charge_mah"
interface="10" drv="ec"></params>
</control>
<control>
<name>battery_full_design_mah</name>
<doc>battery design full capacity in mAh</doc>
<params cmd="get" subtype="battery_full_design_mah"
interface="10" drv="ec"></params>
</control>
<control>
<name>pwr_button_hold</name>
<doc>milliseconds to hold the power button</doc>
<params cmd="get" interface="10" drv="na" />
<params cmd="set" subtype='button_hold' interface="10"
drv="ec" input_type="int" ec_cmd="powerbtn"/>
</control>
<control>
<name>power_state</name>
<doc>Used to turn the DUT off and on</doc>
<params cmd="set" interface="servo" drv="cros_ec_power"
input_type="str" reset_hold="0.1" reset_recovery="0.5" />
</control>
<control>
<name>ec_chip</name>
<doc>EC chip name (read-only)</doc>
<params cmd="get" subtype="chip" interface="servo"
drv="cros_chip" chip="unknown" />
</control>
<control>
<name>usbpd_chip</name>
<doc>USB PD chip name (read-only)</doc>
<params cmd="get" subtype="chip" interface="servo"
drv="cros_chip" chip="unknown" />
</control>
<control>
<name>fpmcu_chip</name>
<doc>Fingerprint MCU chip name (read-only)</doc>
<params cmd="get" subtype="chip" interface="servo"
drv="cros_chip" chip="unknown" />
</control>
</root>