Skip to content

Commit 437c16f

Browse files
Chenhongrenkartben
authored andcommitted
drivers: i3c: shell: enable i3c shell support for it51xxx.
This commit introduces support for i3c shell on it51xxx. Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
1 parent 9743a98 commit 437c16f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/i3c/i3c_shell.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ struct i3c_ctrl {
8282

8383
/* zephyr-keep-sorted-start */
8484
DT_FOREACH_STATUS_OKAY(cdns_i3c, I3C_CTRL_FN)
85+
DT_FOREACH_STATUS_OKAY(ite_it51xxx_i3cm, I3C_CTRL_FN)
86+
DT_FOREACH_STATUS_OKAY(ite_it51xxx_i3cs, I3C_CTRL_FN)
8587
DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_FN)
8688
DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_FN)
8789
DT_FOREACH_STATUS_OKAY(snps_designware_i3c, I3C_CTRL_FN)
@@ -99,6 +101,8 @@ DT_FOREACH_STATUS_OKAY(st_stm32_i3c, I3C_CTRL_FN)
99101
const struct i3c_ctrl i3c_list[] = {
100102
/* zephyr-keep-sorted-start */
101103
DT_FOREACH_STATUS_OKAY(cdns_i3c, I3C_CTRL_LIST_ENTRY)
104+
DT_FOREACH_STATUS_OKAY(ite_it51xxx_i3cm, I3C_CTRL_LIST_ENTRY)
105+
DT_FOREACH_STATUS_OKAY(ite_it51xxx_i3cs, I3C_CTRL_LIST_ENTRY)
102106
DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_LIST_ENTRY)
103107
DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_LIST_ENTRY)
104108
DT_FOREACH_STATUS_OKAY(snps_designware_i3c, I3C_CTRL_LIST_ENTRY)

0 commit comments

Comments
 (0)