zephyr/drivers/pwm
Fabio Baltieri 61ef77a736 pwm: npcx: only reconfigure PWM if necessary
Currently pwm_npcx_pin_set() disables and reconfigures the PWM
controller every time its called, causing the PWM line to pulse even if
only the duty cycle is changed.

Modify the function so that controller is only disabled if any of the
configuration has to be changed, only set the new DCR otherwise.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-02-21 20:54:42 -05:00
..
CMakeLists.txt drivers: pwm: gd32: initial version 2022-01-07 14:58:27 -06:00
Kconfig drivers: pwm: gd32: initial version 2022-01-07 14:58:27 -06:00
Kconfig.b91
Kconfig.esp32
Kconfig.gd32 drivers: pwm: gd32: enable gd32vf103 2022-01-11 11:50:35 +01:00
Kconfig.gecko
Kconfig.imx
Kconfig.it8xxx2
Kconfig.litex
Kconfig.mcux
Kconfig.mcux_ftm
Kconfig.mcux_pwt
Kconfig.mcux_sctimer
Kconfig.mcux_tpm
Kconfig.npcx
Kconfig.nrf5_sw drivers: pwm: pwm_nrf5_sw: Use runtime resources allocation 2021-11-26 09:31:54 +01:00
Kconfig.nrfx
Kconfig.rv32m1_tpm
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stm32
Kconfig.xec
Kconfig.xlnx
pwm_b91.c drivers: pwm: telink_b91: replace Pinmux by Pinctrl 2022-02-21 19:41:44 -05:00
pwm_capture.c
pwm_gd32.c drivers: pwm: gd32: initial version 2022-01-07 14:58:27 -06:00
pwm_gecko.c drivers: pwm: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
pwm_handlers.c
pwm_imx.c drivers: pwm: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
pwm_ite_it8xxx2.c ITE drivers/pwm: support tests/drivers/pwm/pwm_api 2022-02-21 20:44:41 -05:00
pwm_led_esp32.c boards: xtensa: add ledc support to the esp32 board 2021-11-07 05:36:42 -05:00
pwm_litex.c
pwm_mchp_xec.c
pwm_mcux_ftm.c drivers: pwm: mcux: ftm: return -EBUSY if PWM capture in progress 2021-11-01 22:11:04 -04:00
pwm_mcux_pwt.c
pwm_mcux_sctimer.c
pwm_mcux_tpm.c
pwm_mcux.c drivers: use DT_INST_PARENT 2021-12-16 11:10:01 -06:00
pwm_npcx.c pwm: npcx: only reconfigure PWM if necessary 2022-02-21 20:54:42 -05:00
pwm_nrf5_sw.c drivers: pwm: nrf5_sw: use instance based macros 2021-12-17 17:30:06 +01:00
pwm_nrfx.c pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
pwm_rv32m1_tpm.c
pwm_sam0_tcc.c drivers: pwm: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
pwm_sam.c drivers: fix style issues 2022-01-19 18:16:02 +01:00
pwm_shell.c
pwm_sifive.c
pwm_stm32.c pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros 2022-01-01 07:39:08 -05:00
pwm_xlnx_axi_timer.c