summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-11-23 11:29:46 +1100
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-24 00:14:14 +0000
commit2e3437828d0b50f8934f5e9bda94e5d29a7c4460 (patch)
treec93788adca4cc0b1d6cfc1fecba0ea73a85895d4
parent5873fd3836b28d954d2024ab8a14563bf209f5a3 (diff)
downloadchrome-ec-2e3437828d0b50f8934f5e9bda94e5d29a7c4460.tar.gz
nissa: Configure mux resets for ANX7483
The ANX7483 is only turned on in S5 state and higher, and will default to a high power consumption state. Following the skyrim change, set the flag to indicate that the mux resets in G3 to ensure the USB mux code resets it to None. BUG=none TEST=Check on nivviks that the control register is set to the correct value (same as at startup) after the AP goes to G3 and is then rebooted. BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I011bcb32028de85153e4c738da999e40624a22ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4050001 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r--zephyr/program/nissa/craask/overlay.dtsi2
-rw-r--r--zephyr/program/nissa/nivviks/overlay.dtsi2
-rw-r--r--zephyr/program/nissa/xivu/overlay.dtsi2
3 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/program/nissa/craask/overlay.dtsi b/zephyr/program/nissa/craask/overlay.dtsi
index cbfda0263e..59a85d818e 100644
--- a/zephyr/program/nissa/craask/overlay.dtsi
+++ b/zephyr/program/nissa/craask/overlay.dtsi
@@ -4,6 +4,7 @@
*/
#include <cros/thermistor/thermistor.dtsi>
+#include <dt-bindings/usbc_mux.h>
/ {
aliases {
@@ -356,6 +357,7 @@
compatible = "analogix,anx7483";
reg = <0x3e>;
board-set = "anx7483_set_default_tuning";
+ flags = <USB_MUX_FLAG_RESETS_IN_G3>;
};
};
diff --git a/zephyr/program/nissa/nivviks/overlay.dtsi b/zephyr/program/nissa/nivviks/overlay.dtsi
index c2d5e3f24b..0875b8891d 100644
--- a/zephyr/program/nissa/nivviks/overlay.dtsi
+++ b/zephyr/program/nissa/nivviks/overlay.dtsi
@@ -4,6 +4,7 @@
*/
#include <cros/thermistor/thermistor.dtsi>
+#include <dt-bindings/usbc_mux.h>
/ {
aliases {
@@ -371,6 +372,7 @@
compatible = "analogix,anx7483";
reg = <0x3e>;
board-set = "anx7483_set_default_tuning";
+ flags = <USB_MUX_FLAG_RESETS_IN_G3>;
};
};
diff --git a/zephyr/program/nissa/xivu/overlay.dtsi b/zephyr/program/nissa/xivu/overlay.dtsi
index 73cc10e801..f5ea6bc258 100644
--- a/zephyr/program/nissa/xivu/overlay.dtsi
+++ b/zephyr/program/nissa/xivu/overlay.dtsi
@@ -4,6 +4,7 @@
*/
#include <cros/thermistor/thermistor.dtsi>
+#include <dt-bindings/usbc_mux.h>
/ {
aliases {
@@ -340,6 +341,7 @@
compatible = "analogix,anx7483";
reg = <0x3e>;
board-set = "anx7483_set_default_tuning";
+ flags = <USB_MUX_FLAG_RESETS_IN_G3>;
};
};