summaryrefslogtreecommitdiff
path: root/include/driver/ppc/syv682x_public.h
blob: f366da59b31fa8979967318505a55c9d18db87ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright 2021 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.
 */

/* Silergy SYV682x Type-C Power Path Controller */

#ifndef __CROS_EC_DRIVER_PPC_SYV682X_PUBLIC_H
#define __CROS_EC_DRIVER_PPC_SYV682X_PUBLIC_H

/* I2C addresses */
#define SYV682X_ADDR0_FLAGS		0x40
#define SYV682X_ADDR1_FLAGS		0x41
#define SYV682X_ADDR2_FLAGS		0x42
#define SYV682x_ADDR3_FLAGS		0x43

extern const struct ppc_drv syv682x_drv;

void syv682x_interrupt(int port);

#endif /* __CROS_EC_DRIVER_PPC_SYV682X_PUBLIC_H */