summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/ppc_ktu1125.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/usbc/ppc_ktu1125.h')
-rw-r--r--zephyr/shim/include/usbc/ppc_ktu1125.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/zephyr/shim/include/usbc/ppc_ktu1125.h b/zephyr/shim/include/usbc/ppc_ktu1125.h
new file mode 100644
index 0000000000..4ca7caca83
--- /dev/null
+++ b/zephyr/shim/include/usbc/ppc_ktu1125.h
@@ -0,0 +1,14 @@
+/* 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.
+ */
+
+#include "ppc/ktu1125_public.h"
+
+#define KTU1125_COMPAT kinetic_ktu1125
+
+#define PPC_CHIP_KTU1125(id) \
+ { \
+ .i2c_port = I2C_PORT_BY_DEV(id), \
+ .i2c_addr_flags = DT_REG_ADDR(id), .drv = &ktu1125_drv, \
+ }