summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/tcpc_it8xxx2.h
blob: 7229cbb9a135d19a3f72ad085178b0a487e2dbb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright 2022 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include <devicetree.h>
#include "driver/tcpm/it8xxx2_pd_public.h"

#define IT8XXX2_TCPC_COMPAT ite_it8xxx2_tcpc

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