zephyr/drivers/i3c
Mike J. Chen 16f4861741 drivers: i3c: mcux: fix config_get to return last config set
mcux_i3c_configure() was saving values to a ctrl_config_hal
struct, but config_get() was not returning the values in
that struct. Remove that struct from the static data of
the driver and instead just have it on the stack. We init
that struct as needed just before calling the SDK API
I3C_MasterInit(). There's no reason to keep it around.
Change mcux_i3c_configure() to save a copy of the configuration
in the static data common.ctrl_config, which is what is
returned by config_get().

Signed-off-by: Mike J. Chen <mjchen@google.com>
2023-10-27 10:50:16 +02:00
..
CMakeLists.txt drivers: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
i3c_ccc.c drivers: i3c: i3c attach/detach api 2023-03-29 07:46:37 -04:00
i3c_cdns.c drivers: i3c: fix cdns-i3c builds with I3C_USE_IBI=n 2023-09-13 16:32:55 +02:00
i3c_common.c drivers: i3c: i3c attach/detach api 2023-03-29 07:46:37 -04:00
i3c_handlers.c drivers: i3c: introduce I3C API for controllers 2022-09-09 17:42:33 -04:00
i3c_ibi_workq.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
i3c_mcux.c drivers: i3c: mcux: fix config_get to return last config set 2023-10-27 10:50:16 +02:00
Kconfig drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
Kconfig.cdns i3c: add cdns i3c driver 2022-12-12 15:51:16 -05:00
Kconfig.nxp i3c: add I3C controller driver for MCUX 2022-09-09 17:42:33 -04:00