Skip to content

drivers: i3c: add support for setaasa initialization #148109

drivers: i3c: add support for setaasa initialization

drivers: i3c: add support for setaasa initialization #148109

Triggered via pull request September 8, 2024 08:01
Status Success
Total duration 2m 17s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 8s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 3 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR): 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: -static int i3c_bus_setdasa(const struct device *dev, - const struct i3c_dev_list *dev_list, +static int i3c_bus_setdasa(const struct device *dev, const struct i3c_dev_list *dev_list, File:drivers/i3c/i3c_common.c Line:594 You may want to run clang-format on this change: - desc->init_dynamic_addr == desc->static_addr)) { + desc->init_dynamic_addr == desc->static_addr)) { File:drivers/i3c/i3c_common.c Line:621 You may want to run clang-format on this change: -#define I3C_DEVICE_DESC_DT(node_id) \ - { \ - .bus = DEVICE_DT_GET(DT_BUS(node_id)), \ - .dev = DEVICE_DT_GET(node_id), \ - .static_addr = DT_PROP_BY_IDX(node_id, reg, 0), \ - .pid = ((uint64_t)DT_PROP_BY_IDX(node_id, reg, 1) << 32)\ - | DT_PROP_BY_IDX(node_id, reg, 2), \ - .init_dynamic_addr = \ - DT_PROP_OR(node_id, assigned_address, 0), \ - .supports_setaasa = DT_PROP(node_id, supports_setaasa), \ +#define I3C_DEVICE_DESC_DT(node_id) \ + { \ + .bus = DEVICE_DT_GET(DT_BUS(node_id)), \ + .dev = DEVICE_DT_GET(node_id), \ + .static_addr = DT_PROP_BY_IDX(node_id, reg, 0), \ + .pid = ((uint64_t)DT_PROP_BY_IDX(node_id, reg, 1) << 32) | \ + DT_PROP_BY_IDX(node_id, reg, 2), \ + .init_dynamic_addr = DT_PROP_OR(node_id, assigned_address, 0), \ + .supports_setaasa = DT_PROP(node_id, supports_setaasa), \ File:include/zephyr/drivers/i3c/devicetree.h Line:75
You may want to run clang-format on this change: drivers/i3c/i3c_common.c#L594
drivers/i3c/i3c_common.c:594 -static int i3c_bus_setdasa(const struct device *dev, - const struct i3c_dev_list *dev_list, +static int i3c_bus_setdasa(const struct device *dev, const struct i3c_dev_list *dev_list,
You may want to run clang-format on this change: drivers/i3c/i3c_common.c#L621
drivers/i3c/i3c_common.c:621 - desc->init_dynamic_addr == desc->static_addr)) { + desc->init_dynamic_addr == desc->static_addr)) {
You may want to run clang-format on this change: include/zephyr/drivers/i3c/devicetree.h#L75
include/zephyr/drivers/i3c/devicetree.h:75 -#define I3C_DEVICE_DESC_DT(node_id) \ - { \ - .bus = DEVICE_DT_GET(DT_BUS(node_id)), \ - .dev = DEVICE_DT_GET(node_id), \ - .static_addr = DT_PROP_BY_IDX(node_id, reg, 0), \ - .pid = ((uint64_t)DT_PROP_BY_IDX(node_id, reg, 1) << 32)\ - | DT_PROP_BY_IDX(node_id, reg, 2), \ - .init_dynamic_addr = \ - DT_PROP_OR(node_id, assigned_address, 0), \ - .supports_setaasa = DT_PROP(node_id, supports_setaasa), \ +#define I3C_DEVICE_DESC_DT(node_id) \ + { \ + .bus = DEVICE_DT_GET(DT_BUS(node_id)), \ + .dev = DEVICE_DT_GET(node_id), \ + .static_addr = DT_PROP_BY_IDX(node_id, reg, 0), \ + .pid = ((uint64_t)DT_PROP_BY_IDX(node_id, reg, 1) << 32) | \ + DT_PROP_BY_IDX(node_id, reg, 2), \ + .init_dynamic_addr = DT_PROP_OR(node_id, assigned_address, 0), \ + .supports_setaasa = DT_PROP(node_id, supports_setaasa), \

Artifacts

Produced during runtime
Name Size
compliance.xml
1007 Bytes