Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver
       [not found] <CGME20260603082156eucas1p1f44a198f7957d9d82ec0b8bc296fb03c@eucas1p1.samsung.com>
@ 2026-06-03  8:21 ` Marek Szyprowski
  2026-06-03 19:39   ` Drew Fustini
  2026-06-05  4:50   ` Michael Ellerman
  0 siblings, 2 replies; 5+ messages in thread
From: Marek Szyprowski @ 2026-06-03  8:21 UTC (permalink / raw)
  To: linux-riscv
  Cc: Marek Szyprowski, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti, Drew Fustini, Guo Ren, Fu Wei

Enable PCA953X GPIO driver to properly probe Wifi pwrseq driver on
LicheePi4a board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 arch/riscv/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 08445df56006..a51a423d53f4 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -174,6 +174,8 @@ CONFIG_PINCTRL_SOPHGO_SG2002=y
 CONFIG_GPIO_DWAPB=y
 CONFIG_GPIO_SIFIVE=y
 CONFIG_GPIO_SPACEMIT_K1=y
+CONFIG_GPIO_PCA953X=y
+CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_POWER_RESET_GPIO_RESTART=y
 CONFIG_SENSORS_SFCTEMP=m
 CONFIG_CPU_THERMAL=y
-- 
2.34.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver
  2026-06-03  8:21 ` [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver Marek Szyprowski
@ 2026-06-03 19:39   ` Drew Fustini
  2026-06-04  9:41     ` Conor Dooley
  2026-06-05  4:50   ` Michael Ellerman
  1 sibling, 1 reply; 5+ messages in thread
From: Drew Fustini @ 2026-06-03 19:39 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: linux-riscv, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti, Guo Ren, Fu Wei

On Wed, Jun 03, 2026 at 10:21:32AM +0200, Marek Szyprowski wrote:
> Enable PCA953X GPIO driver to properly probe Wifi pwrseq driver on
> LicheePi4a board.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  arch/riscv/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 08445df56006..a51a423d53f4 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -174,6 +174,8 @@ CONFIG_PINCTRL_SOPHGO_SG2002=y
>  CONFIG_GPIO_DWAPB=y
>  CONFIG_GPIO_SIFIVE=y
>  CONFIG_GPIO_SPACEMIT_K1=y
> +CONFIG_GPIO_PCA953X=y
> +CONFIG_GPIO_PCA953X_IRQ=y
>  CONFIG_POWER_RESET_GPIO_RESTART=y
>  CONFIG_SENSORS_SFCTEMP=m
>  CONFIG_CPU_THERMAL=y
> -- 
> 2.34.1
> 

Reviewed-by: Drew Fustini <fustini@kernel.org>

Paul/Conor: what is the right tree for a arch/riscv/configs/defconfig
patch like this?

Thanks,
Drew

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver
  2026-06-03 19:39   ` Drew Fustini
@ 2026-06-04  9:41     ` Conor Dooley
  0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2026-06-04  9:41 UTC (permalink / raw)
  To: Drew Fustini
  Cc: Marek Szyprowski, linux-riscv, Paul Walmsley, Palmer Dabbelt,
	Albert Ou, Alexandre Ghiti, Guo Ren, Fu Wei


[-- Attachment #1.1: Type: text/plain, Size: 1291 bytes --]

On Wed, Jun 03, 2026 at 12:39:07PM -0700, Drew Fustini wrote:
> On Wed, Jun 03, 2026 at 10:21:32AM +0200, Marek Szyprowski wrote:
> > Enable PCA953X GPIO driver to properly probe Wifi pwrseq driver on
> > LicheePi4a board.
> > 
> > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> > ---
> >  arch/riscv/configs/defconfig | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> > index 08445df56006..a51a423d53f4 100644
> > --- a/arch/riscv/configs/defconfig
> > +++ b/arch/riscv/configs/defconfig
> > @@ -174,6 +174,8 @@ CONFIG_PINCTRL_SOPHGO_SG2002=y
> >  CONFIG_GPIO_DWAPB=y
> >  CONFIG_GPIO_SIFIVE=y
> >  CONFIG_GPIO_SPACEMIT_K1=y
> > +CONFIG_GPIO_PCA953X=y
> > +CONFIG_GPIO_PCA953X_IRQ=y
> >  CONFIG_POWER_RESET_GPIO_RESTART=y
> >  CONFIG_SENSORS_SFCTEMP=m
> >  CONFIG_CPU_THERMAL=y
> > -- 
> > 2.34.1
> > 
> 
> Reviewed-by: Drew Fustini <fustini@kernel.org>
> 
> Paul/Conor: what is the right tree for a arch/riscv/configs/defconfig
> patch like this?

I dunno, in arm land the various platform maintainers take care of this
kind of thing for their own platforms. That hasn't happened (yet?) for
riscv. I've probably taken most SoC support things like this recently.

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

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver
  2026-06-03  8:21 ` [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver Marek Szyprowski
  2026-06-03 19:39   ` Drew Fustini
@ 2026-06-05  4:50   ` Michael Ellerman
  2026-06-05 16:57     ` Drew Fustini
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Ellerman @ 2026-06-05  4:50 UTC (permalink / raw)
  To: Marek Szyprowski, linux-riscv
  Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Drew Fustini, Guo Ren, Fu Wei

On 3/6/26 6:21 pm, Marek Szyprowski wrote:
> Enable PCA953X GPIO driver to properly probe Wifi pwrseq driver on
> LicheePi4a board.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>   arch/riscv/configs/defconfig | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 08445df56006..a51a423d53f4 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -174,6 +174,8 @@ CONFIG_PINCTRL_SOPHGO_SG2002=y
>   CONFIG_GPIO_DWAPB=y
>   CONFIG_GPIO_SIFIVE=y
>   CONFIG_GPIO_SPACEMIT_K1=y
> +CONFIG_GPIO_PCA953X=y
> +CONFIG_GPIO_PCA953X_IRQ=y
Does it need to be built-in, or would a module work?

It's not a huge driver (~20KB), but it all adds up.

cheers

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver
  2026-06-05  4:50   ` Michael Ellerman
@ 2026-06-05 16:57     ` Drew Fustini
  0 siblings, 0 replies; 5+ messages in thread
From: Drew Fustini @ 2026-06-05 16:57 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: Michael Ellerman, linux-riscv, Paul Walmsley, Palmer Dabbelt,
	Albert Ou, Alexandre Ghiti, Guo Ren, Fu Wei

On Fri, Jun 05, 2026 at 02:50:54PM +1000, Michael Ellerman wrote:
> On 3/6/26 6:21 pm, Marek Szyprowski wrote:
> > Enable PCA953X GPIO driver to properly probe Wifi pwrseq driver on
> > LicheePi4a board.
> > 
> > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> > ---
> >   arch/riscv/configs/defconfig | 2 ++
> >   1 file changed, 2 insertions(+)
> > 
> > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> > index 08445df56006..a51a423d53f4 100644
> > --- a/arch/riscv/configs/defconfig
> > +++ b/arch/riscv/configs/defconfig
> > @@ -174,6 +174,8 @@ CONFIG_PINCTRL_SOPHGO_SG2002=y
> >   CONFIG_GPIO_DWAPB=y
> >   CONFIG_GPIO_SIFIVE=y
> >   CONFIG_GPIO_SPACEMIT_K1=y
> > +CONFIG_GPIO_PCA953X=y
> > +CONFIG_GPIO_PCA953X_IRQ=y
> Does it need to be built-in, or would a module work?
> 
> It's not a huge driver (~20KB), but it all adds up.

Good point.

Marek - could you respin as module?

thanks,
drew

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2026-06-05 16:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20260603082156eucas1p1f44a198f7957d9d82ec0b8bc296fb03c@eucas1p1.samsung.com>
2026-06-03  8:21 ` [PATCH] riscv: defconfig: thead: enable PCA953X GPIO driver Marek Szyprowski
2026-06-03 19:39   ` Drew Fustini
2026-06-04  9:41     ` Conor Dooley
2026-06-05  4:50   ` Michael Ellerman
2026-06-05 16:57     ` Drew Fustini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox