summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/ppc_sn5s330.h
blob: eef2fca8439b566829926a83c6cb2a6461f0bf7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Copyright 2021 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/sn5s330_public.h"

#define SN5S330_COMPAT ti_sn5s330
#define SN5S330_EMUL_COMPAT cros_sn5s330_emul

#define PPC_CHIP_SN5S330(id)                                           \
	{                                                              \
		.i2c_port = I2C_PORT_BY_DEV(id),                       \
		.i2c_addr_flags = DT_REG_ADDR(id), .drv = &sn5s330_drv \
	}