summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Michalec <tm@semihalf.com>2022-07-20 14:03:38 +0200
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-13 11:18:03 +0000
commitc9d7a7d62fe12c1609a31c54272534ac664396ac (patch)
treebdabb82e8529e999dff8959ab692d1b262506206
parent713e44a1648853db8b4fb936faa6d349e858ec01 (diff)
downloadchrome-ec-c9d7a7d62fe12c1609a31c54272534ac664396ac.tar.gz
zephyr: brya: usb_mux: Split struct usb_mux in brya board
Update brya 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: Icccb0299cea28c21656ab2faf8dac10309ae07ea Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780418 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/brya/usbc.dts17
1 files changed, 14 insertions, 3 deletions
diff --git a/zephyr/projects/brya/usbc.dts b/zephyr/projects/brya/usbc.dts
index d5f5ea5440..84c1560542 100644
--- a/zephyr/projects/brya/usbc.dts
+++ b/zephyr/projects/brya/usbc.dts
@@ -14,7 +14,11 @@
bc12 = <&bc12_port0>;
tcpc = <&tcpc_port0>;
chg = <&charger>;
- usb-muxes = <&usb_c0_bb_retimer &virtual_mux_c0>;
+ usb-mux-chain-0 {
+ compatible = "cros-ec,usb-mux-chain";
+ usb-muxes = <&usb_c0_bb_retimer
+ &virtual_mux_c0>;
+ };
};
port0-muxes {
virtual_mux_c0: virtual-mux-c0 {
@@ -27,7 +31,10 @@
reg = <1>;
bc12 = <&bc12_port1>;
tcpc = <&tcpc_port1>;
- usb-muxes = <&virtual_mux_c1 &tcpci_mux_c1>;
+ usb-mux-chain-1 {
+ compatible = "cros-ec,usb-mux-chain";
+ usb-muxes = <&virtual_mux_c1 &tcpci_mux_c1>;
+ };
};
port1-muxes {
tcpci_mux_c1: tcpci-mux-c1 {
@@ -44,7 +51,11 @@
reg = <2>;
bc12 = <&bc12_port2>;
tcpc = <&tcpc_port2>;
- usb-muxes = <&usb_c2_bb_retimer &virtual_mux_c2>;
+ usb-mux-chain-2 {
+ compatible = "cros-ec,usb-mux-chain";
+ usb-muxes = <&usb_c2_bb_retimer
+ &virtual_mux_c2>;
+ };
};
port2-muxes {
virtual_mux_c2: virtual-mux-c2 {