Skip to content

Commit 2006016

Browse files
DimitriFedrauUwe Kleine-König
authored andcommitted
pwm: add support for NXPs high-side switch MC33XS2410
The MC33XS2410 is a four channel high-side switch. Featuring advanced monitoring and control function, the device is operational from 3.0 V to 60 V. The device is controlled by SPI port for configuration. Signed-off-by: Dimitri Fedrau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
1 parent 8b872a9 commit 2006016

File tree

3 files changed

+404
-0
lines changed

3 files changed

+404
-0
lines changed

drivers/pwm/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,18 @@ config PWM_LPSS_PLATFORM
423423
To compile this driver as a module, choose M here: the module
424424
will be called pwm-lpss-platform.
425425

426+
config PWM_MC33XS2410
427+
tristate "MC33XS2410 PWM support"
428+
depends on OF
429+
depends on SPI
430+
help
431+
NXP MC33XS2410 high-side switch driver. The MC33XS2410 is a four
432+
channel high-side switch. The device is operational from 3.0 V
433+
to 60 V. The device is controlled by SPI port for configuration.
434+
435+
To compile this driver as a module, choose M here: the module
436+
will be called pwm-mc33xs2410.
437+
426438
config PWM_MESON
427439
tristate "Amlogic Meson PWM driver"
428440
depends on ARCH_MESON || COMPILE_TEST

drivers/pwm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ obj-$(CONFIG_PWM_LPC32XX) += pwm-lpc32xx.o
3737
obj-$(CONFIG_PWM_LPSS) += pwm-lpss.o
3838
obj-$(CONFIG_PWM_LPSS_PCI) += pwm-lpss-pci.o
3939
obj-$(CONFIG_PWM_LPSS_PLATFORM) += pwm-lpss-platform.o
40+
obj-$(CONFIG_PWM_MC33XS2410) += pwm-mc33xs2410.o
4041
obj-$(CONFIG_PWM_MESON) += pwm-meson.o
4142
obj-$(CONFIG_PWM_MEDIATEK) += pwm-mediatek.o
4243
obj-$(CONFIG_PWM_MICROCHIP_CORE) += pwm-microchip-core.o

0 commit comments

Comments
 (0)