gecko pwm: add pwm driver for the gecko.

pwm driver + Kconfig and Cmake files for the
efr32 soc family.

Signed-off-by: Sun Amar <sun681@gmail.com>
This commit is contained in:
Sun Amar 2021-03-22 00:18:04 +02:00 committed by Anas Nashif
commit 252f1b8e0d
5 changed files with 140 additions and 0 deletions

13
drivers/pwm/Kconfig.gecko Normal file
View file

@ -0,0 +1,13 @@
# GECKO PWM configuration options
# Copyright (c) 2021 Sun Amar.
# SPDX-License-Identifier: Apache-2.0
config PWM_GECKO
bool "GECKO MCU PWM driver"
depends on SOC_FAMILY_EXX32
select SOC_GECKO_TIMER
help
This option enables the PWM driver for EXX32 GECKO family of
processors. Say y if you wish to use PWM port on EXX32
MCU.