zephyr/drivers/pwm
Andrzej Głąbek 20202902f2 dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig
These changes were obtained by running a script  created by
Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> for the following
specification:

1. Read the contents of all dts_fixup.h files in Zephyr
2. Check the left-hand side of the #define macros (i.e. the X in
   #define X Y)
3. Check if that name is also the name of a Kconfig option
   3.a If it is, then do nothing
   3.b If it is not, then replace CONFIG_ with DT_ or add DT_ if it
       has neither of these two prefixes
4. Replace the use of the changed #define in the code itself
   (.c, .h, .ld)

Additionally, some tweaks had to be added to this script to catch some
of the macros used in the code in a parameterized form, e.g.:
- CONFIG_GPIO_STM32_GPIO##__SUFFIX##_BASE_ADDRESS
- CONFIG_UART_##idx##_TX_PIN
- I2C_SBCON_##_num##_BASE_ADDR
and to prevent adding DT_ prefix to the following symbols:
- FLASH_START
- FLASH_SIZE
- SRAM_START
- SRAM_SIZE
- _ROM_ADDR
- _ROM_SIZE
- _RAM_ADDR
- _RAM_SIZE
which are surprisingly also defined in some dts_fixup.h files.

Finally, some manual corrections had to be done as well:
- name##_IRQ -> DT_##name##_IRQ in uart_stm32.c

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2018-11-13 10:44:42 -06:00
..
CMakeLists.txt drivers: add i.MX PWM driver 2018-07-17 16:08:22 -05:00
Kconfig driver: pwm: use new logger 2018-10-08 17:49:12 -04:00
Kconfig.dw drivers: pwm: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.esp32 drivers: pwm: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.imx Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.mcux_ftm Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.nrf5_sw Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.nrfx drivers: pwm: nrf: Add nrfx_pwm.c to the build when PWM_NRFX is enabled 2018-07-05 11:58:51 +02:00
Kconfig.pca9685 Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.qmsi Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.stm32 drivers: pwm: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
pwm_dw.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
pwm_handlers.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
pwm_imx.c driver: pwm: use new logger 2018-10-08 17:49:12 -04:00
pwm_led_esp32.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
pwm_mcux_ftm.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
pwm_nrf5_sw.c bluetooth: controller: nrf5: Reorder used PPI channels 2018-11-10 12:39:40 -05:00
pwm_nrfx.c driver: pwm: use new logger 2018-10-08 17:49:12 -04:00
pwm_pca9685.c
pwm_pca9685.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pwm_qmsi.c
pwm_stm32.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
pwm_stm32.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00