Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kuninori Morimoto and committed by
Uwe Kleine-König
25ac4834 96ce677a

+31 -31
+1 -1
arch/arm/configs/multi_v7_defconfig
··· 1184 1184 CONFIG_PWM_BRCMSTB=m 1185 1185 CONFIG_PWM_FSL_FTM=m 1186 1186 CONFIG_PWM_MESON=m 1187 - CONFIG_PWM_RCAR=m 1187 + CONFIG_PWM_RENESAS_RCAR=m 1188 1188 CONFIG_PWM_RENESAS_TPU=y 1189 1189 CONFIG_PWM_ROCKCHIP=m 1190 1190 CONFIG_PWM_SAMSUNG=m
+1 -1
arch/arm/configs/shmobile_defconfig
··· 203 203 CONFIG_IIO=y 204 204 CONFIG_AK8975=y 205 205 CONFIG_PWM=y 206 - CONFIG_PWM_RCAR=y 206 + CONFIG_PWM_RENESAS_RCAR=y 207 207 CONFIG_PWM_RENESAS_TPU=y 208 208 CONFIG_PHY_RCAR_GEN2=y 209 209 CONFIG_PHY_RCAR_GEN3_USB2=y
+3 -3
arch/arm64/configs/defconfig
··· 1528 1528 CONFIG_PWM_MESON=m 1529 1529 CONFIG_PWM_MTK_DISP=m 1530 1530 CONFIG_PWM_MEDIATEK=m 1531 - CONFIG_PWM_RCAR=m 1531 + CONFIG_PWM_RENESAS_RCAR=m 1532 + CONFIG_PWM_RENESAS_RZG2L_GPT=m 1533 + CONFIG_PWM_RENESAS_RZ_MTU3=m 1532 1534 CONFIG_PWM_RENESAS_TPU=m 1533 1535 CONFIG_PWM_ROCKCHIP=y 1534 - CONFIG_PWM_RZG2L_GPT=m 1535 - CONFIG_PWM_RZ_MTU3=m 1536 1536 CONFIG_PWM_SAMSUNG=y 1537 1537 CONFIG_PWM_SL28CPLD=m 1538 1538 CONFIG_PWM_SUN4I=m
+23 -23
drivers/pwm/Kconfig
··· 534 534 Enable Raspberry Pi firmware controller PWM bus used to control the 535 535 official RPI PoE hat 536 536 537 - config PWM_RCAR 537 + config PWM_RENESAS_RCAR 538 538 tristate "Renesas R-Car PWM support" 539 539 depends on ARCH_RENESAS || COMPILE_TEST 540 540 depends on HAS_IOMEM ··· 544 544 545 545 To compile this driver as a module, choose M here: the module 546 546 will be called pwm-rcar. 547 + 548 + config PWM_RENESAS_RZG2L_GPT 549 + tristate "Renesas RZ/G2L General PWM Timer support" 550 + depends on ARCH_RZG2L || COMPILE_TEST 551 + depends on HAS_IOMEM 552 + help 553 + This driver exposes the General PWM Timer controller found in Renesas 554 + RZ/G2L like chips through the PWM API. 555 + 556 + To compile this driver as a module, choose M here: the module 557 + will be called pwm-rzg2l-gpt. 558 + 559 + config PWM_RENESAS_RZ_MTU3 560 + tristate "Renesas RZ/G2L MTU3a PWM Timer support" 561 + depends on RZ_MTU3 562 + depends on HAS_IOMEM 563 + help 564 + This driver exposes the MTU3a PWM Timer controller found in Renesas 565 + RZ/G2L like chips through the PWM API. 566 + 567 + To compile this driver as a module, choose M here: the module 568 + will be called pwm-rz-mtu3. 547 569 548 570 config PWM_RENESAS_TPU 549 571 tristate "Renesas TPU PWM support" ··· 585 563 help 586 564 Generic PWM framework driver for the PWM controller found on 587 565 Rockchip SoCs. 588 - 589 - config PWM_RZG2L_GPT 590 - tristate "Renesas RZ/G2L General PWM Timer support" 591 - depends on ARCH_RZG2L || COMPILE_TEST 592 - depends on HAS_IOMEM 593 - help 594 - This driver exposes the General PWM Timer controller found in Renesas 595 - RZ/G2L like chips through the PWM API. 596 - 597 - To compile this driver as a module, choose M here: the module 598 - will be called pwm-rzg2l-gpt. 599 - 600 - config PWM_RZ_MTU3 601 - tristate "Renesas RZ/G2L MTU3a PWM Timer support" 602 - depends on RZ_MTU3 603 - depends on HAS_IOMEM 604 - help 605 - This driver exposes the MTU3a PWM Timer controller found in Renesas 606 - RZ/G2L like chips through the PWM API. 607 - 608 - To compile this driver as a module, choose M here: the module 609 - will be called pwm-rz-mtu3. 610 566 611 567 config PWM_SAMSUNG 612 568 tristate "Samsung PWM support"
+3 -3
drivers/pwm/Makefile
··· 48 48 obj-$(CONFIG_PWM_PCA9685) += pwm-pca9685.o 49 49 obj-$(CONFIG_PWM_PXA) += pwm-pxa.o 50 50 obj-$(CONFIG_PWM_RASPBERRYPI_POE) += pwm-raspberrypi-poe.o 51 - obj-$(CONFIG_PWM_RCAR) += pwm-rcar.o 51 + obj-$(CONFIG_PWM_RENESAS_RCAR) += pwm-rcar.o 52 + obj-$(CONFIG_PWM_RENESAS_RZG2L_GPT) += pwm-rzg2l-gpt.o 53 + obj-$(CONFIG_PWM_RENESAS_RZ_MTU3) += pwm-rz-mtu3.o 52 54 obj-$(CONFIG_PWM_RENESAS_TPU) += pwm-renesas-tpu.o 53 55 obj-$(CONFIG_PWM_ROCKCHIP) += pwm-rockchip.o 54 - obj-$(CONFIG_PWM_RZG2L_GPT) += pwm-rzg2l-gpt.o 55 - obj-$(CONFIG_PWM_RZ_MTU3) += pwm-rz-mtu3.o 56 56 obj-$(CONFIG_PWM_SAMSUNG) += pwm-samsung.o 57 57 obj-$(CONFIG_PWM_SIFIVE) += pwm-sifive.o 58 58 obj-$(CONFIG_PWM_SL28CPLD) += pwm-sl28cpld.o