blob: fec4bfc14089822d745ad586252a6831c66a27f3 [file] [log] [blame]
<root>
<!-- FP MCU is also named 'usbpd' for compatibility with previous scripts -->
<!-- FP MCU UART Controls -->
<control>
<name>uart4_pty</name>
<alias>raw_fpmcu_uart_pty,raw_usbpd_uart_pty</alias>
<doc>Pseudo-terminal (pty) thats connnected to FP MCU's
uart console</doc>
<params cmd="get" subtype="pty" interface="1" drv="uart" clobber_ok=""
servo_v4_interface="2" servo_micro_interface="2"></params>
</control>
<!-- EC-3PO console interpreter for FP MCU -->
<control>
<name>ec3po_fpmcu_uart_pty</name>
<alias>ec3po_usbpd_uart_pty,fpmcu_uart_pty,usbpd_uart_pty</alias>
<doc>FP MCU UART console provided via EC-3PO console interpreter.</doc>
<params cmd="get" subtype="pty" interface="9" drv="uart"></params>
</control>
<control>
<name>fpmcu_ec3po_interp_connect</name>
<alias>usbpd_ec3po_interp_connect</alias>
<doc>State indicating if interpreter is listening to the EC UART.</doc>
<params interface="9" drv="ec3po_driver" map="onoff" init="on"
subtype="interp_connect" clobber_ok=""></params>
</control>
<control>
<name>uart4_baudrate</name>
<alias>fpmcu_uart_baudrate,usbpd_uart_baudrate</alias>
<doc>Baudrate for FP MCU's uart console</doc>
<params drv="uart" subtype="props" line_prop="baudrate" clobber_ok=""
interface="1"></params>
</control>
<control>
<name>uart4_parity</name>
<alias>fpmcu_uart_parity,usbpd_uart_parity</alias>
<doc>Parity for FP MCU's uart console</doc>
<params drv="uart" subtype="props" line_prop="parity" clobber_ok=""
interface="1" map="uart_parity"></params>
</control>
<control>
<name>uart4_sbits</name>
<alias>fpmcu_uart_sbits,usbpd_uart_sbits</alias>
<doc>Number of stop bits for FP MCU's uart console</doc>
<params drv="uart" subtype="props" line_prop="sbits" clobber_ok=""
interface="1" map="uart_sbits"></params>
</control>
<control>
<name>uart4_bits</name>
<alias>fpmcu_uart_bits,usbpd_uart_bits</alias>
<doc>Number of data bits for FP MCU's uart console</doc>
<params drv="uart" subtype="props" line_prop="bits" clobber_ok=""
interface="1" map="uart_bits"></params>
</control>
<!-- FP MCU UART Automation Controls -->
<control>
<name>fpmcu_uart_cmd</name>
<alias>usbpd_uart_cmd</alias>
<doc>Set to send command to FP MCU UART. Get to obtain the
matched results with the regular expression of
fpmcu_uart_regexp.</doc>
<params subtype="uart_cmd" interface="9" drv="uart"
input_type="str"></params>
</control>
<control>
<name>fpmcu_uart_multicmd</name>
<alias>usbpd_uart_multicmd</alias>
<doc>Set to send multiple commands to FP MCU UART.</doc>
<params subtype="uart_multicmd" interface="9" drv="uart"
input_type="str" cmd="set"></params>
</control>
<control>
<name>fpmcu_uart_regexp</name>
<alias>usbpd_uart_regexp</alias>
<doc>List of regular expressions to match the response of
fpmcu_uart_cmd.</doc>
<params subtype="uart_regexp" interface="9" drv="uart"
input_type="str"></params>
</control>
<control>
<name>fpmcu_uart_timeout</name>
<alias>usbpd_uart_timeout</alias>
<doc>Timeout value for a response after issuing a command on
fpmcu_uart_cmd.</doc>
<params subtype="uart_timeout" interface="9" drv="uart"
input_type="float"></params>
</control>
<control>
<name>fpmcu_uart_capture</name>
<alias>usbpd_uart_capture</alias>
<doc>Enables capture of FP MCU console via
fpmcu_uart_stream</doc>
<params subtype="uart_capture" interface="9" drv="uart"
map="onoff"></params>
</control>
<control>
<name>fpmcu_uart_stream</name>
<alias>usbpd_uart_stream</alias>
<doc>FP MCU console stream captured while fpmcu_uart_capture is
set to 'on'</doc>
<params cmd="get" subtype="uart_stream" interface="9"
drv="uart"></params>
</control>
<!-- FP MCU UART Buffers & VREF Controls -->
<control>
<name>jtag_buf_en</name>
<alias>fpmcu_uart_en,usbpd_uart_en</alias>
<doc>Enabled JTAG buffer on servo ... re-purposed to uart4.</doc>
<params clobber_ok="" init="on"></params>
</control>
<control>
<name>uart4_on_flex_en</name>
<alias>fpmcu_uart_on_flex_en,usbpd_uart_on_flex_en</alias>
<doc>Enables JTAG buffer on servo flex ... repurposed to uart4.</doc>
<params interface="2" servo_v3_interface="4" drv="pca95xx" subtype="gpio"
slv="0x26" offset="3" map="onoff_i" init="on" clobber_ok=""></params>
</control>
<!-- Override from definition in servo_v2_r0.xml -->
<control>
<name>dev_mode</name>
<alias>fpmcu_boot_mode,usbpd_boot_mode</alias>
<params clobber_ok="" od="PU" map="onoff_i"></params>
</control>
<control>
<name>pch_disable</name>
<alias>fpmcu_reset,usbpd_reset</alias>
<params clobber_ok=""></params>
</control>
</root>