summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Michalec <tm@semihalf.com>2022-08-26 08:30:29 +0200
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-13 11:18:36 +0000
commit8e2281be3d9d077aea4b6611e8a8c183e7aab97b (patch)
treedac56288efdaaff419e0165c6004d836f33c6226
parentff4db5d137742621cc6252016721b8c3ba51c018 (diff)
downloadchrome-ec-8e2281be3d9d077aea4b6611e8a8c183e7aab97b.tar.gz
zephyr: rex: usb_mux: Split struct usb_mux in rex board
Update rex board to use new struct usb_mux_chain. BUG=b:236274003 TEST=zmake build -a TEST=./twister -T zephyr/test BRANCH=None Cq-Depend: chromium:3779618 Signed-off-by: Tomasz Michalec <tm@semihalf.com> Change-Id: I8b197640263cd71a6b0b79bf316f4d2ee3b87622 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3858650 Tested-by: Tomasz Michalec <tmichalec@google.com> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Tomasz Michalec <tmichalec@google.com>
-rw-r--r--zephyr/projects/rex/usbc.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/zephyr/projects/rex/usbc.dts b/zephyr/projects/rex/usbc.dts
index f02abd6780..8b3d0aa316 100644
--- a/zephyr/projects/rex/usbc.dts
+++ b/zephyr/projects/rex/usbc.dts
@@ -15,7 +15,11 @@
ppc = <&ppc_port0_syv>;
tcpc = <&tcpc_port0>;
chg = <&charger>;
- usb-muxes = <&usb_c0_hb_retimer &virtual_mux_c0>;
+ usb-mux-chain-0 {
+ compatible = "cros-ec,usb-mux-chain";
+ usb-muxes = <&usb_c0_hb_retimer
+ &virtual_mux_c0>;
+ };
};
port0-muxes {
virtual_mux_c0: virtual-mux-c0 {