Skip to content

Commit 84e351d

Browse files
ukleinekUwe Kleine-König
authored andcommitted
pwm: Restore alphabetic ordering in Kconfig and Makefile
The drivers are nearly ordered alphabetically by the symbol name. Fix the few outliers. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
1 parent d041b76 commit 84e351d

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

drivers/pwm/Kconfig

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,16 @@ config PWM_AXI_PWMGEN
114114
To compile this driver as a module, choose M here: the module will be
115115
called pwm-axi-pwmgen.
116116

117+
config PWM_BCM2835
118+
tristate "BCM2835 PWM support"
119+
depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
120+
depends on HAS_IOMEM
121+
help
122+
PWM framework driver for BCM2835 controller (Raspberry Pi)
123+
124+
To compile this driver as a module, choose M here: the module
125+
will be called pwm-bcm2835.
126+
117127
config PWM_BCM_IPROC
118128
tristate "iProc PWM support"
119129
depends on ARCH_BCM_IPROC || COMPILE_TEST
@@ -137,16 +147,6 @@ config PWM_BCM_KONA
137147
To compile this driver as a module, choose M here: the module
138148
will be called pwm-bcm-kona.
139149

140-
config PWM_BCM2835
141-
tristate "BCM2835 PWM support"
142-
depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
143-
depends on HAS_IOMEM
144-
help
145-
PWM framework driver for BCM2835 controller (Raspberry Pi)
146-
147-
To compile this driver as a module, choose M here: the module
148-
will be called pwm-bcm2835.
149-
150150
config PWM_BERLIN
151151
tristate "Marvell Berlin PWM support"
152152
depends on ARCH_BERLIN || COMPILE_TEST
@@ -435,6 +435,16 @@ config PWM_MC33XS2410
435435
To compile this driver as a module, choose M here: the module
436436
will be called pwm-mc33xs2410.
437437

438+
config PWM_MEDIATEK
439+
tristate "MediaTek PWM support"
440+
depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
441+
depends on HAS_IOMEM
442+
help
443+
Generic PWM framework driver for Mediatek ARM SoC.
444+
445+
To compile this driver as a module, choose M here: the module
446+
will be called pwm-mediatek.
447+
438448
config PWM_MESON
439449
tristate "Amlogic Meson PWM driver"
440450
depends on ARCH_MESON || COMPILE_TEST
@@ -445,6 +455,16 @@ config PWM_MESON
445455
To compile this driver as a module, choose M here: the module
446456
will be called pwm-meson.
447457

458+
config PWM_MICROCHIP_CORE
459+
tristate "Microchip corePWM PWM support"
460+
depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
461+
depends on HAS_IOMEM && OF
462+
help
463+
PWM driver for Microchip FPGA soft IP core.
464+
465+
To compile this driver as a module, choose M here: the module
466+
will be called pwm-microchip-core.
467+
448468
config PWM_MTK_DISP
449469
tristate "MediaTek display PWM driver"
450470
depends on ARCH_MEDIATEK || COMPILE_TEST
@@ -456,26 +476,6 @@ config PWM_MTK_DISP
456476
To compile this driver as a module, choose M here: the module
457477
will be called pwm-mtk-disp.
458478

459-
config PWM_MEDIATEK
460-
tristate "MediaTek PWM support"
461-
depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
462-
depends on HAS_IOMEM
463-
help
464-
Generic PWM framework driver for Mediatek ARM SoC.
465-
466-
To compile this driver as a module, choose M here: the module
467-
will be called pwm-mediatek.
468-
469-
config PWM_MICROCHIP_CORE
470-
tristate "Microchip corePWM PWM support"
471-
depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
472-
depends on HAS_IOMEM && OF
473-
help
474-
PWM driver for Microchip FPGA soft IP core.
475-
476-
To compile this driver as a module, choose M here: the module
477-
will be called pwm-microchip-core.
478-
479479
config PWM_MXS
480480
tristate "Freescale MXS PWM support"
481481
depends on ARCH_MXS || COMPILE_TEST

drivers/pwm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o
77
obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM) += pwm-atmel-hlcdc.o
88
obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o
99
obj-$(CONFIG_PWM_AXI_PWMGEN) += pwm-axi-pwmgen.o
10+
obj-$(CONFIG_PWM_BCM2835) += pwm-bcm2835.o
1011
obj-$(CONFIG_PWM_BCM_IPROC) += pwm-bcm-iproc.o
1112
obj-$(CONFIG_PWM_BCM_KONA) += pwm-bcm-kona.o
12-
obj-$(CONFIG_PWM_BCM2835) += pwm-bcm2835.o
1313
obj-$(CONFIG_PWM_BERLIN) += pwm-berlin.o
1414
obj-$(CONFIG_PWM_BRCMSTB) += pwm-brcmstb.o
1515
obj-$(CONFIG_PWM_CLK) += pwm-clk.o
@@ -38,8 +38,8 @@ 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
4040
obj-$(CONFIG_PWM_MC33XS2410) += pwm-mc33xs2410.o
41-
obj-$(CONFIG_PWM_MESON) += pwm-meson.o
4241
obj-$(CONFIG_PWM_MEDIATEK) += pwm-mediatek.o
42+
obj-$(CONFIG_PWM_MESON) += pwm-meson.o
4343
obj-$(CONFIG_PWM_MICROCHIP_CORE) += pwm-microchip-core.o
4444
obj-$(CONFIG_PWM_MTK_DISP) += pwm-mtk-disp.o
4545
obj-$(CONFIG_PWM_MXS) += pwm-mxs.o

0 commit comments

Comments
 (0)