[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201015211334.55iyjbo2yh2tzmv4@earth.universe>
Date: Thu, 15 Oct 2020 23:13:34 +0200
From: Sebastian Reichel <sre@...nel.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Lars Povlsen <lars.povlsen@...rochip.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: reset: POWER_RESET_OCELOT_RESET should depend on
Ocelot or Sparx5
Hi,
On Wed, Oct 14, 2020 at 03:14:15PM +0200, Geert Uytterhoeven wrote:
> To add support for Sparx5, the dependency on MSCC_OCELOT was removed.
> However, this increases exposure of the driver question not only to
> Sparx5 platforms, but to everyone. Hence re-add the dependency on
> MSCC_OCELOT, and extend it with ARCH_SPARX5, to prevent asking the user
> about this driver when configuring a kernel without Ocelot and Sparx5
> support.
>
> Fixes: ec871696b7776767 ("power: reset: ocelot: Add support for Sparx5")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
Thanks, queued.
-- Sebastian
> drivers/power/reset/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
> index 6361569aacb7eedf..d55b3727e00eb768 100644
> --- a/drivers/power/reset/Kconfig
> +++ b/drivers/power/reset/Kconfig
> @@ -129,6 +129,7 @@ config POWER_RESET_QCOM_PON
>
> config POWER_RESET_OCELOT_RESET
> bool "Microsemi Ocelot reset driver"
> + depends on MSCC_OCELOT || ARCH_SPARX5 || COMPILE_TEST
> select MFD_SYSCON
> help
> This driver supports restart for Microsemi Ocelot SoC and similar.
> --
> 2.17.1
>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists