pwm: Restore alphabetic ordering in Kconfig and Makefile
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 8 May 2025 08:17:06 +0000 (10:17 +0200)
committerUwe Kleine-König <ukleinek@kernel.org>
Thu, 8 May 2025 09:52:31 +0000 (11:52 +0200)
The drivers are nearly ordered alphabetically by the symbol name. Fix the
few outliers.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20250508081706.751209-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/Kconfig
drivers/pwm/Makefile

index 6faa8b2ec0a4844f667a84335f30bde44d52378e..c866ed388da961061b61a29ff7b85e36ea01523d 100644 (file)
@@ -114,6 +114,16 @@ config PWM_AXI_PWMGEN
          To compile this driver as a module, choose M here: the module will be
          called pwm-axi-pwmgen.
 
+config PWM_BCM2835
+       tristate "BCM2835 PWM support"
+       depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
+       depends on HAS_IOMEM
+       help
+         PWM framework driver for BCM2835 controller (Raspberry Pi)
+
+         To compile this driver as a module, choose M here: the module
+         will be called pwm-bcm2835.
+
 config PWM_BCM_IPROC
        tristate "iProc PWM support"
        depends on ARCH_BCM_IPROC || COMPILE_TEST
@@ -137,16 +147,6 @@ config PWM_BCM_KONA
          To compile this driver as a module, choose M here: the module
          will be called pwm-bcm-kona.
 
-config PWM_BCM2835
-       tristate "BCM2835 PWM support"
-       depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
-       depends on HAS_IOMEM
-       help
-         PWM framework driver for BCM2835 controller (Raspberry Pi)
-
-         To compile this driver as a module, choose M here: the module
-         will be called pwm-bcm2835.
-
 config PWM_BERLIN
        tristate "Marvell Berlin PWM support"
        depends on ARCH_BERLIN || COMPILE_TEST
@@ -435,6 +435,16 @@ config PWM_MC33XS2410
          To compile this driver as a module, choose M here: the module
          will be called pwm-mc33xs2410.
 
+config PWM_MEDIATEK
+       tristate "MediaTek PWM support"
+       depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
+       depends on HAS_IOMEM
+       help
+         Generic PWM framework driver for Mediatek ARM SoC.
+
+         To compile this driver as a module, choose M here: the module
+         will be called pwm-mediatek.
+
 config PWM_MESON
        tristate "Amlogic Meson PWM driver"
        depends on ARCH_MESON || COMPILE_TEST
@@ -445,6 +455,16 @@ config PWM_MESON
          To compile this driver as a module, choose M here: the module
          will be called pwm-meson.
 
+config PWM_MICROCHIP_CORE
+       tristate "Microchip corePWM PWM support"
+       depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
+       depends on HAS_IOMEM && OF
+       help
+         PWM driver for Microchip FPGA soft IP core.
+
+         To compile this driver as a module, choose M here: the module
+         will be called pwm-microchip-core.
+
 config PWM_MTK_DISP
        tristate "MediaTek display PWM driver"
        depends on ARCH_MEDIATEK || COMPILE_TEST
@@ -456,26 +476,6 @@ config PWM_MTK_DISP
          To compile this driver as a module, choose M here: the module
          will be called pwm-mtk-disp.
 
-config PWM_MEDIATEK
-       tristate "MediaTek PWM support"
-       depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
-       depends on HAS_IOMEM
-       help
-         Generic PWM framework driver for Mediatek ARM SoC.
-
-         To compile this driver as a module, choose M here: the module
-         will be called pwm-mediatek.
-
-config PWM_MICROCHIP_CORE
-       tristate "Microchip corePWM PWM support"
-       depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
-       depends on HAS_IOMEM && OF
-       help
-         PWM driver for Microchip FPGA soft IP core.
-
-         To compile this driver as a module, choose M here: the module
-         will be called pwm-microchip-core.
-
 config PWM_MXS
        tristate "Freescale MXS PWM support"
        depends on ARCH_MXS || COMPILE_TEST
index 9742fc196f07bd0ce174a2f4e70027e435ad2e55..5c782af8f49b117ce13591cd92a10b1063ee288d 100644 (file)
@@ -7,9 +7,9 @@ obj-$(CONFIG_PWM_ATMEL)         += pwm-atmel.o
 obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM)      += pwm-atmel-hlcdc.o
 obj-$(CONFIG_PWM_ATMEL_TCB)    += pwm-atmel-tcb.o
 obj-$(CONFIG_PWM_AXI_PWMGEN)   += pwm-axi-pwmgen.o
+obj-$(CONFIG_PWM_BCM2835)      += pwm-bcm2835.o
 obj-$(CONFIG_PWM_BCM_IPROC)    += pwm-bcm-iproc.o
 obj-$(CONFIG_PWM_BCM_KONA)     += pwm-bcm-kona.o
-obj-$(CONFIG_PWM_BCM2835)      += pwm-bcm2835.o
 obj-$(CONFIG_PWM_BERLIN)       += pwm-berlin.o
 obj-$(CONFIG_PWM_BRCMSTB)      += pwm-brcmstb.o
 obj-$(CONFIG_PWM_CLK)          += pwm-clk.o
@@ -38,8 +38,8 @@ obj-$(CONFIG_PWM_LPSS)                += pwm-lpss.o
 obj-$(CONFIG_PWM_LPSS_PCI)     += pwm-lpss-pci.o
 obj-$(CONFIG_PWM_LPSS_PLATFORM)        += pwm-lpss-platform.o
 obj-$(CONFIG_PWM_MC33XS2410)   += pwm-mc33xs2410.o
-obj-$(CONFIG_PWM_MESON)                += pwm-meson.o
 obj-$(CONFIG_PWM_MEDIATEK)     += pwm-mediatek.o
+obj-$(CONFIG_PWM_MESON)                += pwm-meson.o
 obj-$(CONFIG_PWM_MICROCHIP_CORE)       += pwm-microchip-core.o
 obj-$(CONFIG_PWM_MTK_DISP)     += pwm-mtk-disp.o
 obj-$(CONFIG_PWM_MXS)          += pwm-mxs.o