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 drivers: pwm: introduce new Telink B91 PWM driver 2021-08-05 16:11:41 +02:00
Kconfig.esp32 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.gd32 drivers: pwm: gd32: enable gd32vf103 2022-01-11 11:50:35 +01:00
Kconfig.gecko gecko pwm: add pwm driver for the gecko. 2021-04-02 18:45:33 -04:00
Kconfig.imx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.it8xxx2 ITE drivers/pwm: add PWM for it8xxx2 2021-07-01 13:21:06 -04:00
Kconfig.litex kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.mcux drivers: pwm: pwm_mcux: Convert driver to new DT_INST macros 2020-04-20 11:08:46 -05:00
Kconfig.mcux_ftm drivers: pwm: mcux_ftm: add PWM capure support 2021-01-12 19:43:06 +01:00
Kconfig.mcux_pwt drivers: pwm: add driver for the NXP Kinetis Pulse Width Timer (PWT) 2021-01-20 08:05:57 -06:00
Kconfig.mcux_sctimer drivers: pwm: Add PWM support for NXP LPC devices 2021-07-30 13:08:03 -05:00
Kconfig.mcux_tpm drivers: pwm: add driver for NXP Kinetis TPM module 2020-05-06 11:33:37 -05:00
Kconfig.npcx driver: npcx7: fixed typo in Kconfig.npcx files. 2020-12-07 12:11:17 -05:00
Kconfig.nrf5_sw drivers: pwm: pwm_nrf5_sw: Use runtime resources allocation 2021-11-26 09:31:54 +01:00
Kconfig.nrfx drivers: pwm: nrfx: Convert to use DTS NODELABEL for instance detection 2020-05-05 08:40:19 -05:00
Kconfig.rv32m1_tpm drivers: pwm: add driver for the RV32M1 Timer/PWM module 2020-01-13 09:12:34 -06:00
Kconfig.sam kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam0 drivers: pwm: add a SAM0 TCC based PWM driver 2020-07-01 08:10:59 -05:00
Kconfig.sifive kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.stm32 drivers: pwm: stm32: fix timer clock calculation 2020-11-03 11:03:54 +01:00
Kconfig.xec kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.xlnx drivers: pwm: add driver for the Xilinx AXI Timer 2020-11-17 19:30:20 -05:00
pwm_b91.c drivers: pwm: telink_b91: replace Pinmux by Pinctrl 2022-02-21 19:41:44 -05:00
pwm_capture.c drivers: pwm: add API for capturing pwm pulse width and period 2021-01-12 19:43:06 +01:00
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 drivers: pwm: add API for capturing pwm pulse width and period 2021-01-12 19:43:06 +01:00
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 drivers: pwm: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pwm_mchp_xec.c drivers: pwm: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pwm_mcux.c drivers: use DT_INST_PARENT 2021-12-16 11:10:01 -06:00
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 drivers: pwm: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pwm_mcux_sctimer.c drivers: pwm: Add PWM support for NXP LPC devices 2021-07-30 13:08:03 -05:00
pwm_mcux_tpm.c drivers: pwm: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04: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 drivers: pwm: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pwm_sam.c drivers: fix style issues 2022-01-19 18:16:02 +01:00
pwm_sam0_tcc.c drivers: pwm: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
pwm_shell.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_sifive.c drivers: pwm: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pwm_stm32.c pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros 2022-01-01 07:39:08 -05:00
pwm_xlnx_axi_timer.c drivers: pwm: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00