All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
@ 2023-08-14 17:37 ` Jonathan Neuschäfer
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Neuschäfer @ 2023-08-14 17:37 UTC (permalink / raw)
  To: openbmc
  Cc: linux-kernel, Geert Uytterhoeven, Jonathan Neuschäfer,
	Joel Stanley, Paul Menzel, Arnd Bergmann, Geert Uytterhoeven

Add a menu "Nuvoton SoC drivers" to make it easier to add other Nuvoton
SoC drivers later on and to prevent asking about the Nuvoton WPCM450 SoC
driver when configuring a kernel without support for Nuvoton SoCs.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v4:
- Add Geert's tag
- Fix commit reference
- Change Link tag to Closes

v3:
- Split the commit into two
- Reword the commit messages a bit

v2:
- https://lore.kernel.org/lkml/20230212215234.2608565-1-j.neuschaefer@gmx.net/
- Commit message improvements, as suggested by Geert Uytterhoeven.
- Add Link after Reviewed-by, as checkpatch.pl now suggests
---
 drivers/soc/nuvoton/Kconfig | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig
index df46182088ec2..853392c8a9151 100644
--- a/drivers/soc/nuvoton/Kconfig
+++ b/drivers/soc/nuvoton/Kconfig
@@ -1,5 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
-menuconfig WPCM450_SOC
+menu "Nuvoton SoC drivers"
+	depends on ARCH_NPCM || COMPILE_TEST
+
+config WPCM450_SOC
 	tristate "Nuvoton WPCM450 SoC driver"
 	default y if ARCH_WPCM450
 	select SOC_BUS
@@ -9,3 +12,5 @@ menuconfig WPCM450_SOC

 	  This driver provides information such as the SoC model and
 	  revision.
+
+endmenu
--
2.40.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
@ 2023-08-14 17:37 ` Jonathan Neuschäfer
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Neuschäfer @ 2023-08-14 17:37 UTC (permalink / raw)
  To: openbmc
  Cc: Paul Menzel, Geert Uytterhoeven, Arnd Bergmann, linux-kernel,
	Jonathan Neuschäfer, Geert Uytterhoeven, Joel Stanley

Add a menu "Nuvoton SoC drivers" to make it easier to add other Nuvoton
SoC drivers later on and to prevent asking about the Nuvoton WPCM450 SoC
driver when configuring a kernel without support for Nuvoton SoCs.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v4:
- Add Geert's tag
- Fix commit reference
- Change Link tag to Closes

v3:
- Split the commit into two
- Reword the commit messages a bit

v2:
- https://lore.kernel.org/lkml/20230212215234.2608565-1-j.neuschaefer@gmx.net/
- Commit message improvements, as suggested by Geert Uytterhoeven.
- Add Link after Reviewed-by, as checkpatch.pl now suggests
---
 drivers/soc/nuvoton/Kconfig | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig
index df46182088ec2..853392c8a9151 100644
--- a/drivers/soc/nuvoton/Kconfig
+++ b/drivers/soc/nuvoton/Kconfig
@@ -1,5 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
-menuconfig WPCM450_SOC
+menu "Nuvoton SoC drivers"
+	depends on ARCH_NPCM || COMPILE_TEST
+
+config WPCM450_SOC
 	tristate "Nuvoton WPCM450 SoC driver"
 	default y if ARCH_WPCM450
 	select SOC_BUS
@@ -9,3 +12,5 @@ menuconfig WPCM450_SOC

 	  This driver provides information such as the SoC model and
 	  revision.
+
+endmenu
--
2.40.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v4 2/2] soc: nuvoton: Add "select REGMAP" to WPCM450 SoC driver
  2023-08-14 17:37 ` Jonathan Neuschäfer
@ 2023-08-14 17:37   ` Jonathan Neuschäfer
  -1 siblings, 0 replies; 8+ messages in thread
From: Jonathan Neuschäfer @ 2023-08-14 17:37 UTC (permalink / raw)
  To: openbmc
  Cc: linux-kernel, Geert Uytterhoeven, Jonathan Neuschäfer,
	Joel Stanley, Paul Menzel, Arnd Bergmann, Geert Uytterhoeven

Select CONFIG_REGMAP from CONFIG_WPCM450_SOC, because the driver relies
on regmap to work.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v4:
- Add Geert's R-b tag
- Fix commit reference
- Change Link tag to Closes

v3:
- Split the commit into two
- Reword the commit messages a bit

v2:
- https://lore.kernel.org/lkml/20230212215234.2608565-1-j.neuschaefer@gmx.net/
- Commit message improvements, as suggested by Geert Uytterhoeven.
- Add Link after Reviewed-by, as checkpatch.pl now suggests
---
 drivers/soc/nuvoton/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig
index 853392c8a9151..2167d3d739d84 100644
--- a/drivers/soc/nuvoton/Kconfig
+++ b/drivers/soc/nuvoton/Kconfig
@@ -6,6 +6,7 @@ config WPCM450_SOC
 	tristate "Nuvoton WPCM450 SoC driver"
 	default y if ARCH_WPCM450
 	select SOC_BUS
+	select REGMAP
 	help
 	  Say Y here to compile the SoC information driver for Nuvoton
 	  WPCM450 SoCs.
--
2.40.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v4 2/2] soc: nuvoton: Add "select REGMAP" to WPCM450 SoC driver
@ 2023-08-14 17:37   ` Jonathan Neuschäfer
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Neuschäfer @ 2023-08-14 17:37 UTC (permalink / raw)
  To: openbmc
  Cc: Paul Menzel, Geert Uytterhoeven, Arnd Bergmann, linux-kernel,
	Jonathan Neuschäfer, Geert Uytterhoeven, Joel Stanley

Select CONFIG_REGMAP from CONFIG_WPCM450_SOC, because the driver relies
on regmap to work.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v4:
- Add Geert's R-b tag
- Fix commit reference
- Change Link tag to Closes

v3:
- Split the commit into two
- Reword the commit messages a bit

v2:
- https://lore.kernel.org/lkml/20230212215234.2608565-1-j.neuschaefer@gmx.net/
- Commit message improvements, as suggested by Geert Uytterhoeven.
- Add Link after Reviewed-by, as checkpatch.pl now suggests
---
 drivers/soc/nuvoton/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig
index 853392c8a9151..2167d3d739d84 100644
--- a/drivers/soc/nuvoton/Kconfig
+++ b/drivers/soc/nuvoton/Kconfig
@@ -6,6 +6,7 @@ config WPCM450_SOC
 	tristate "Nuvoton WPCM450 SoC driver"
 	default y if ARCH_WPCM450
 	select SOC_BUS
+	select REGMAP
 	help
 	  Say Y here to compile the SoC information driver for Nuvoton
 	  WPCM450 SoCs.
--
2.40.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
  2023-08-14 17:37 ` Jonathan Neuschäfer
@ 2023-09-19 11:37   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2023-09-19 11:37 UTC (permalink / raw)
  To: Jonathan Neuschäfer
  Cc: openbmc, linux-kernel, Joel Stanley, Paul Menzel, Arnd Bergmann,
	Geert Uytterhoeven

Hi Jonathan,

On Mon, Aug 14, 2023 at 7:38 PM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:
> Add a menu "Nuvoton SoC drivers" to make it easier to add other Nuvoton
> SoC drivers later on and to prevent asking about the Nuvoton WPCM450 SoC
> driver when configuring a kernel without support for Nuvoton SoCs.
>
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
> Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v4:
> - Add Geert's tag
> - Fix commit reference
> - Change Link tag to Closes

Any plans to move this patch and patch 2/2 forward?
Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
@ 2023-09-19 11:37   ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2023-09-19 11:37 UTC (permalink / raw)
  To: Jonathan Neuschäfer
  Cc: Paul Menzel, Arnd Bergmann, Geert Uytterhoeven, openbmc,
	linux-kernel, Joel Stanley

