1# Nordic Semiconductor nRF5x s/w PWM configuration options
2
3# Copyright (c) 2017 Nordic Semiconductor ASA
4# SPDX-License-Identifier: Apache-2.0
5
6config PWM_NRF_SW
7	bool "Nordic Semiconductor nRF family S/W PWM"
8	default y if !PWM_NRFX
9	depends on DT_HAS_NORDIC_NRF_SW_PWM_ENABLED
10	select NRFX_GPIOTE
11	select NRFX_PPI if HAS_HW_NRF_PPI
12	select NRFX_DPPI if HAS_HW_NRF_DPPIC
13	help
14	  Enable driver to utilize PWM on the Nordic Semiconductor nRF SoCs.
15
16	  When used with HF timer, it provides up to 5 pins, utilizing one
17	  GPIOTE channel and two PPI/DPPI channels and per pin.
18
19	  When used with RTC, it provides up to 3 pins, utilizing one GPIOTE
20	  channel and two or three (when the fork feature is not available)
21	  PPI/DPPI channels per pin.
22