diff options
author | Tomasz Michalec <tm@semihalf.com> | 2022-07-20 14:00:43 +0200 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-13 11:17:34 +0000 |
commit | cee97725249c4a7b1f800544ad9620f133f36316 (patch) | |
tree | b293cf33c5ba79e2401258652df15493c7853ca0 | |
parent | 5df78275df9984a4984c97997f846f4899247193 (diff) | |
download | chrome-ec-cee97725249c4a7b1f800544ad9620f133f36316.tar.gz |
zephyr: herobrine: usb_mux: Split struct usb_mux in herobrine boards
Update herobrine boards 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: If664fd0815a9227e1c2d5aa848944cad655f739a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780415
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
-rw-r--r-- | zephyr/projects/herobrine/usbc_evoker.dts | 10 | ||||
-rw-r--r-- | zephyr/projects/herobrine/usbc_herobrine.dts | 10 | ||||
-rw-r--r-- | zephyr/projects/herobrine/usbc_hoglin.dts | 10 | ||||
-rw-r--r-- | zephyr/projects/herobrine/usbc_villager.dts | 10 |
4 files changed, 32 insertions, 8 deletions
diff --git a/zephyr/projects/herobrine/usbc_evoker.dts b/zephyr/projects/herobrine/usbc_evoker.dts index 0597ac4134..20bd48382f 100644 --- a/zephyr/projects/herobrine/usbc_evoker.dts +++ b/zephyr/projects/herobrine/usbc_evoker.dts @@ -15,7 +15,10 @@ ppc = <&ppc_port0>; tcpc = <&tcpc_port0>; chg = <&charger>; - usb-muxes = <&usb_mux_0>; + usb-mux-chain-0 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_0>; + }; }; usb_mux_0: usb-mux-0 { compatible = "parade,usbc-mux-ps8xxx"; @@ -27,7 +30,10 @@ bc12 = <&bc12_port1>; ppc = <&ppc_port1>; tcpc = <&tcpc_port1>; - usb-muxes = <&usb_mux_1>; + usb-mux-chain-1 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_1>; + }; }; usb_mux_1: usb-mux-1 { compatible = "parade,usbc-mux-ps8xxx"; diff --git a/zephyr/projects/herobrine/usbc_herobrine.dts b/zephyr/projects/herobrine/usbc_herobrine.dts index 4d18a3e365..675286ecd7 100644 --- a/zephyr/projects/herobrine/usbc_herobrine.dts +++ b/zephyr/projects/herobrine/usbc_herobrine.dts @@ -16,7 +16,10 @@ ppc_alt = <&ppc_port0_alt>; tcpc = <&tcpc_port0>; chg = <&charger>; - usb-muxes = <&usb_mux_0>; + usb-mux-chain-0 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_0>; + }; }; usb_mux_0: usb-mux-0 { compatible = "parade,usbc-mux-ps8xxx"; @@ -28,7 +31,10 @@ bc12 = <&bc12_port1>; ppc = <&ppc_port1>; tcpc = <&tcpc_port1>; - usb-muxes = <&usb_mux_1>; + usb-mux-chain-1 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_1>; + }; }; usb_mux_1: usb-mux-1 { compatible = "parade,usbc-mux-ps8xxx"; diff --git a/zephyr/projects/herobrine/usbc_hoglin.dts b/zephyr/projects/herobrine/usbc_hoglin.dts index 0597ac4134..20bd48382f 100644 --- a/zephyr/projects/herobrine/usbc_hoglin.dts +++ b/zephyr/projects/herobrine/usbc_hoglin.dts @@ -15,7 +15,10 @@ ppc = <&ppc_port0>; tcpc = <&tcpc_port0>; chg = <&charger>; - usb-muxes = <&usb_mux_0>; + usb-mux-chain-0 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_0>; + }; }; usb_mux_0: usb-mux-0 { compatible = "parade,usbc-mux-ps8xxx"; @@ -27,7 +30,10 @@ bc12 = <&bc12_port1>; ppc = <&ppc_port1>; tcpc = <&tcpc_port1>; - usb-muxes = <&usb_mux_1>; + usb-mux-chain-1 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_1>; + }; }; usb_mux_1: usb-mux-1 { compatible = "parade,usbc-mux-ps8xxx"; diff --git a/zephyr/projects/herobrine/usbc_villager.dts b/zephyr/projects/herobrine/usbc_villager.dts index 0597ac4134..20bd48382f 100644 --- a/zephyr/projects/herobrine/usbc_villager.dts +++ b/zephyr/projects/herobrine/usbc_villager.dts @@ -15,7 +15,10 @@ ppc = <&ppc_port0>; tcpc = <&tcpc_port0>; chg = <&charger>; - usb-muxes = <&usb_mux_0>; + usb-mux-chain-0 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_0>; + }; }; usb_mux_0: usb-mux-0 { compatible = "parade,usbc-mux-ps8xxx"; @@ -27,7 +30,10 @@ bc12 = <&bc12_port1>; ppc = <&ppc_port1>; tcpc = <&tcpc_port1>; - usb-muxes = <&usb_mux_1>; + usb-mux-chain-1 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_mux_1>; + }; }; usb_mux_1: usb-mux-1 { compatible = "parade,usbc-mux-ps8xxx"; |