servo_v4: Added dut-control for DTS mode on/off
Servo_v4 has a console command 'dts on|off' which is used to enable or
disable DTS mode. When this mode is disabled, servo_v4 DUT port will
connect to the DUT as a regular SRC UFP. When enabled, it connects as
a DTS which triggers CCD mode to be enabled.
This CL adds a dut-control to access this EC console command. Added
both a getter and a setter method.
TEST=Launch servod for servo_v4. Tested the following:
Signed-off-by: Scott Collyer <email@example.com>
Commit-Ready: Scott Collyer <firstname.lastname@example.org>
Tested-by: Scott Collyer <email@example.com>
Reviewed-by: Wai-Hong Tam <firstname.lastname@example.org>
2 files changed