History log of /external/autotest/server/cros/servo/plankton.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
07a848f9faddc3302cf46e7d3238adcbabfaca6c 13-Jan-2016 Scott <scollyer@chromium.org> faft: Modified Plankton class used for console/servo access

Previous version of /servo/plankton.py contained two similar Plankton
classes which served similar purposes. This was noted in CL314252 with
the statement that combining the two Plankton classes would be done
in a separate CL.

This change also includes changes to the two plankton based tests that
were built upon the original Plankton class. The tests themselves weren't
modified, however they are now built upon the combined plankton class
which means they also need to inherit the firwareTest class.

BRANCH=none
BUG=chrome-os-partner:49297
TEST=Manual
Connected Plankton to Samus and ran both tests to ensure that they
correctly accessed the servod methods that are required.

Change-Id: I8ada7cbadc1f3cf60ac1830c28e14e4c2e5cb7e0
Signed-off-by: Scott Collyer <scollyer@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/321403
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/servo/plankton.py
fe06ed8afdd7323a1f3ee60c746b5c0335c659c0 06-Nov-2015 Scott <scollyer@chromium.org> faft: Add USB Type C PD infrastructure

Added support for Type C PD testing via the usbpd console. For case
where the usbpd console is the same as the ec console (glados, plankton, etc),
the usbpd conosle is assigned to be the same as the ec console.

Added changes to access both Plankton and a PD capable DUT (samus, glados, ..)
at the same time. The plankton servo host is only started if plankton servo
arguments are detected in the args section of the test script command line.

Inluded one example test PDConnect that disconnects then reconnects via
changing the dualrole setting, and verifies that a new PD contract is established.

BRANCH=none
BUG=chromium:561007
TEST=Manual
Tested both samus to plankton and glados to plankton cases using my own local machine.

Change-Id: Ic51173f02e9932f5c1d907288037bea54c8f1c3d
Signed-off-by: Scott Collyer <scollyer@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/314252
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/servo/plankton.py
4408fec07e090c696760acad5802e0667c55073b 10-Mar-2015 Rong Chang <rongchang@chromium.org> Add basic Plankton DP mux test

USB type C mux DP and USB3 signals. This test switches the mux between
DP and USB3 and checks if USB3 device is detected.

BUG=chrome-os-partner:33362
TEST=manual
test_that --fast -b host_board dut_ip firmware_TypeCProbeUSB3

Change-Id: I875b6084556ed237f86313b15a7980efa51706e0
Reviewed-on: https://chromium-review.googlesource.com/257946
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Pin-chih Lin <johnylin@chromium.org>
Tested-by: Pin-chih Lin <johnylin@chromium.org>
/external/autotest/server/cros/servo/plankton.py
d5c46faf477d1de03beb4fd6cc2646c67a7c6e43 26-Mar-2015 Johny Lin <johnylin@google.com> Add VBUS current check for type-C charging test

1. add poll_pd_state for plankton class. The state transition (between
sink and source) will take a short time. If we want to make sure test
checking in stable state, we should poll it.

2. add VBUS current check (same as the metric of factory test). Check
current is around 3A in charging 5V, and others current is over 0A.

3. make plankton object as local since it is only used inside run_once.

BUG=chrome-os-partner:33362
TEST=manual
test_that --fast -b typec_host_board due_ip_address \
firmware_TypeCCharging

Change-Id: I9a544b3a0e96a35df916069619895172612333e5
Reviewed-on: https://chromium-review.googlesource.com/262536
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Pin-chih Lin <johnylin@chromium.org>
Tested-by: Pin-chih Lin <johnylin@chromium.org>
/external/autotest/server/cros/servo/plankton.py
1f255912809a9caff9ee5236bb13c9394cf1b755 11-Mar-2015 Johny Lin <johnylin@google.com> Add init_io_expander for Plankton board test

Set Plankton IO expander value to initialize switches and check
initialized settings.

BUG=chrome-os-partner:33362
TEST=manual

Change-Id: I1504fe94613be2f76001d35a30791f0d3336db90
Reviewed-on: https://chromium-review.googlesource.com/259432
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Pin-chih Lin <johnylin@chromium.org>
Tested-by: Pin-chih Lin <johnylin@chromium.org>
/external/autotest/server/cros/servo/plankton.py
42ea8dea223584052ed9452e614cde1568847fd8 09-Mar-2015 Rong Chang <rongchang@chromium.org> Add basic Plankton USB type C charging test

Plankton is a USB type C testing hardware that can be configured as
charger or power sink. Plankton is controlled by servod, this CL adds
Plankton class that provides high level type C controls.

BUG=chrome-os-partner:33362
TEST=manual
test_that --fast -b typec_host_board due_ip_address \
firmware_TypeCCharging

Change-Id: I48d6bc088144750103fccab3d9abbce1ce8c374d
Reviewed-on: https://chromium-review.googlesource.com/256275
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Rong Chang <rongchang@chromium.org>
Tested-by: Rong Chang <rongchang@chromium.org>
/external/autotest/server/cros/servo/plankton.py