diff options
author | Duncan Laurie <dlaurie@google.com> | 2018-11-29 17:59:04 -0800 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2018-12-04 22:49:40 +0000 |
commit | 221ebdc6e56ca65cb28e6069203602e52800c6f5 (patch) | |
tree | fe30d051af1907eaaefaf0b3fa84df83e5c56b29 /src/ec/google/wilco/chip.c | |
parent | 833a3a879d9af4c793233dd537f5fa9da5b3c110 (diff) |
ec/google/wilco: Turn camera power on
Send the EC command required to turn the camera power on
and verify that it shows up on the USB bus.
Change-Id: I9e9ba712a11cef85cde91ac21a4b6b5090ef58dc
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/29987
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/ec/google/wilco/chip.c')
-rw-r--r-- | src/ec/google/wilco/chip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c index e1f468d71c..a9caaeca23 100644 --- a/src/ec/google/wilco/chip.c +++ b/src/ec/google/wilco/chip.c @@ -69,6 +69,9 @@ static void wilco_ec_init(struct device *dev) /* Enable WiFi radio */ wilco_ec_radio_control(RADIO_WIFI, 1); + + /* Turn on camera power */ + wilco_ec_send(KB_CAMERA, CAMERA_ON); } static void wilco_ec_resource(struct device *dev, int index, |