From: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
To: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org,
Philipp Zabel <p.zabel@pengutronix.de>,
Tomer Maimon <tmaimon77@gmail.com>
Subject: Re: [PATCH] reset: Enable RESET_SIMPLE based on ARCH_WPCM450, not ARCH_NPCM
Date: Sat, 15 Apr 2023 12:59:45 +0200 [thread overview]
Message-ID: <ZDqDoW20eKlJugCU@probook> (raw)
In-Reply-To: <20230412191913.3821805-1-j.neuschaefer@gmx.net>
[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]
On Wed, Apr 12, 2023 at 09:19:13PM +0200, Jonathan Neuschäfer wrote:
> The reset-simple driver is used on Nuvoton WPCM450, but not on other
> chips of the WPCM/NPCM family.
>
> Narrow down the "default ARCH_..." line from ARCH_NPCM to ARCH_WPCM450,
> to avoid unnecessarily compiling reset-simple on these other chips.
>
> Reported-by: Tomer Maimon <tmaimon77@gmail.com>
> Link: https://lore.kernel.org/lkml/CAP6Zq1hjbPpLMWST4cYyMQw_-jewFoSrudOC+FPP5qOxJz4=xw@mail.gmail.com/
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> ---
Ah, sorry, please disregard.
This patch won't work as-is, because it depends on the WPCM450 clk
driver patch, that isn't applied yet. I'll fold it into that patch.
Jonathan
> drivers/reset/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
> index 4b36cdc73576c..16e111d213560 100644
> --- a/drivers/reset/Kconfig
> +++ b/drivers/reset/Kconfig
> @@ -208,7 +208,7 @@ config RESET_SCMI
>
> config RESET_SIMPLE
> bool "Simple Reset Controller Driver" if COMPILE_TEST || EXPERT
> - default ARCH_ASPEED || ARCH_BCMBCA || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC || ARCH_NPCM
> + default ARCH_ASPEED || ARCH_BCMBCA || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC || ARCH_WPCM450
> depends on HAS_IOMEM
> help
> This enables a simple reset controller driver for reset lines that
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
To: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
Cc: linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org,
Tomer Maimon <tmaimon77@gmail.com>,
Philipp Zabel <p.zabel@pengutronix.de>
Subject: Re: [PATCH] reset: Enable RESET_SIMPLE based on ARCH_WPCM450, not ARCH_NPCM
Date: Sat, 15 Apr 2023 12:59:45 +0200 [thread overview]
Message-ID: <ZDqDoW20eKlJugCU@probook> (raw)
In-Reply-To: <20230412191913.3821805-1-j.neuschaefer@gmx.net>
[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]
On Wed, Apr 12, 2023 at 09:19:13PM +0200, Jonathan Neuschäfer wrote:
> The reset-simple driver is used on Nuvoton WPCM450, but not on other
> chips of the WPCM/NPCM family.
>
> Narrow down the "default ARCH_..." line from ARCH_NPCM to ARCH_WPCM450,
> to avoid unnecessarily compiling reset-simple on these other chips.
>
> Reported-by: Tomer Maimon <tmaimon77@gmail.com>
> Link: https://lore.kernel.org/lkml/CAP6Zq1hjbPpLMWST4cYyMQw_-jewFoSrudOC+FPP5qOxJz4=xw@mail.gmail.com/
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> ---
Ah, sorry, please disregard.
This patch won't work as-is, because it depends on the WPCM450 clk
driver patch, that isn't applied yet. I'll fold it into that patch.
Jonathan
> drivers/reset/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
> index 4b36cdc73576c..16e111d213560 100644
> --- a/drivers/reset/Kconfig
> +++ b/drivers/reset/Kconfig
> @@ -208,7 +208,7 @@ config RESET_SCMI
>
> config RESET_SIMPLE
> bool "Simple Reset Controller Driver" if COMPILE_TEST || EXPERT
> - default ARCH_ASPEED || ARCH_BCMBCA || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC || ARCH_NPCM
> + default ARCH_ASPEED || ARCH_BCMBCA || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC || ARCH_WPCM450
> depends on HAS_IOMEM
> help
> This enables a simple reset controller driver for reset lines that
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-04-15 11:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 19:19 [PATCH] reset: Enable RESET_SIMPLE based on ARCH_WPCM450, not ARCH_NPCM Jonathan Neuschäfer
2023-04-12 19:19 ` Jonathan Neuschäfer
2023-04-15 10:59 ` Jonathan Neuschäfer [this message]
2023-04-15 10:59 ` 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=ZDqDoW20eKlJugCU@probook \
--to=j.neuschaefer@gmx.net \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=p.zabel@pengutronix.de \
--cc=tmaimon77@gmail.com \
/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.