summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2025-05-12 06:33:12 +0000
committerUwe Kleine-König <ukleinek@kernel.org>2025-05-14 10:20:55 +0200
commit25ac4834cae97f7787ba5562ce1511d7524955e0 (patch)
tree20fe4b1e1599197d09fd942b2592754b7b3fcd4a /drivers/pwm
parent96ce677a0c6ba00fcb79e377c31d3c1a461c928e (diff)
downloadlinux-next-25ac4834cae97f7787ba5562ce1511d7524955e0.tar.gz
linux-next-25ac4834cae97f7787ba5562ce1511d7524955e0.zip
pwm: Tidyup PWM menu for Renesas
Because current PWM Kconfig is sorting by symbol name, it looks strange ordering in menuconfig. => [ ] Renesas R-Car PWM support => [ ] Renesas TPU PWM support [ ] Rockchip PWM support => [ ] Renesas RZ/G2L General PWM Timer support => [ ] Renesas RZ/G2L MTU3a PWM Timer support Let's use common CONFIG_PWM_RENESAS_xxx symbol name for Renesas, and sort it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/877c2mxrrr.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/Kconfig44
-rw-r--r--drivers/pwm/Makefile6
2 files changed, 25 insertions, 25 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index c866ed388da9..d9bcd1e8413e 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -534,7 +534,7 @@ config PWM_RASPBERRYPI_POE
Enable Raspberry Pi firmware controller PWM bus used to control the
official RPI PoE hat
-config PWM_RCAR
+config PWM_RENESAS_RCAR
tristate "Renesas R-Car PWM support"
depends on ARCH_RENESAS || COMPILE_TEST
depends on HAS_IOMEM
@@ -545,26 +545,7 @@ config PWM_RCAR
To compile this driver as a module, choose M here: the module
will be called pwm-rcar.
-config PWM_RENESAS_TPU
- tristate "Renesas TPU PWM support"
- depends on ARCH_RENESAS || COMPILE_TEST
- depends on HAS_IOMEM
- help
- This driver exposes the Timer Pulse Unit (TPU) PWM controller found
- in Renesas chips through the PWM API.
-
- To compile this driver as a module, choose M here: the module
- will be called pwm-renesas-tpu.
-
-config PWM_ROCKCHIP
- tristate "Rockchip PWM support"
- depends on ARCH_ROCKCHIP || COMPILE_TEST
- depends on HAS_IOMEM
- help
- Generic PWM framework driver for the PWM controller found on
- Rockchip SoCs.
-
-config PWM_RZG2L_GPT
+config PWM_RENESAS_RZG2L_GPT
tristate "Renesas RZ/G2L General PWM Timer support"
depends on ARCH_RZG2L || COMPILE_TEST
depends on HAS_IOMEM
@@ -575,7 +556,7 @@ config PWM_RZG2L_GPT
To compile this driver as a module, choose M here: the module
will be called pwm-rzg2l-gpt.
-config PWM_RZ_MTU3
+config PWM_RENESAS_RZ_MTU3
tristate "Renesas RZ/G2L MTU3a PWM Timer support"
depends on RZ_MTU3
depends on HAS_IOMEM
@@ -586,6 +567,25 @@ config PWM_RZ_MTU3
To compile this driver as a module, choose M here: the module
will be called pwm-rz-mtu3.
+config PWM_RENESAS_TPU
+ tristate "Renesas TPU PWM support"
+ depends on ARCH_RENESAS || COMPILE_TEST
+ depends on HAS_IOMEM
+ help
+ This driver exposes the Timer Pulse Unit (TPU) PWM controller found
+ in Renesas chips through the PWM API.
+
+ To compile this driver as a module, choose M here: the module
+ will be called pwm-renesas-tpu.
+
+config PWM_ROCKCHIP
+ tristate "Rockchip PWM support"
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
+ depends on HAS_IOMEM
+ help
+ Generic PWM framework driver for the PWM controller found on
+ Rockchip SoCs.
+
config PWM_SAMSUNG
tristate "Samsung PWM support"
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile
index 5c782af8f49b..96160f4257fc 100644
--- a/drivers/pwm/Makefile
+++ b/drivers/pwm/Makefile
@@ -48,11 +48,11 @@ obj-$(CONFIG_PWM_OMAP_DMTIMER) += pwm-omap-dmtimer.o
obj-$(CONFIG_PWM_PCA9685) += pwm-pca9685.o
obj-$(CONFIG_PWM_PXA) += pwm-pxa.o
obj-$(CONFIG_PWM_RASPBERRYPI_POE) += pwm-raspberrypi-poe.o
-obj-$(CONFIG_PWM_RCAR) += pwm-rcar.o
+obj-$(CONFIG_PWM_RENESAS_RCAR) += pwm-rcar.o
+obj-$(CONFIG_PWM_RENESAS_RZG2L_GPT) += pwm-rzg2l-gpt.o
+obj-$(CONFIG_PWM_RENESAS_RZ_MTU3) += pwm-rz-mtu3.o
obj-$(CONFIG_PWM_RENESAS_TPU) += pwm-renesas-tpu.o
obj-$(CONFIG_PWM_ROCKCHIP) += pwm-rockchip.o
-obj-$(CONFIG_PWM_RZG2L_GPT) += pwm-rzg2l-gpt.o
-obj-$(CONFIG_PWM_RZ_MTU3) += pwm-rz-mtu3.o
obj-$(CONFIG_PWM_SAMSUNG) += pwm-samsung.o
obj-$(CONFIG_PWM_SIFIVE) += pwm-sifive.o
obj-$(CONFIG_PWM_SL28CPLD) += pwm-sl28cpld.o