From: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
To: openbmc@lists.ozlabs.org
Cc: "Paul Menzel" <pmenzel@molgen.mpg.de>,
"Arnd Bergmann" <arnd@arndb.de>,
linux-kernel@vger.kernel.org,
"Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Joel Stanley" <joel@jms.id.au>
Subject: [PATCH v3 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
Date: Wed, 12 Apr 2023 20:38:32 +0200 [thread overview]
Message-ID: <20230412183834.3769519-1-j.neuschaefer@gmx.net> (raw)
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>
Link: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
Fixes: 77b8c67b5637 ("soc: nuvoton: Add SoC info driver for WPCM450")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
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.39.2
WARNING: multiple messages have this Message-ID (diff)
From: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
To: openbmc@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
"Joel Stanley" <joel@jms.id.au>,
"Paul Menzel" <pmenzel@molgen.mpg.de>,
"Arnd Bergmann" <arnd@arndb.de>
Subject: [PATCH v3 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers
Date: Wed, 12 Apr 2023 20:38:32 +0200 [thread overview]
Message-ID: <20230412183834.3769519-1-j.neuschaefer@gmx.net> (raw)
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>
Link: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/
Fixes: 77b8c67b5637 ("soc: nuvoton: Add SoC info driver for WPCM450")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
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.39.2
next reply other threads:[~2023-04-12 18:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 18:38 Jonathan Neuschäfer [this message]
2023-04-12 18:38 ` [PATCH v3 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers Jonathan Neuschäfer
2023-04-12 18:38 ` [PATCH v3 2/2] soc: nuvoton: Add "select REGMAP" to WPCM450 SoC driver Jonathan Neuschäfer
2023-04-12 18:38 ` Jonathan Neuschäfer
2023-04-17 7:26 ` Geert Uytterhoeven
2023-04-17 7:26 ` Geert Uytterhoeven
2023-04-17 7:29 ` Geert Uytterhoeven
2023-04-17 7:29 ` Geert Uytterhoeven
2023-04-17 7:25 ` [PATCH v3 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers Geert Uytterhoeven
2023-04-17 7:25 ` Geert Uytterhoeven
2023-04-17 7:28 ` Geert Uytterhoeven
2023-04-17 7:28 ` Geert Uytterhoeven
2023-04-19 20:55 ` Jonathan Neuschäfer
2023-04-19 20:55 ` Jonathan Neuschäfer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230412183834.3769519-1-j.neuschaefer@gmx.net \
--to=j.neuschaefer@gmx.net \
--cc=arnd@arndb.de \
--cc=geert@linux-m68k.org \
--cc=joel@jms.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=pmenzel@molgen.mpg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.