summaryrefslogtreecommitdiff
path: root/include/driver/tcpm/rt1718s_public.h
blob: 62bade6ab9e655504520a93a2418289bca1fb1ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* 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.
 */

/* Richtek Type-C port controller */

#ifndef __CROS_EC_DRIVER_TCPM_RT1718S_PUBLIC_H
#define __CROS_EC_DRIVER_TCPM_RT1718S_PUBLIC_H

#define RT1718S_I2C_ADDR1_FLAGS 0x43
#define RT1718S_I2C_ADDR2_FLAGS 0x40

#define RT1718S_VID 0x29CF
#define RT1718S_PID 0x1718

#define RT1718S_DEVICE_ID 0x04
#define RT1718S_DEVICE_ID_ES1 0x4511
#define RT1718S_DEVICE_ID_ES2 0x4513

extern const struct tcpm_drv rt1718s_tcpm_drv;
extern const struct bc12_drv rt1718s_bc12_drv;

#endif /* __CROS_EC_DRIVER_TCPM_RT1718S_PUBLIC_H */