diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-01-05 16:19:31 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-02-15 10:04:53 +0100 |
commit | 4ebf4987c0918ec6a08ece8ee745af44af02dee0 (patch) | |
tree | af87089167bf6d8f190af79a8e13a7ea80ec44c1 /drivers/i2c/busses/i2c-ccgx-ucsi.h | |
parent | 9c02d4011e92b92aa008d6907216a8e501b0443a (diff) | |
download | linux-4ebf4987c0918ec6a08ece8ee745af44af02dee0.tar.bz2 |
i2c: Introduce common module to instantiate CCGx UCSI
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-ccgx-ucsi.h')
-rw-r--r-- | drivers/i2c/busses/i2c-ccgx-ucsi.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-ccgx-ucsi.h b/drivers/i2c/busses/i2c-ccgx-ucsi.h new file mode 100644 index 000000000000..739ac7a4b117 --- /dev/null +++ b/drivers/i2c/busses/i2c-ccgx-ucsi.h @@ -0,0 +1,11 @@ +/* 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_ */ |