drivers: pwm: add support for nRF54 devices
Add PWM instances found on nRF54H20 and nRF54L15 devices, so that PWM driver can be utilized on these. Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
parent
9949645dd4
commit
835f3bef70
|
@ -9,6 +9,14 @@ config PWM_NRFX
|
|||
select NRFX_PWM1 if HAS_HW_NRF_PWM1
|
||||
select NRFX_PWM2 if HAS_HW_NRF_PWM2
|
||||
select NRFX_PWM3 if HAS_HW_NRF_PWM3
|
||||
select NRFX_PWM20 if HAS_HW_NRF_PWM20
|
||||
select NRFX_PWM21 if HAS_HW_NRF_PWM21
|
||||
select NRFX_PWM22 if HAS_HW_NRF_PWM22
|
||||
select NRFX_PWM120 if HAS_HW_NRF_PWM120
|
||||
select NRFX_PWM130 if HAS_HW_NRF_PWM130
|
||||
select NRFX_PWM131 if HAS_HW_NRF_PWM131
|
||||
select NRFX_PWM132 if HAS_HW_NRF_PWM132
|
||||
select NRFX_PWM133 if HAS_HW_NRF_PWM133
|
||||
select PINCTRL
|
||||
help
|
||||
Enable support for nrfx Hardware PWM driver for nRF52 MCU series.
|
||||
|
|
|
@ -391,3 +391,35 @@ PWM_NRFX_DEVICE(2);
|
|||
#ifdef CONFIG_HAS_HW_NRF_PWM3
|
||||
PWM_NRFX_DEVICE(3);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM20
|
||||
PWM_NRFX_DEVICE(20);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM21
|
||||
PWM_NRFX_DEVICE(21);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM22
|
||||
PWM_NRFX_DEVICE(22);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM120
|
||||
PWM_NRFX_DEVICE(120);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM130
|
||||
PWM_NRFX_DEVICE(130);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM131
|
||||
PWM_NRFX_DEVICE(131);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM132
|
||||
PWM_NRFX_DEVICE(132);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_HW_NRF_PWM133
|
||||
PWM_NRFX_DEVICE(133);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue