pwm: tidyup PWM menu for Renesas
Subsystems (3)
PATCH v4 1/1 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.
---
v3 -> v4
- Based on linux-next/master
arch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/shmobile_defconfig | 2 +- arch/arm64/configs/defconfig | 6 ++-- drivers/pwm/Kconfig | 44 ++++++++++++++--------------- drivers/pwm/Makefile | 6 ++-- 5 files changed, 30 insertions(+), 30 deletions(-)
arch/arm/configs/multi_v7_defconfig +1 -1
@@ -1184,7 +1184,7 @@ CONFIG_PWM_BCM2835=y CONFIG_PWM_BRCMSTB=m CONFIG_PWM_FSL_FTM=m CONFIG_PWM_MESON=m -CONFIG_PWM_RCAR=m +CONFIG_PWM_RENESAS_RCAR=m CONFIG_PWM_RENESAS_TPU=y CONFIG_PWM_ROCKCHIP=m CONFIG_PWM_SAMSUNG=m
arch/arm/configs/shmobile_defconfig +1 -1
@@ -203,7 +203,7 @@ CONFIG_RZ_DMAC=y CONFIG_IIO=y CONFIG_AK8975=y CONFIG_PWM=y -CONFIG_PWM_RCAR=y +CONFIG_PWM_RENESAS_RCAR=y CONFIG_PWM_RENESAS_TPU=y CONFIG_PHY_RCAR_GEN2=y CONFIG_PHY_RCAR_GEN3_USB2=y
arch/arm64/configs/defconfig +3 -3
@@ -1536,11 +1536,11 @@ CONFIG_PWM_IMX27=m CONFIG_PWM_MESON=m CONFIG_PWM_MTK_DISP=m CONFIG_PWM_MEDIATEK=m -CONFIG_PWM_RCAR=m +CONFIG_PWM_RENESAS_RCAR=m +CONFIG_PWM_RENESAS_RZG2L_GPT=m +CONFIG_PWM_RENESAS_RZ_MTU3=m CONFIG_PWM_RENESAS_TPU=m CONFIG_PWM_ROCKCHIP=y -CONFIG_PWM_RZG2L_GPT=m -CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=m
drivers/pwm/Kconfig +22 -22
68 lines not on this page · raw message
drivers/pwm/Makefile +3 -3
@@ -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
Signature · 1 line
2.43.0
Hi Morimoto-san,
I like cleanup patches!
Quoted 11 lines · Kuninori Morimoto
Because current PWM
Kconfigis 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 supportLet's use common
CONFIG_PWM_RENESAS_xxxsymbol name for Renesas, and sort it.
I think you also need to update the symbol names in the various config files found in tree. A quick look,
$ git grep CONFIG_PWM_RCAR -- arch
arch/arm/configs/multi_v7_defconfig:1206:CONFIG_PWM_RCAR=m
arch/arm/configs/shmobile_defconfig:220:CONFIG_PWM_RCAR=y
arch/arm64/configs/defconfig:1553:CONFIG_PWM_RCAR=m $ git grep CONFIG_PWM_RZG2L_GPT -- arch
arch/arm64/configs/defconfig:1534:CONFIG_PWM_RZG2L_GPT=m $ git grep CONFIG_PWM_RZ_MTU3 -- arch
arch/arm64/configs/defconfig:1556:CONFIG_PWM_RZ_MTU3=mQuoted 157 lines
Signed-off-by Kuninori Morimoto <[email protected]>---
v3 -> v4
- Based on linux-next/masterarch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/shmobile_defconfig | 2 +- arch/arm64/configs/defconfig | 6 ++-- drivers/pwm/Kconfig | 44 ++++++++++++++--------------- drivers/pwm/Makefile | 6 ++-- 5 files changed, 30 insertions(+), 30 deletions(-)arch/arm/configs/multi_v7_defconfig +1
-1@@ -1184,7 +1184,7 @@ CONFIG_PWM_BCM2835=y CONFIG_PWM_BRCMSTB=m CONFIG_PWM_FSL_FTM=m CONFIG_PWM_MESON=m -CONFIG_PWM_RCAR=m +CONFIG_PWM_RENESAS_RCAR=m CONFIG_PWM_RENESAS_TPU=y CONFIG_PWM_ROCKCHIP=m CONFIG_PWM_SAMSUNG=march/arm/configs/shmobile_defconfig +1
-1@@ -203,7 +203,7 @@ CONFIG_RZ_DMAC=y CONFIG_IIO=y CONFIG_AK8975=y CONFIG_PWM=y -CONFIG_PWM_RCAR=y +CONFIG_PWM_RENESAS_RCAR=y CONFIG_PWM_RENESAS_TPU=y CONFIG_PHY_RCAR_GEN2=y CONFIG_PHY_RCAR_GEN3_USB2=yarch/arm64/configs/defconfig +3
-3@@ -1536,11 +1536,11 @@ CONFIG_PWM_IMX27=m CONFIG_PWM_MESON=m CONFIG_PWM_MTK_DISP=m CONFIG_PWM_MEDIATEK=m -CONFIG_PWM_RCAR=m +CONFIG_PWM_RENESAS_RCAR=m +CONFIG_PWM_RENESAS_RZG2L_GPT=m +CONFIG_PWM_RENESAS_RZ_MTU3=m CONFIG_PWM_RENESAS_TPU=m CONFIG_PWM_ROCKCHIP=y -CONFIG_PWM_RZG2L_GPT=m -CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=mdrivers/pwm/Kconfig +22
-22@@ -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_TESTdrivers/pwm/Makefile +3
-3@@ -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.oSignature · 1 line
2.43.0
Signature · 2 lines
Kind Regards, Niklas Söderlund
Uwe Kleine-König
maintainerQuoted 25 lines · Niklas Söderlund
Hi Morimoto-san,
I like cleanup patches!
Quoted 11 lines · Kuninori Morimoto
Because current PWM
Kconfigis 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 supportLet's use common
CONFIG_PWM_RENESAS_xxxsymbol name for Renesas, and sort it.I think you also need to update the symbol names in the various config files found in tree. A quick look,
$ git grep CONFIG_PWM_RCAR -- arch arch/arm/configs/multi_v7_defconfig:1206:CONFIG_PWM_RCAR=m arch/arm/configs/shmobile_defconfig:220:CONFIG_PWM_RCAR=y arch/arm64/configs/defconfig:1553:CONFIG_PWM_RCAR=m
Quoted 15 lines
$ git grep CONFIG_PWM_RZG2L_GPT -- arch arch/arm64/configs/defconfig:1534:CONFIG_PWM_RZG2L_GPT=m$ git grep CONFIG_PWM_RZ_MTU3 -- arch arch/arm64/configs/defconfig:1556:CONFIG_PWM_RZ_MTU3=mQuoted 9 lines
Signed-off-by Kuninori Morimoto <[email protected]>---
v3 -> v4
- Based on linux-next/masterarch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/shmobile_defconfig | 2 +- arch/arm64/configs/defconfig | 6 ++--
I didn't check in detail, but looking at the diffstat I'd claim that adapting the defconfigs is coped for?
Best regards
Uwe
Quoted 38 lines · Uwe Kleine-König
Quoted 37 lines · Niklas Söderlund
Hi Morimoto-san,
I like cleanup patches!
Quoted 11 lines · Kuninori Morimoto
Because current PWM
Kconfigis 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 supportLet's use common
CONFIG_PWM_RENESAS_xxxsymbol name for Renesas, and sort it.I think you also need to update the symbol names in the various config files found in tree. A quick look,
$ git grep CONFIG_PWM_RCAR -- arch arch/arm/configs/multi_v7_defconfig:1206:CONFIG_PWM_RCAR=m arch/arm/configs/shmobile_defconfig:220:CONFIG_PWM_RCAR=y arch/arm64/configs/defconfig:1553:CONFIG_PWM_RCAR=m$ git grep CONFIG_PWM_RZG2L_GPT -- arch arch/arm64/configs/defconfig:1534:CONFIG_PWM_RZG2L_GPT=m$ git grep CONFIG_PWM_RZ_MTU3 -- arch arch/arm64/configs/defconfig:1556:CONFIG_PWM_RZ_MTU3=mQuoted 6 lines
Signed-off-by Kuninori Morimoto <[email protected]>---
v3 -> v4
- Based on linux-next/master
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
arch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/shmobile_defconfig | 2 +- arch/arm64/configs/defconfig | 6 ++--I didn't check in detail, but looking at the diffstat I'd claim that adapting the defconfigs is coped for?
You are correct, my bad. Had the wrong branch when testing. Sorry for the noise.
Quoted 3 lines
Best regards
Uwe
Signature · 2 lines
Kind Regards, Niklas Söderlund
Hi Morimoto-San,
Quoted 12 lines
-----Original Message-----
From: Kuninori Morimoto <[email protected]>
Subject: [PATCH v4] pwm: tidyup PWM menu for RenesasBecause current PWM
Kconfigis 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
Quoted 3 lines
Let's use common
CONFIG_PWM_RENESAS_xxxsymbol name for Renesas, and sort it.Signed-off-by Kuninori Morimoto <[email protected]>
Cheers,
Biju
Quoted 144 lines
---
v3 -> v4
- Based on linux-next/masterarch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/shmobile_defconfig | 2 +- arch/arm64/configs/defconfig | 6 ++-- drivers/pwm/Kconfig | 44 ++++++++++++++--------------- drivers/pwm/Makefile | 6 ++-- 5 files changed, 30 insertions(+), 30 deletions(-)arch/arm/configs/multi_v7_defconfig +0
-0@@ -1184,7 +1184,7 @@ CONFIG_PWM_BCM2835=y CONFIG_PWM_BRCMSTB=m CONFIG_PWM_FSL_FTM=m
CONFIG_PWM_MESON=m-CONFIG_PWM_RCAR=march/arm/configs/multi_v7_defconfig +1
-0+CONFIG_PWM_RENESAS_RCAR=m CONFIG_PWM_RENESAS_TPU=y CONFIG_PWM_ROCKCHIP=m CONFIG_PWM_SAMSUNG=march/arm/configs/shmobile_defconfig +1
-1@@ -203,7 +203,7 @@ CONFIG_RZ_DMAC=y CONFIG_IIO=y CONFIG_AK8975=y CONFIG_PWM=y -CONFIG_PWM_RCAR=y +CONFIG_PWM_RENESAS_RCAR=y CONFIG_PWM_RENESAS_TPU=y CONFIG_PHY_RCAR_GEN2=y CONFIG_PHY_RCAR_GEN3_USB2=yarch/arm64/configs/defconfig index renamed from arch/arm64/configs/defconfig +0
-0
d0768584647c..fe021cbb6393100644arch/arm64/configs/defconfig +0
-0@@ -1536,11 +1536,11 @@ CONFIG_PWM_IMX27=m CONFIG_PWM_MESON=m CONFIG_PWM_MTK_DISP=m
CONFIG_PWM_MEDIATEK=m-CONFIG_PWM_RCAR=march/arm64/configs/defconfig +3
-2+CONFIG_PWM_RENESAS_RCAR=m +CONFIG_PWM_RENESAS_RZG2L_GPT=m +CONFIG_PWM_RENESAS_RZ_MTU3=m CONFIG_PWM_RENESAS_TPU=m CONFIG_PWM_ROCKCHIP=y -CONFIG_PWM_RZG2L_GPT=m -CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=mdrivers/pwm/Kconfig +22
-22@@ -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 --gita/drivers/pwm/Makefile b/drivers/pwm/Makefile index
5c782af8f49b..96160f4257fc100644drivers/pwm/Makefile +3
-4@@ -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 --2.43.0
Uwe Kleine-König
maintainerHello,
Quoted 45 lines · Kuninori Morimoto
Because current PWM
Kconfigis 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 supportLet's use common
CONFIG_PWM_RENESAS_xxxsymbol name for Renesas, and sort it.Signed-off-by Kuninori Morimoto <[email protected]>---
v3 -> v4
- Based on linux-next/masterarch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/shmobile_defconfig | 2 +- arch/arm64/configs/defconfig | 6 ++-- drivers/pwm/Kconfig | 44 ++++++++++++++--------------- drivers/pwm/Makefile | 6 ++-- 5 files changed, 30 insertions(+), 30 deletions(-)arch/arm/configs/multi_v7_defconfig +0
-0@@ -1184,7 +1184,7 @@ CONFIG_PWM_BCM2835=yarch/arm/configs/shmobile_defconfig +0
-0@@ -203,7 +203,7 @@ CONFIG_RZ_DMAC=yarch/arm64/configs/defconfig +0
-1@@ -1536,11 +1536,11 @@ CONFIG_PWM_IMX27=m CONFIG_PWM_MESON=m CONFIG_PWM_MTK_DISP=m CONFIG_PWM_MEDIATEK=m -CONFIG_PWM_RCAR=m
arch/arm64/configs/defconfig CONFIG_PWM_IMX27=m · line 1546
Quoted 10 lines
arch/arm64/configs/defconfig +3
-2+CONFIG_PWM_RENESAS_RCAR=m +CONFIG_PWM_RENESAS_RZG2L_GPT=m +CONFIG_PWM_RENESAS_RZ_MTU3=m CONFIG_PWM_RENESAS_TPU=m CONFIG_PWM_ROCKCHIP=y -CONFIG_PWM_RZG2L_GPT=m -CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=m
I was about to apply this patch, but here in arch/arm64/configs/defconfig is an not entirely trivial merge conflict. The problem is that CONFIG_PWM_RZG2L_GPT=m is only added in commit 5ad7de623853 ("arm64: defconfig: Enable Renesas RZ/G2L GPT config") which isn't included in my tree yet but only in Geert's renesas-devel.git/next. So conceptually I'd need to do:
arch/arm64/configs/defconfig +2 -2
@@ -1536,11 +1536,11 @@ CONFIG_PWM_IMX27=m CONFIG_PWM_MESON=m CONFIG_PWM_MTK_DISP=m CONFIG_PWM_MEDIATEK=m -CONFIG_PWM_RCAR=m +CONFIG_PWM_RENESAS_RCAR=m +CONFIG_PWM_RENESAS_RZ_MTU3=m CONFIG_PWM_RENESAS_TPU=m CONFIG_PWM_ROCKCHIP=y -CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=m
and the merge conflict resolution needs to add CONFIG_PWM_RENESAS_RZG2L_GPT=m. This is too bad IMHO.
The obvious options are (in order of my preference):
- Geert declares his renesas-arm-defconfig-for-v6.16 to be stable and I merge it into my tree and then apply the patch
- I cherry pick 5ad7de623853 in my pwm tree and Geert drops it
- I delay applying the patch until after v6.16-rc1
Geert: What is your preference? Let's discuss on irc?
Best regards
Uwe
Hi Uwe, Geert
Quoted 11 lines
Quoted 11 lines
=> [ ] 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 supportLet's use common
CONFIG_PWM_RENESAS_xxxsymbol name for Renesas, and sort it.Signed-off-by Kuninori Morimoto <[email protected]>---
(snip)
Quoted 2 lines
I was about to apply this patch, but here in
arch/arm64/configs/defconfigis an not entirely trivial merge conflict.
(snip)
Quoted 1 line
- I delay applying the patch until after v6.16-rc1
This is not a important patch, IMO.
I can re-post the patch after next merge window, if Uwe is OK.
Thank you for your help !!
Best regards
---
Kuninori Morimoto
Hi Uwe,
Quoted 83 lines · Uwe Kleine-König
Quoted 45 lines · Kuninori Morimoto
Because current PWM
Kconfigis 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 supportLet's use common
CONFIG_PWM_RENESAS_xxxsymbol name for Renesas, and sort it.Signed-off-by Kuninori Morimoto <[email protected]>---
v3 -> v4
- Based on linux-next/masterarch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/shmobile_defconfig | 2 +- arch/arm64/configs/defconfig | 6 ++-- drivers/pwm/Kconfig | 44 ++++++++++++++--------------- drivers/pwm/Makefile | 6 ++-- 5 files changed, 30 insertions(+), 30 deletions(-)arch/arm/configs/multi_v7_defconfig +0
-0@@ -1184,7 +1184,7 @@ CONFIG_PWM_BCM2835=yarch/arm/configs/shmobile_defconfig +0
-0@@ -203,7 +203,7 @@ CONFIG_RZ_DMAC=yarch/arm64/configs/defconfig +0
-1@@ -1536,11 +1536,11 @@ CONFIG_PWM_IMX27=m CONFIG_PWM_MESON=m CONFIG_PWM_MTK_DISP=m CONFIG_PWM_MEDIATEK=m -CONFIG_PWM_RCAR=march/arm64/configs/defconfig CONFIG_PWM_IMX27=m · line 1546
Quoted 10 lines
arch/arm64/configs/defconfig +3
-2+CONFIG_PWM_RENESAS_RCAR=m +CONFIG_PWM_RENESAS_RZG2L_GPT=m +CONFIG_PWM_RENESAS_RZ_MTU3=m CONFIG_PWM_RENESAS_TPU=m CONFIG_PWM_ROCKCHIP=y -CONFIG_PWM_RZG2L_GPT=m -CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=mI was about to apply this patch, but here in
arch/arm64/configs/defconfigis an not entirely trivial merge conflict. The problem is thatCONFIG_PWM_RZG2L_GPT=mis only added in commit5ad7de623853("arm64: defconfig: Enable Renesas RZ/G2L GPT config") which isn't included in my tree yet but only in Geert's renesas-devel.git/next. So conceptually I'd need to do:arch/arm64/configs/defconfig +2
-2@@ -1536,11 +1536,11 @@ CONFIG_PWM_IMX27=m CONFIG_PWM_MESON=m CONFIG_PWM_MTK_DISP=m CONFIG_PWM_MEDIATEK=m -CONFIG_PWM_RCAR=m +CONFIG_PWM_RENESAS_RCAR=m +CONFIG_PWM_RENESAS_RZ_MTU3=m CONFIG_PWM_RENESAS_TPU=m CONFIG_PWM_ROCKCHIP=y -CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=mand the merge conflict resolution needs to add
CONFIG_PWM_RENESAS_RZG2L_GPT=m. This is too bad IMHO.
Quoted 8 lines
The obvious options are (in order of my preference):
- Geert declares his renesas-arm-defconfig-for-v6.16 to be stable and I merge it into my tree and then apply the patch
- I cherry pick5ad7de623853in my pwm tree and Geert drops it
- I delay applying the patch until after v6.16-rc1Geert: What is your preference? Let's discuss on irc?
My tag renesas-arm-defconfig-for-v6.16-tag2 is stable, as that is already merged in the soc tree.
However, renaming config symbols always comes with its own set of
pains: users must notice and adapt when updating their own configs, and I do have to manage the non-upstream renesas_defconfig, too. What about dropping the rename part? The symbols that currently lack a RENESAS-prefix do have fairly unique family prefixes.
Morimoto-san: Would that still be OK for you?
Thanks!
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Uwe Kleine-König
maintainerHello,
Quoted 13 lines · Geert Uytterhoeven
Quoted 8 lines · Uwe Kleine-König
The obvious options are (in order of my preference):
- Geert declares his renesas-arm-defconfig-for-v6.16 to be stable and I merge it into my tree and then apply the patch
- I cherry pick5ad7de623853in my pwm tree and Geert drops it
- I delay applying the patch until after v6.16-rc1Geert: What is your preference? Let's discuss on irc?
My tag renesas-arm-defconfig-for-v6.16-tag2 is stable, as that is already merged in the soc tree.
Quoted 7 lines
However, renaming config symbols always comes with its own set of
pains: users must notice and adapt when updating their own configs, and I do have to manage the non-upstreamrenesas_defconfig, too. What about dropping the rename part? The symbols that currently lack a RENESAS-prefix do have fairly unique family prefixes.Morimoto-san: Would that still be OK for you?
I agreed with Geert off-list that merging renesas-arm-defconfig-for-v6.16-tag2 into the pwm tree and apply the patch is fine for him.
That's what I did now.
Thanks
Uwe
Hi Geert
Quoted 5 lines
Quoted 5 lines
However, renaming config symbols always comes with its own set of
pains: users must notice and adapt when updating their own configs, and I do have to manage the non-upstreamrenesas_defconfig, too. What about dropping the rename part? The symbols that currently lack a RENESAS-prefix do have fairly unique family prefixes.
(snip)
Quoted 3 lines
I agreed with Geert off-list that merging renesas-arm-defconfig-for-v6.16-tag2 into the pwm tree and apply the patch is fine for him.
It seems the patch was applied (?)
If so, I have a plan to post patch for renesas_defconfig to update symbols. I'm thinking I will post it after next merge window, but please let me know if I can post it immediately.
Thank you for your help !!
Best regards
---
Kuninori Morimoto
Hi Morimoto-san,
Quoted 10 lines · Kuninori Morimoto
Quoted 5 lines
Quoted 5 lines
However, renaming config symbols always comes with its own set of
pains: users must notice and adapt when updating their own configs, and I do have to manage the non-upstreamrenesas_defconfig, too. What about dropping the rename part? The symbols that currently lack a RENESAS-prefix do have fairly unique family prefixes.(snip)
Quoted 3 lines
I agreed with Geert off-list that merging renesas-arm-defconfig-for-v6.16-tag2 into the pwm tree and apply the patch is fine for him.
Quoted 5 lines
It seems the patch was applied (?)
If so, I have a plan to post patch for
renesas_defconfigto update symbols. I'm thinking I will post it after next merge window, but please let me know if I can post it immediately.
You can send it now, but I cannot apply it before the Kconfig changes are upstream. I do have to update renesas_defconfig in next renesas-drivers release anyway, as usual (cfr. the top 3 commits in renesas-drivers), so I can take it there.
Thanks!
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hi Geert
Quoted 8 lines
Quoted 3 lines
If so, I have a plan to post patch for
renesas_defconfigto update symbols. I'm thinking I will post it after next merge window, but please let me know if I can post it immediately.You can send it now, but I cannot apply it before the
Kconfigchanges are upstream. I do have to updaterenesas_defconfigin next renesas-drivers release anyway, as usual (cfr. the top 3 commits in renesas-drivers), so I can take it there.
Thank you for your help !!
Done
Best regards
---
Kuninori Morimoto