Skip to content

Commit

Permalink
drivers: i3c: stm32: add api call for default handler
Browse files Browse the repository at this point in the history
add api calls for the default handlers for i3c rtio

(cherry picked from commit f888e78)

Original-Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
GitOrigin-RevId: f888e78
Cr-Build-Id: 8728310571250663457
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8728310571250663457
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I277887b2a00aca8a575ceed9f0d72d0a5a902326
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6101981
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Dawid Niedźwiecki <dawidn@google.com>
Commit-Queue: Dawid Niedźwiecki <dawidn@google.com>
Tested-by: Dawid Niedźwiecki <dawidn@google.com>
  • Loading branch information
Ryan McClelland authored and Chromeos LUCI committed Dec 19, 2024
1 parent 107c949 commit 46bb276
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/i3c/i3c_stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -2058,6 +2058,9 @@ static void i3c_stm32_dma_rs_cb(const struct device *dma_dev, void *user_data, u
static DEVICE_API(i3c, i3c_stm32_driver_api) = {
.i2c_api.configure = i3c_stm32_i2c_configure,
.i2c_api.transfer = i3c_stm32_i2c_transfer,
#ifdef CONFIG_I2C_RTIO
.i2c_api.iodev_submit = i2c_iodev_submit_fallback,
#endif
.configure = i3c_stm32_configure,
.config_get = i3c_stm32_config_get,
.i3c_device_find = i3c_stm32_device_find,
Expand All @@ -2068,6 +2071,9 @@ static DEVICE_API(i3c, i3c_stm32_driver_api) = {
.ibi_enable = i3c_stm32_ibi_enable,
.ibi_disable = i3c_stm32_ibi_disable,
#endif
#ifdef CONFIG_I3C_RTIO
.iodev_submit = i3c_iodev_submit_fallback,
#endif
};

#ifdef CONFIG_I3C_STM32_DMA
Expand Down

0 comments on commit 46bb276

Please sign in to comment.