usb_power_delivery: Add new tests
[sigrok-test.git] / decoder / test / usb_power_delivery / test.conf
index 4f6e72aac50a45974eda4e81636693765b51af2b..4ee45b511b2987051b880c991d9b009382900480 100644 (file)
@@ -30,3 +30,33 @@ test macbook2015_hdmi
        output usb_power_delivery annotation match macbook2015_hdmi.output
        output usb_power_delivery python match macbook2015_hdmi.python
        output usb_power_delivery binary class raw-data match macbook2015_hdmi.bin_raw_data
+
+test thinkpad_yoga_370-anker_powerbank
+       protocol-decoder usb_power_delivery channel cc1=2 channel cc2=3 option fulltext=yes
+       input usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-anker_powerbank-both_orientations.sr
+       output usb_power_delivery annotation match thinkpad_yoga_370-anker_powerbank-both_orientations.output
+       output usb_power_delivery binary class raw-data match thinkpad_yoga_370-anker_powerbank-both_orientations.bin_raw_data
+
+test thinkpad_yoga_370-aukey_45w
+       protocol-decoder usb_power_delivery channel cc1=0 channel cc2=1 option fulltext=yes
+       input usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-aukey_45w.sr
+       output usb_power_delivery annotation match thinkpad_yoga_370-aukey_45w.output
+       output usb_power_delivery binary class raw-data match thinkpad_yoga_370-aukey_45w.bin_raw_data
+
+test thinkpad_yoga_370-passtrough_dongle
+       protocol-decoder usb_power_delivery channel cc1=0 channel cc2=1 option fulltext=yes
+       input usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-passtrough_dongle-anker_powerbank.sr
+       output usb_power_delivery annotation match thinkpad_yoga_370-passtrough_dongle-anker_powerbank.output
+       output usb_power_delivery binary class raw-data match thinkpad_yoga_370-passtrough_dongle-anker_powerbank.bin_raw_data
+
+test zy12pds_sink_module-65w_noname_supply
+       protocol-decoder usb_power_delivery channel cc1=2 channel cc2=3 option fulltext=yes
+       input usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-65w_noname_supply.sr
+       output usb_power_delivery annotation match zy12pds_sink_module-65w_noname_supply.output
+       output usb_power_delivery binary class raw-data match zy12pds_sink_module-65w_noname_supply.bin_raw_data
+
+test zy12pds_sink_module-anker_powerbank
+       protocol-decoder usb_power_delivery channel cc1=2 channel cc2=3 option fulltext=yes
+       input usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-anker_powerbank.sr
+       output usb_power_delivery annotation match zy12pds_sink_module-anker_powerbank.output
+       output usb_power_delivery binary class raw-data match zy12pds_sink_module-anker_powerbank.bin_raw_data