[PATCH v2] riscv: defconfig: thead: enable PCA953X GPIO driver
Drew Fustini
fustini at kernel.org
Wed Jul 8 22:37:50 PDT 2026
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 at 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
More information about the linux-riscv
mailing list