drivers: clock_control: lpc: syscon: Add BUSCLK support
Add support for the LPC BUS clock to the LPC SYSCON clock controller driver. Signed-off-by: Navin Sankar Velliangiri <navin@linumiz.com>
This commit is contained in:
parent
2c4d55042c
commit
b69dadb6e5
2 changed files with 6 additions and 0 deletions
|
@ -133,6 +133,10 @@ static int mcux_lpc_syscon_clock_control_get_subsys_rate(
|
|||
*rate = CLOCK_GetCTimerClkFreq(4);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case MCUX_BUS_CLK:
|
||||
*rate = CLOCK_GetFreq(kCLOCK_BusClk);
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue