Skip to content

Commit

Permalink
drivers: pwm: remove dw and pca9685 drivers
Browse files Browse the repository at this point in the history
Remove DW and PCA9685 PWM controller drivers as they are unmaintained
and broken.

Both drivers lack support for the pwm_get_cycles_per_sec_t API function
which was introduced in commit 56e0b53
in 2016.

Fixes #18607, #18608

Signed-off-by: Henrik Brix Andersen <[email protected]>
  • Loading branch information
henrikbrixandersen authored and nashif committed Jan 19, 2021
1 parent 875f6a5 commit 1491fb9
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 504 deletions.
2 changes: 0 additions & 2 deletions drivers/pwm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

zephyr_library()

zephyr_library_sources_ifdef(CONFIG_PWM_PCA9685 pwm_pca9685.c)
zephyr_library_sources_ifdef(CONFIG_PWM_DW pwm_dw.c)
zephyr_library_sources_ifdef(CONFIG_PWM_STM32 pwm_stm32.c)
zephyr_library_sources_ifdef(CONFIG_PWM_SIFIVE pwm_sifive.c)
zephyr_library_sources_ifdef(CONFIG_PWM_NRF5_SW pwm_nrf5_sw.c)
Expand Down
4 changes: 0 additions & 4 deletions drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ config PWM_CAPTURE
This option extends the Zephyr PWM API with the ability to capture PWM
period/pulse widths.

source "drivers/pwm/Kconfig.pca9685"

source "drivers/pwm/Kconfig.dw"

source "drivers/pwm/Kconfig.stm32"

source "drivers/pwm/Kconfig.sifive"
Expand Down
11 changes: 0 additions & 11 deletions drivers/pwm/Kconfig.dw

This file was deleted.

53 changes: 0 additions & 53 deletions drivers/pwm/Kconfig.pca9685

This file was deleted.

208 changes: 0 additions & 208 deletions drivers/pwm/pwm_dw.c

This file was deleted.

Loading

0 comments on commit 1491fb9

Please sign in to comment.