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
Kconfig
Kconfig.b91
Kconfig.esp32
Kconfig.gd32
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
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
pwm_gecko.c
pwm_handlers.c
pwm_imx.c
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
pwm_litex.c
pwm_mchp_xec.c
pwm_mcux.c
pwm_mcux_ftm.c
pwm_mcux_pwt.c
pwm_mcux_sctimer.c
pwm_mcux_tpm.c
pwm_npcx.c pwm: npcx: only reconfigure PWM if necessary 2022-02-21 20:54:42 -05:00
pwm_nrf5_sw.c
pwm_nrfx.c
pwm_rv32m1_tpm.c
pwm_sam.c
pwm_sam0_tcc.c
pwm_shell.c
pwm_sifive.c
pwm_stm32.c
pwm_xlnx_axi_timer.c