STM32_DT_CLOCKS was designed to take a device tree node label name as argument: STM32_DT_CLOCKS(uart1) Change its implementation to take a node identifier instead: STM32_DT_CLOCKS(DT_NODELABEL(uart1)). This make its usage more flexible since the argument can now be extracted from other DT macros such as DT_PARENT. Then, the following can be done: STM32_DT_CLOCKS(DT_PARENT(child_node_label)). Since it is now possible implement STM32_DT_INST_CLOCKS using STM32_DT_CLOCKS. Finally, update existing STM32_DT_CLOCKS users and convert STM32_INST_CLOCK_INFO users to STM32_CLOCK_INFO. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> |
||
|---|---|---|
| .. | ||
| cavs_clock | ||
| clock_control_api | ||
| nrf_clock_calibration | ||
| nrf_lf_clock_start | ||
| nrf_onoff_and_bt | ||
| onoff | ||
| stm32_clock_configuration | ||