summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/tcpc_it8xxx2.h
blob: c619656667889020199301878017b2927e77487c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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 <zephyr/devicetree.h>
#include "driver/tcpm/it8xxx2_pd_public.h"

#define IT8XXX2_TCPC_COMPAT ite_it8xxx2_usbpd

#define TCPC_CONFIG_IT8XXX2(id)                   \
	{                                         \
		.bus_type = EC_BUS_TYPE_EMBEDDED, \
		.drv = &it8xxx2_tcpm_drv,         \
		.flags = 0,                       \
	},