zephyr/drivers/pwm
Jeeva Kandasamy 2a4794e98a drivers: pwm: fix esp32-s3 ledc pwm low frequency
ESP32 - S2,S3 and C3 variants have only 14 bits counter.
where as the plain ESP32 variant has 20 bits counter.
application failed to set low frequency(1Hz) in S2, S3 and C3 variants.
to get very low frequencies on these variants,
frequency needs to be tuned with 18 bits clock divider.
so select the slow clock source (1MHz) with highest counter resolution.
this can be handled on the func'pwm_led_esp32_timer_set' with 'prescaler'.

Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
2024-01-10 20:53:07 -05:00
..
CMakeLists.txt drivers: pwm: introduce PWM driver for NXP S32 EMIOS 2023-09-06 11:44:00 +02:00
Kconfig shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
Kconfig.b91 drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.cc13xx_cc26xx_timer drivers: cc13xx_cc26xx: pwm: introduce pwm driver 2023-08-14 13:36:12 +00:00
Kconfig.esp32 drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.gd32 drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.gecko drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.imx drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.intel_blinky drivers: pwm: Add support for pch intel blink driver 2023-07-12 14:50:16 +03:00
Kconfig.it8xxx2 drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.litex drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.max31790 drivers: pwm: implement MAX31790 2023-07-25 09:08:30 +02:00
Kconfig.mcux drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.mcux_ctimer drivers: rt6xx ctimer pwm driver 2023-08-03 12:39:06 -04:00
Kconfig.mcux_ftm drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.mcux_pwt drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.mcux_sctimer drivers: pwm_mcux_sctimer: Use clock control API 2023-09-12 09:23:46 +02:00
Kconfig.mcux_tpm drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.npcx drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.nrf_sw drivers: pwm_nrf5_sw: Rename to pwm_nrf_sw 2023-08-16 16:33:03 +02:00
Kconfig.nrfx drivers: nrf: select PINCTRL 2023-09-20 08:57:09 +02:00
Kconfig.numaker drivers: pwm: support for Nuvoton numaker series 2023-08-31 10:19:31 +02:00
Kconfig.nxp_s32_emios drivers: select nocache only when supported 2023-09-26 15:09:51 +02:00
Kconfig.pca9685 drivers: pwm: add NXP PCA9685 controller 2023-01-11 09:38:18 +01:00
Kconfig.rcar drivers: pwm: add Renesas R-Car driver 2022-09-07 15:50:49 +02:00
Kconfig.rpi_pico drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.rv32m1_tpm drivers: all: rv32m1: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
Kconfig.sam drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.sam0 drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.sifive drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
Kconfig.stm32 drivers: pwm: pwm_stm32: reset timer using RCC before initialization 2023-07-20 10:36:10 +00:00
Kconfig.test drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.xec drivers: all: mchp_xec: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
Kconfig.xlnx drivers: pwm: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:50:44 -05:00
Kconfig.xmc4xxx_ccu4 drivers: pwm: Add driver for xmc4xxx using ccu4 module 2023-07-26 15:09:41 +02:00
Kconfig.xmc4xxx_ccu8 drivers: pwm: Add driver for xmc4xxx using ccu8 module 2023-07-26 15:09:41 +02:00
pwm_b91.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_capture.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
pwm_cc13xx_cc26xx_timer.c drivers: cc13xx_cc26xx: pwm: introduce pwm driver 2023-08-14 13:36:12 +00:00
pwm_gd32.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
pwm_gecko.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
pwm_imx.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
pwm_intel_blinky.c drivers: pwm: Add support for pch intel blink driver 2023-07-12 14:50:16 +03:00
pwm_ite_it8xxx2.c ITE: drivers/pwm: Add the flag of PWM output open-drain mode 2023-08-25 10:31:42 +02:00
pwm_led_esp32.c drivers: pwm: fix esp32-s3 ledc pwm low frequency 2024-01-10 20:53:07 -05:00
pwm_litex.c drivers: gpio: it8xxx2: add missing chip_chipregs.h/soc_common.h 2022-10-11 18:05:17 +02:00
pwm_max31790.c drivers: pwm: implement MAX31790 2023-07-25 09:08:30 +02:00
pwm_mc_esp32.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_mchp_xec.c drivers: pwm: mchp: Low power mode enabled 2023-07-20 10:42:19 +00:00
pwm_mchp_xec_bbled.c drivers: bbled: pwm: mchp: BBLED low power mode updated 2023-07-25 09:09:44 +02:00
pwm_mcux.c drivers: pwm: Use the SDK macro to check if wait field is available 2023-09-19 13:36:13 -05:00
pwm_mcux_ctimer.c drivers: rt6xx ctimer pwm driver 2023-08-03 12:39:06 -04:00
pwm_mcux_ftm.c drivers: pwm: mcux_ftm: support multiple interrupts 2024-01-05 09:03:00 +01:00
pwm_mcux_pwt.c include: add missing irq.h include 2022-10-11 18:05:17 +02:00
pwm_mcux_sctimer.c drivers: pwm_mcux_sctimer: Use clock control API 2023-09-12 09:23:46 +02:00
pwm_mcux_tpm.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_npcx.c sys: util: migrate all files to DIV_ROUND_UP 2023-04-11 12:00:37 +02:00
pwm_nrf_sw.c modules: hal_nordic: nrfx: update API version to 3.2.0 2024-01-08 11:19:37 +01:00
pwm_nrfx.c drivers: pwm_nrfx: Connect IRQ handlers for anomaly 109 workaround 2023-10-05 12:48:29 +01:00
pwm_numaker.c drivers: pwm: support for Nuvoton numaker series 2023-08-31 10:19:31 +02:00
pwm_nxp_s32_emios.c drivers: pwm_nxp_s32_emios: add support for pwm capture 2023-09-29 15:40:04 +02:00
pwm_pca9685.c drivers: pwm: pwm_pca9685 set_pre_scale when not in restart mode 2023-11-02 09:44:58 +01:00
pwm_rcar.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
pwm_rpi_pico.c drivers: pwm: rpi_pico: Reset device on init 2023-12-20 11:14:24 +01:00
pwm_rv32m1_tpm.c drivers: all: rv32m1: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
pwm_sam.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
pwm_sam0_tcc.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_shell.c shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
pwm_sifive.c include: add missing arch/cpu.h include 2022-10-11 18:05:17 +02:00
pwm_stm32.c drivers: pwm: stm32: Catch overflows in 2-channel capture 2024-01-03 12:55:50 +01:00
pwm_test.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
pwm_xlnx_axi_timer.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
pwm_xmc4xxx_ccu4.c drivers: pwm: Add driver for xmc4xxx using ccu4 module 2023-07-26 15:09:41 +02:00
pwm_xmc4xxx_ccu8.c drivers: pwm: Add driver for xmc4xxx using ccu8 module 2023-07-26 15:09:41 +02:00