ec/google/chromeec: Add new *-switch properties to USBC.CONx devices
commit6046739b9d349d43f6d064660aaf9df49a99cc5f
authorTim Wawrzynczak <twawrzynczak@chromium.org>
Mon, 18 May 2020 19:45:43 +0000 (18 13:45 -0600)
committerDuncan Laurie <dlaurie@chromium.org>
Thu, 28 May 2020 23:54:28 +0000 (28 23:54 +0000)
tree727dd3309d4a0d918e0c332deb75ab885f0510bb
parentc7854b064f7d245f8f25c95f8775c0cfd66f086f
ec/google/chromeec: Add new *-switch properties to USBC.CONx devices

The Linux ChromeOS EC driver now looks for 3 new properties under each
USBC.CONx device contained within the ChromeOS EC device. These
properties are just a reference to the device that controls the
switches for USB 2/3 muxing, SBU lines, and CC lines. It uses the new
function, soc_get_pmc_mux_device() to retrieve the device.

Change-Id: I03cd83f9b2901b5583053fac8ab6eab64717a07d
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40618
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/ec/google/chromeec/ec_acpi.c