i3c: add I3C controller driver for MCUX
This adds a very basic driver to utilize the I3C IP block on MCUX (e.g. RT685). Note that, for now, this only supports being the active controller on the bus. Origin: NXP MCUXpresso SDK License: BSD 3-Clause URL: https://github.com/zephyrproject-rtos/hal_nxp Commit: 2302a1e94f5bc00ce59db4e249b688ad2e959f58 Purpose: Enabling the I3C controller on RT685. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
3c8dcb568d
commit
3e8f97009d
6 changed files with 2212 additions and 0 deletions
|
@ -148,6 +148,12 @@ static int mcux_lpc_syscon_clock_control_get_subsys_rate(
|
|||
case MCUX_BUS_CLK:
|
||||
*rate = CLOCK_GetFreq(kCLOCK_BusClk);
|
||||
break;
|
||||
|
||||
#if defined(CONFIG_I3C_MCUX)
|
||||
case MCUX_I3C_CLK:
|
||||
*rate = CLOCK_GetI3cClkFreq();
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue