* [PATCH] mfd: rk808: turn MFD_RK8XX into a tristate
@ 2023-07-09 23:25 Ivan Babrou
2023-07-10 0:15 ` Sebastian Reichel
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Babrou @ 2023-07-09 23:25 UTC (permalink / raw)
To: devicetree
Cc: kernel-team, Ivan Babrou, Lee Jones, Sebastian Reichel,
Alexandre Belloni
Prior to commit c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
it was possible to build rk808 as a module and have CONFIG_MFD_CORE=m too.
After that the intermediary CONFIG_MFD_RK8XX was added as a boolean,
forcing mfd_core to be compiled in whenever rk808 was enabled,
even if it was still built as a module.
Signed-off-by: Ivan Babrou <ivan@cloudflare.com>
Fixes: c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
---
drivers/mfd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 6f5b259a6d6a..f6b519eaaa71 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1197,7 +1197,7 @@ config MFD_RC5T583
different functionality of the device.
config MFD_RK8XX
- bool
+ tristate
select MFD_CORE
config MFD_RK8XX_I2C
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd: rk808: turn MFD_RK8XX into a tristate
2023-07-09 23:25 [PATCH] mfd: rk808: turn MFD_RK8XX into a tristate Ivan Babrou
@ 2023-07-10 0:15 ` Sebastian Reichel
2023-07-10 16:26 ` Ivan Babrou
0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Reichel @ 2023-07-10 0:15 UTC (permalink / raw)
To: Ivan Babrou
Cc: devicetree, kernel-team, Lee Jones, Alexandre Belloni,
Geert Uytterhoeven
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]
Hi,
On Sun, Jul 09, 2023 at 04:25:07PM -0700, Ivan Babrou wrote:
> Prior to commit c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
> it was possible to build rk808 as a module and have CONFIG_MFD_CORE=m too.
> After that the intermediary CONFIG_MFD_RK8XX was added as a boolean,
> forcing mfd_core to be compiled in whenever rk808 was enabled,
> even if it was still built as a module.
>
> Signed-off-by: Ivan Babrou <ivan@cloudflare.com>
> Fixes: c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
> ---
The same fix has already been send by Geert some days ago:
https://lore.kernel.org/all/d132363fc9228473e9e652b70a3761b94de32d70.1688475844.git.geert+renesas@glider.be/
-- Sebastian
> drivers/mfd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 6f5b259a6d6a..f6b519eaaa71 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -1197,7 +1197,7 @@ config MFD_RC5T583
> different functionality of the device.
>
> config MFD_RK8XX
> - bool
> + tristate
> select MFD_CORE
>
> config MFD_RK8XX_I2C
> --
> 2.41.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd: rk808: turn MFD_RK8XX into a tristate
2023-07-10 0:15 ` Sebastian Reichel
@ 2023-07-10 16:26 ` Ivan Babrou
0 siblings, 0 replies; 3+ messages in thread
From: Ivan Babrou @ 2023-07-10 16:26 UTC (permalink / raw)
To: Sebastian Reichel
Cc: devicetree, kernel-team, Lee Jones, Alexandre Belloni,
Geert Uytterhoeven
On Sun, Jul 9, 2023 at 5:16 PM Sebastian Reichel
<sebastian.reichel@collabora.com> wrote:
>
> Hi,
>
> On Sun, Jul 09, 2023 at 04:25:07PM -0700, Ivan Babrou wrote:
> > Prior to commit c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
> > it was possible to build rk808 as a module and have CONFIG_MFD_CORE=m too.
> > After that the intermediary CONFIG_MFD_RK8XX was added as a boolean,
> > forcing mfd_core to be compiled in whenever rk808 was enabled,
> > even if it was still built as a module.
> >
> > Signed-off-by: Ivan Babrou <ivan@cloudflare.com>
> > Fixes: c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
> > ---
>
> The same fix has already been send by Geert some days ago:
>
> https://lore.kernel.org/all/d132363fc9228473e9e652b70a3761b94de32d70.1688475844.git.geert+renesas@glider.be/
Ah, I looked through the devicetree mailing list archive (where the
original patch was sent) and haven't found anything there.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-10 16:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-09 23:25 [PATCH] mfd: rk808: turn MFD_RK8XX into a tristate Ivan Babrou
2023-07-10 0:15 ` Sebastian Reichel
2023-07-10 16:26 ` Ivan Babrou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox