mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
4ebf4987c0
Introduce a common module to provide an API to instantiate UCSI device for Cypress CCGx Type-C controller. Individual bus drivers need to select this one on demand. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
12 lines
318 B
C
12 lines
318 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef __I2C_CCGX_UCSI_H_
|
|
#define __I2C_CCGX_UCSI_H_
|
|
|
|
struct i2c_adapter;
|
|
struct i2c_client;
|
|
struct software_node;
|
|
|
|
struct i2c_client *i2c_new_ccgx_ucsi(struct i2c_adapter *adapter, int irq,
|
|
const struct software_node *swnode);
|
|
#endif /* __I2C_CCGX_UCSI_H_ */
|