summaryrefslogtreecommitdiff
path: root/zephyr/include
diff options
context:
space:
mode:
authorjeffrey Lin <jeffrey_Lin@pegatron.corp-partner.google.com>2023-03-08 16:20:12 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-13 02:50:34 +0000
commit6bf531fc1c115b24e2148fc4e040081ef354cdf6 (patch)
treeb8f887f361131f8830e16f1cc31daefeb1734801 /zephyr/include
parent11ca464fa5b68f7e9cabbe662c63d5c94a83b67f (diff)
downloadchrome-ec-6bf531fc1c115b24e2148fc4e040081ef354cdf6.tar.gz
zephyr/test: add ps8743 usb mux emulator
Implemented ps8743 usb mux emulator BUG=b:250798561 TEST=none BRANCH=none Change-Id: I8c9f5845d43de8b23f0cb25ad98f8a27eac9cfaf Signed-off-by: jeffrey Lin <jeffrey_Lin@pegatron.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4318613 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Tested-by: Jeffrey Lin <jeffrey_lin@pegatron.corp-partner.google.com> Commit-Queue: Jeffrey Lin <jeffrey_lin@pegatron.corp-partner.google.com> Reviewed-by: Jeffrey Lin <jeffrey_lin@pegatron.corp-partner.google.com>
Diffstat (limited to 'zephyr/include')
-rw-r--r--zephyr/include/emul/emul_ps8743.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/include/emul/emul_ps8743.h b/zephyr/include/emul/emul_ps8743.h
new file mode 100644
index 0000000000..503d014317
--- /dev/null
+++ b/zephyr/include/emul/emul_ps8743.h
@@ -0,0 +1,13 @@
+/* Copyright 2023 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef EMUL_PS8743_H
+#define EMUL_PS8743_H
+
+#include <zephyr/drivers/emul.h>
+
+int ps8743_emul_peek_reg(const struct emul *emul, int reg);
+
+#endif