drivers: i3c: Support I3C driver for STM32. #162418
Annotations
1 error, 1 warning, and 4 notices
Run Compliance Tests
Process completed with exit code 1.
|
check-warns:
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
- DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_LIST_ENTRY)
- DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_LIST_ENTRY)
- DT_FOREACH_STATUS_OKAY(st_stm32_i3c, I3C_CTRL_LIST_ENTRY)
+ DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_LIST_ENTRY)
+ DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_LIST_ENTRY)
+ DT_FOREACH_STATUS_OKAY(st_stm32_i3c, I3C_CTRL_LIST_ENTRY)
File:drivers/i3c/i3c_shell.c
Line:101
You may want to run clang-format on this change:
- struct i3c_ccc_target_payload
- *ccc_target_payload_sf; /* Current target addressed
- * by 2nd part of direct CCC command used by the
- status FIFO
- */
+ struct i3c_ccc_target_payload *ccc_target_payload_sf; /* Current target addressed
+ * by 2nd part of direct CCC command used by the
+ status FIFO
+ */
size_t ccc_target_idx; /* Current target index, used for filling C-FIFO */
struct k_sem device_sync_sem; /* Sync between device communication messages */
struct k_mutex bus_mutex; /* Sync between transfers */
struct i3c_stm32_msg curr_msg;
- uint8_t target_addr; /* Current target xfer address */
- uint8_t num_msgs; /* Number of messages to send on bus */
+ uint8_t target_addr; /* Current target xfer address */
+ uint8_t num_msgs; /* Number of messages to send on bus */
File:drivers/i3c/i3c_stm32.c
Line:139
You may want to run clang-format on this change:
- LL_I3C_ConfigDeviceCapabilities(i3c, (idx + 1), target->dynamic_addr,
- LL_I3C_IBI_CAPABILITY, LL_I3C_IBI_DATA_ENABLE,
- LL_I3C_CR_NO_CAPABILITY);
+ LL_I3C_ConfigDeviceCapabilities(i3c, (idx + 1), target->dynamic_addr, LL_I3C_IBI_CAPABILITY,
+ LL_I3C_IBI_DATA_ENABLE, LL_I3C_CR_NO_CAPABILITY);
File:drivers/i3c/i3c_stm32.c
Line:1937
You may want to run clang-format on this change:
- STM32_I3C_DMA_CHANNEL(index, tx, TX, MEMORY, PERIPHERAL) \
- STM32_I3C_DMA_CHANNEL(index, tc, TC, MEMORY, PERIPHERAL) \
- STM32_I3C_DMA_CHANNEL(index, rs, RS, PERIPHERAL, MEMORY)}; \
+ STM32_I3C_DMA_CHANNEL(index, tx, TX, MEMORY, PERIPHERAL) \
+ STM32_I3C_DMA_CHANNEL(index, tc, TC, MEMORY, PERIPHERAL) \
+ STM32_I3C_DMA_CHANNEL(index, rs, RS, PERIPHERAL, MEMORY)}; \
File:drivers/i3c/i3c_stm32.c
Line:2140
|
Run Compliance Tests:
drivers/i3c/i3c_shell.c#L101
drivers/i3c/i3c_shell.c:101
- DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_LIST_ENTRY)
- DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_LIST_ENTRY)
- DT_FOREACH_STATUS_OKAY(st_stm32_i3c, I3C_CTRL_LIST_ENTRY)
+ DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_LIST_ENTRY)
+ DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_LIST_ENTRY)
+ DT_FOREACH_STATUS_OKAY(st_stm32_i3c, I3C_CTRL_LIST_ENTRY)
|
Run Compliance Tests:
drivers/i3c/i3c_stm32.c#L139
drivers/i3c/i3c_stm32.c:139
- struct i3c_ccc_target_payload
- *ccc_target_payload_sf; /* Current target addressed
- * by 2nd part of direct CCC command used by the
- status FIFO
- */
+ struct i3c_ccc_target_payload *ccc_target_payload_sf; /* Current target addressed
+ * by 2nd part of direct CCC command used by the
+ status FIFO
+ */
size_t ccc_target_idx; /* Current target index, used for filling C-FIFO */
struct k_sem device_sync_sem; /* Sync between device communication messages */
struct k_mutex bus_mutex; /* Sync between transfers */
struct i3c_stm32_msg curr_msg;
- uint8_t target_addr; /* Current target xfer address */
- uint8_t num_msgs; /* Number of messages to send on bus */
+ uint8_t target_addr; /* Current target xfer address */
+ uint8_t num_msgs; /* Number of messages to send on bus */
|
Run Compliance Tests:
drivers/i3c/i3c_stm32.c#L1937
drivers/i3c/i3c_stm32.c:1937
- LL_I3C_ConfigDeviceCapabilities(i3c, (idx + 1), target->dynamic_addr,
- LL_I3C_IBI_CAPABILITY, LL_I3C_IBI_DATA_ENABLE,
- LL_I3C_CR_NO_CAPABILITY);
+ LL_I3C_ConfigDeviceCapabilities(i3c, (idx + 1), target->dynamic_addr, LL_I3C_IBI_CAPABILITY,
+ LL_I3C_IBI_DATA_ENABLE, LL_I3C_CR_NO_CAPABILITY);
|
Run Compliance Tests:
drivers/i3c/i3c_stm32.c#L2140
drivers/i3c/i3c_stm32.c:2140
- STM32_I3C_DMA_CHANNEL(index, tx, TX, MEMORY, PERIPHERAL) \
- STM32_I3C_DMA_CHANNEL(index, tc, TC, MEMORY, PERIPHERAL) \
- STM32_I3C_DMA_CHANNEL(index, rs, RS, PERIPHERAL, MEMORY)}; \
+ STM32_I3C_DMA_CHANNEL(index, tx, TX, MEMORY, PERIPHERAL) \
+ STM32_I3C_DMA_CHANNEL(index, tc, TC, MEMORY, PERIPHERAL) \
+ STM32_I3C_DMA_CHANNEL(index, rs, RS, PERIPHERAL, MEMORY)}; \
|
Loading