Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] riscv: defconfig: thead: enable PCA953X GPIO driver
       [not found] <CGME20260608074116eucas1p15c0f84c280d8645d778e42777bd238d1@eucas1p1.samsung.com>
@ 2026-06-08  7:41 ` Marek Szyprowski
  2026-06-08 18:11   ` Drew Fustini
  2026-06-11 16:16   ` Drew Fustini
  0 siblings, 2 replies; 4+ messages in thread
From: Marek Szyprowski @ 2026-06-08  7:41 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>
---
v2:
- copile GPIO_PCA953X as a module
v1:
https://lore.kernel.org/all/20260603082132.3200787-1-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=m
+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] 4+ messages in thread

* Re: [PATCH v2] riscv: defconfig: thead: enable PCA953X GPIO driver
  2026-06-08  7:41 ` [PATCH v2] riscv: defconfig: thead: enable PCA953X GPIO driver Marek Szyprowski
@ 2026-06-08 18:11   ` Drew Fustini
  2026-06-11 16:16   ` Drew Fustini
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Fustini @ 2026-06-08 18:11 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: linux-riscv, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti, Guo Ren, Fu Wei

On Mon, Jun 08, 2026 at 09:41:04AM +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>
> ---
> v2:
> - copile GPIO_PCA953X as a module
> v1:
> https://lore.kernel.org/all/20260603082132.3200787-1-m.szyprowski@samsung.com/
> ---
>  arch/riscv/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)

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

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

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

* Re: [PATCH v2] riscv: defconfig: thead: enable PCA953X GPIO driver
  2026-06-08  7:41 ` [PATCH v2] riscv: defconfig: thead: enable PCA953X GPIO driver Marek Szyprowski
  2026-06-08 18:11   ` Drew Fustini
@ 2026-06-11 16:16   ` Drew Fustini
  2026-07-09  5:37     ` Drew Fustini
  1 sibling, 1 reply; 4+ messages in thread
From: Drew Fustini @ 2026-06-11 16:16 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: linux-riscv, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti, Guo Ren, Fu Wei

On Mon, Jun 08, 2026 at 09:41:04AM +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>
> ---
> v2:
> - copile GPIO_PCA953X as a module
> v1:
> https://lore.kernel.org/all/20260603082132.3200787-1-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=m
> +CONFIG_GPIO_PCA953X_IRQ=y
>  CONFIG_POWER_RESET_GPIO_RESTART=y
>  CONFIG_SENSORS_SFCTEMP=m
>  CONFIG_CPU_THERMAL=y
> -- 
> 2.34.1
> 

I have applied this to my riscv-config-for-next branch:

https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git/commit/?h=riscv-config-for-next&id=fb266bbe9aef17d547db468a1a7187b59ed33e9a

Thanks,
Drew

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

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

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

On Thu, Jun 11, 2026 at 09:16:08AM -0700, Drew Fustini wrote:
> On Mon, Jun 08, 2026 at 09:41:04AM +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>
> > ---
> > v2:
> > - copile GPIO_PCA953X as a module
> > v1:
> > https://lore.kernel.org/all/20260603082132.3200787-1-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=m
> > +CONFIG_GPIO_PCA953X_IRQ=y
> >  CONFIG_POWER_RESET_GPIO_RESTART=y
> >  CONFIG_SENSORS_SFCTEMP=m
> >  CONFIG_CPU_THERMAL=y
> > -- 
> > 2.34.1
> > 
> 
> I have applied this to my riscv-config-for-next branch:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git/commit/?h=riscv-config-for-next&id=fb266bbe9aef17d547db468a1a7187b59ed33e9a

My pull request was too late for 7.1 so I have rebased now on 7.2-rc1:

https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git/commit/?h=riscv-config-for-next&id=fd52109054693750f38d6fae134cffd1ac8c9c74

Thanks,
Drew

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

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

end of thread, other threads:[~2026-07-09  5:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20260608074116eucas1p15c0f84c280d8645d778e42777bd238d1@eucas1p1.samsung.com>
2026-06-08  7:41 ` [PATCH v2] riscv: defconfig: thead: enable PCA953X GPIO driver Marek Szyprowski
2026-06-08 18:11   ` Drew Fustini
2026-06-11 16:16   ` Drew Fustini
2026-07-09  5:37     ` Drew Fustini

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