zephyr/drivers/clock_control
Martí Bolívar 87e1743ae0 devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH
Make drivers multi-instance wherever possible using DT_INST_FOREACH.
This allows removing DT_HAS_DRV_INST in favor of making drivers just
do the right thing regardless of how many instances there are.

There are a few exceptions:

- SoC drivers which use CMake input files (like i2c_dw.c) or otherwise
  would require more time to convert than I have at the moment. For the
  sake of expediency, just inline the DT_HAS_DRV_INST expansion for
  now in these cases.

- SoC drivers which are explicitly single-instance (like the nRF SAADC
  driver). Again for the sake of expediency, drop a BUILD_ASSERT in
  those cases to make sure the assumption that all supported SoCs have
  at most one available instance is valid, failing fast otherwise.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-06 17:35:08 -05:00
..
beetle_clock_control.c drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros 2020-03-31 19:28:47 -05:00
clock_control_mcux_ccm.c drivers: mcux: Convert MCUX drivers to new DT_INST macros 2020-03-26 03:40:09 -05:00
clock_control_mcux_mcg.c drivers: mcux: Convert MCUX drivers to new DT_INST macros 2020-03-26 03:40:09 -05:00
clock_control_mcux_pcc.c devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH 2020-05-06 17:35:08 -05:00
clock_control_mcux_scg.c drivers: mcux: Convert MCUX drivers to new DT_INST macros 2020-03-26 03:40:09 -05:00
clock_control_mcux_sim.c dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY 2020-05-06 05:25:41 -05:00
clock_control_rv32m1_pcc.c devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH 2020-05-06 17:35:08 -05:00
clock_stm32_ll_common.c drivers/clock_control: stm32: HSE_BYPASS code cleanup 2020-02-11 17:41:49 +02:00
clock_stm32_ll_common.h drivers: clock_control: stm32: Modify file naming pattern 2019-04-26 02:56:20 -07:00
clock_stm32_ll_h7.c drivers/clock_control: stm32H7 AHB clock computation depends on core 2020-04-29 15:18:18 -05:00
clock_stm32_ll_mp1.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32f0_f3.c dts: stm32f3: Remap USB IRQ to avoid conflict with CAN 2020-02-18 18:44:42 +02:00
clock_stm32f1.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32f2_f4_f7.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32g0.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32g4.c driver: clock: stm32: boost voltage when clock exceeds 150MHz 2020-02-26 12:21:04 -06:00
clock_stm32l0_l1.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32l4_wb.c driver: clock: stm32: boost voltage when clock exceeds 80MHz 2020-02-26 12:21:04 -06:00
CMakeLists.txt drivers: clock_control: Add STM32G4X clock support 2019-10-04 18:44:24 -07:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.beetle kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_ccm kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_mcg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_pcc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_scg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_sim kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrf drivers: clock_control: nrf: Reworked calibration to use k_timer 2020-03-19 15:15:23 +01:00
Kconfig.rv32m1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.stm32f0_f3 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f2_f4_f7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g4 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32h7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32l0_l1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32l4_wb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
nrf_clock_calibration.c dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY 2020-05-06 05:25:41 -05:00
nrf_clock_calibration.h drivers: clock_control: nrf: Reworked calibration to use k_timer 2020-03-19 15:15:23 +01:00
nrf_power_clock.c clock_control: nordic: move to new DT API 2020-04-14 06:32:25 -05:00