Hi Jonathan,

On Mon, Aug 14, 2023 at 7:38 PM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:
> Add a menu "Nuvoton SoC drivers" to make it easier to add other Nuvoton
> SoC drivers later on and to prevent asking about the Nuvoton WPCM450 SoC
> driver when configuring a kernel without support for Nuvoton SoCs.
>
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
> Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v4:
> - Add Geert's tag
> - Fix commit reference
> - Change Link tag to Closes

Any plans to move this patch and patch 2/2 forward?
Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
  2023-09-19 11:37   ` Geert Uytterhoeven
@ 2023-09-19 20:38     ` J. Neuschäfer
  -1 siblings, 0 replies; 8+ messages in thread
From: J. Neuschäfer @ 2023-09-19 20:38 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Jonathan Neuschäfer, openbmc, linux-kernel, Joel Stanley,
	Paul Menzel, Arnd Bergmann, Geert Uytterhoeven

[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]

On Tue, Sep 19, 2023 at 01:37:01PM +0200, Geert Uytterhoeven wrote:
> Hi Jonathan,
> 
> On Mon, Aug 14, 2023 at 7:38 PM Jonathan Neuschäfer
> <j.neuschaefer@gmx.net> wrote:
> > Add a menu "Nuvoton SoC drivers" to make it easier to add other Nuvoton
> > SoC drivers later on and to prevent asking about the Nuvoton WPCM450 SoC
> > driver when configuring a kernel without support for Nuvoton SoCs.
> >
> > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> > Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
> > Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
> > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > v4:
> > - Add Geert's tag
> > - Fix commit reference
> > - Change Link tag to Closes
> 
> Any plans to move this patch and patch 2/2 forward?
> Thanks!

I've been distracted by other projects, but I still want to move this
patchset forward. I will hopefully get around to it by the end of this week.


Thanks for the reminder,
Jonathan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
@ 2023-09-19 20:38     ` J. Neuschäfer
  0 siblings, 0 replies; 8+ messages in thread
From: J. Neuschäfer @ 2023-09-19 20:38 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Paul Menzel, Geert Uytterhoeven, Arnd Bergmann, openbmc,
	Jonathan Neuschäfer, linux-kernel, Joel Stanley

[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]

On Tue, Sep 19, 2023 at 01:37:01PM +0200, Geert Uytterhoeven wrote:
> Hi Jonathan,
> 
> On Mon, Aug 14, 2023 at 7:38 PM Jonathan Neuschäfer
> <j.neuschaefer@gmx.net> wrote:
> > Add a menu "Nuvoton SoC drivers" to make it easier to add other Nuvoton
> > SoC drivers later on and to prevent asking about the Nuvoton WPCM450 SoC
> > driver when configuring a kernel without support for Nuvoton SoCs.
> >
> > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> > Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
> > Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450")
> > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > v4:
> > - Add Geert's tag
> > - Fix commit reference
> > - Change Link tag to Closes
> 
> Any plans to move this patch and patch 2/2 forward?
> Thanks!

I've been distracted by other projects, but I still want to move this
patchset forward. I will hopefully get around to it by the end of this week.


Thanks for the reminder,
Jonathan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-19 20:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-14 17:37 [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers Jonathan Neuschäfer
2023-08-14 17:37 ` Jonathan Neuschäfer
2023-08-14 17:37 ` [PATCH v4 2/2] soc: nuvoton: Add "select REGMAP" to WPCM450 SoC driver Jonathan Neuschäfer
2023-08-14 17:37   ` Jonathan Neuschäfer
2023-09-19 11:37 ` [PATCH v4 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers Geert Uytterhoeven
2023-09-19 11:37   ` Geert Uytterhoeven
2023-09-19 20:38   ` J. Neuschäfer
2023-09-19 20:38     ` J. Neuschäfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.