summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/ppc_nx20p348x.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/usbc/ppc_nx20p348x.h')
-rw-r--r--zephyr/shim/include/usbc/ppc_nx20p348x.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/shim/include/usbc/ppc_nx20p348x.h b/zephyr/shim/include/usbc/ppc_nx20p348x.h
new file mode 100644
index 0000000000..2d36ab09f6
--- /dev/null
+++ b/zephyr/shim/include/usbc/ppc_nx20p348x.h
@@ -0,0 +1,13 @@
+/* Copyright 2022 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "ppc/nx20p348x_public.h"
+
+#define NX20P348X_COMPAT nxp_nx20p348x
+
+#define PPC_CHIP_NX20P348X(id) \
+ { .i2c_port = I2C_PORT_BY_DEV(id), \
+ .i2c_addr_flags = DT_REG_ADDR(id), \
+ .drv = &nx20p348x_drv },