drivers: i3c: cdns: add api call for default handler
add api calls for the default handlers for i2c and i3c rtio Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
parent
0e5916f8e4
commit
ee0abb15b0
1 changed files with 7 additions and 0 deletions
|
|
@ -3284,6 +3284,9 @@ static int cdns_i3c_bus_init(const struct device *dev)
|
||||||
static DEVICE_API(i3c, api) = {
|
static DEVICE_API(i3c, api) = {
|
||||||
.i2c_api.configure = cdns_i3c_i2c_api_configure,
|
.i2c_api.configure = cdns_i3c_i2c_api_configure,
|
||||||
.i2c_api.transfer = cdns_i3c_i2c_api_transfer,
|
.i2c_api.transfer = cdns_i3c_i2c_api_transfer,
|
||||||
|
#ifdef CONFIG_I2C_RTIO
|
||||||
|
.i2c_api.iodev_submit = i2c_iodev_submit_fallback,
|
||||||
|
#endif
|
||||||
|
|
||||||
.configure = cdns_i3c_configure,
|
.configure = cdns_i3c_configure,
|
||||||
.config_get = cdns_i3c_config_get,
|
.config_get = cdns_i3c_config_get,
|
||||||
|
|
@ -3310,6 +3313,10 @@ static DEVICE_API(i3c, api) = {
|
||||||
.ibi_disable = cdns_i3c_controller_ibi_disable,
|
.ibi_disable = cdns_i3c_controller_ibi_disable,
|
||||||
.ibi_raise = cdns_i3c_target_ibi_raise,
|
.ibi_raise = cdns_i3c_target_ibi_raise,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_I3C_RTIO
|
||||||
|
.iodev_submit = i3c_iodev_submit_fallback,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#define CADENCE_I3C_INSTANTIATE(n) \
|
#define CADENCE_I3C_INSTANTIATE(n) \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue