blob: 60b45c0608393e0fd7c31419e01bcc69dc06b45d [file] [log] [blame]
<?xml version="1.0"?>
<root>
<include>
<name>common.xml</name>
</include>
<!-- STM32 UART -->
<control>
<name>ec_uart_capture</name>
<doc>ec_uart_capture</doc>
<params subtype="uart_capture" interface="3" drv="uart"
map="onoff"></params>
</control>
<control>
<name>ec_uart_cmd</name>
<doc>Set to send command to EC UART. Get to obtain the matched
results with the regular expression of ec_uart_regexp.</doc>
<params subtype="uart_cmd" interface="3" drv="ec"
input_type="str"></params>
</control>
<control>
<name>ec_uart_multicmd</name>
<doc>Set to send multiple commands to EC UART.</doc>
<params subtype="uart_multicmd" interface="3" drv="ec"
input_type="str" cmd="set"></params>
</control>
<control>
<name>ec_uart_regexp</name>
<doc>List of regular expressions which matches the response of
ec_uart_cmd.</doc>
<params subtype="uart_regexp" interface="3" drv="ec"
input_type="str"></params>
</control>
<control>
<name>ec_uart_stream</name>
<doc>Ec uart stream collected while ec_uart_capture is set to 'on'</doc>
<params cmd="get" subtype="uart_stream" interface="3" drv="uart"></params>
</control>
<control>
<name>ec_uart_timeout</name>
<doc>Timeout value for waiting EC UART response of issuing an
EC command.</doc>
<params subtype="uart_timeout" interface="3" drv="ec"
input_type="float"></params>
</control>
<control>
<name>raw_ec_uart_pty</name>
<doc>Pseudo-terminal (pty) thats connected to uart console</doc>
<params cmd="get" interface="2" subtype="pty" drv="uart">
</params>
</control>
<control>
<name>ec3po_ec_console</name>
<alias>ec_uart_pty</alias>
<doc>EC UART console provided via EC-3PO console interpreter.</doc>
<params cmd="get" subtype="pty" interface="3" drv="uart"></params>
</control>
<control>
<name>ec_ec3po_interp_connect</name>
<doc>State indicating if interpreter is listening to the EC UART.</doc>
<params interface="3" drv="ec3po_driver" map="onoff" init="on"
subtype="interp_connect"></params>
</control>
<control>
<name>ec_uart_baudrate</name>
<doc>Baudrate for CPU's uart console</doc>
<params drv="uart" subtype="props" line_prop="baudrate"
interface="2"></params>
</control>
<control>
<name>ec_uart_parity</name>
<doc>Parity for CPU's uart console</doc>
<params drv="uart" subtype="props" line_prop="parity"
interface="2" map="uart_parity"></params>
</control>
<control>
<name>ec_uart_sbits</name>
<doc>Number of stop bits for CPU's uart console</doc>
<params drv="uart" subtype="props" line_prop="sbits"
interface="2" map="uart_sbits"></params>
</control>
<control>
<name>ec_uart_bits</name>
<doc>Number of data bits for CPU's uart console</doc>
<params drv="uart" subtype="props" line_prop="bits"
interface="2" map="uart_bits"></params>
</control>
<!-- GPIOS -->
<control>
<name>boot_mode</name>
<doc>EC monitor mode gpio</doc>
<params interface="1" drv="gpio" offset="2" map="yesno" init="no">
</params>
</control>
<control>
<name>cold_reset</name>
<doc>STM32 reset line</doc>
<params interface="1" drv="gpio" offset="3" map="onoff" od="PU" init="off">
</params>
</control>
</root>