[PATCH v9 1/3] riscv: defconfig: spacemit: enable gpio support for K1 SoC

Yixun Lan posted 3 patches 7 months, 3 weeks ago
[PATCH v9 1/3] riscv: defconfig: spacemit: enable gpio support for K1 SoC
Posted by Yixun Lan 7 months, 3 weeks ago
Enable GPIO support, in order to activate follow-up GPIO LED,
and ethernet reset pin.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 3c8e16d71e175e0e4c27136c31761127ce6e1602..b8899d59dd345c50d877829c05d0330f2986895c 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -169,6 +169,7 @@ CONFIG_PINCTRL_SOPHGO_SG2002=y
 CONFIG_PINCTRL_TH1520=y
 CONFIG_GPIO_DWAPB=y
 CONFIG_GPIO_SIFIVE=y
+CONFIG_GPIO_SPACEMIT_K1=y
 CONFIG_POWER_RESET_GPIO_RESTART=y
 CONFIG_SENSORS_SFCTEMP=m
 CONFIG_CPU_THERMAL=y

-- 
2.49.0
Re: [PATCH v9 1/3] riscv: defconfig: spacemit: enable gpio support for K1 SoC
Posted by Conor Dooley 7 months, 3 weeks ago
On Thu, Apr 24, 2025 at 05:40:49PM +0800, Yixun Lan wrote:
> Enable GPIO support, in order to activate follow-up GPIO LED,
> and ethernet reset pin.
> 
> Signed-off-by: Yixun Lan <dlan@gentoo.org>

Do you want me to grab this patch, or do you have a defconfig branch to
put it on?

> ---
>  arch/riscv/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 3c8e16d71e175e0e4c27136c31761127ce6e1602..b8899d59dd345c50d877829c05d0330f2986895c 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -169,6 +169,7 @@ CONFIG_PINCTRL_SOPHGO_SG2002=y
>  CONFIG_PINCTRL_TH1520=y
>  CONFIG_GPIO_DWAPB=y
>  CONFIG_GPIO_SIFIVE=y
> +CONFIG_GPIO_SPACEMIT_K1=y
>  CONFIG_POWER_RESET_GPIO_RESTART=y
>  CONFIG_SENSORS_SFCTEMP=m
>  CONFIG_CPU_THERMAL=y
> 
> -- 
> 2.49.0
> 
Re: [PATCH v9 1/3] riscv: defconfig: spacemit: enable gpio support for K1 SoC
Posted by Yixun Lan 7 months, 3 weeks ago
Hi Conor,

On 16:22 Thu 24 Apr     , Conor Dooley wrote:
> On Thu, Apr 24, 2025 at 05:40:49PM +0800, Yixun Lan wrote:
> > Enable GPIO support, in order to activate follow-up GPIO LED,
> > and ethernet reset pin.
> > 
> > Signed-off-by: Yixun Lan <dlan@gentoo.org>
> 
> Do you want me to grab this patch, or do you have a defconfig branch to
> put it on?
> 
Yes, I'd appreciate if you willing to pick it, to avoid potential conflicts?
(I currently do not maintain defconfig branch)

BTW, we might have few more in this cycle, e.g. - clock, reset

Thanks

-- 
Yixun Lan (dlan)
Re: [PATCH v9 1/3] riscv: defconfig: spacemit: enable gpio support for K1 SoC
Posted by Conor Dooley 7 months, 3 weeks ago
On Fri, Apr 25, 2025 at 12:04:06AM +0000, Yixun Lan wrote:
> Hi Conor,
> 
> On 16:22 Thu 24 Apr     , Conor Dooley wrote:
> > On Thu, Apr 24, 2025 at 05:40:49PM +0800, Yixun Lan wrote:
> > > Enable GPIO support, in order to activate follow-up GPIO LED,
> > > and ethernet reset pin.
> > > 
> > > Signed-off-by: Yixun Lan <dlan@gentoo.org>
> > 
> > Do you want me to grab this patch, or do you have a defconfig branch to
> > put it on?
> > 
> Yes, I'd appreciate if you willing to pick it, to avoid potential conflicts?

Sure, done.

> (I currently do not maintain defconfig branch)
> 
> BTW, we might have few more in this cycle, e.g. - clock, reset

Cool, just poke me if you need them picked up. I should see an email,
but failing that, @ me on your IRC channel.

Cheers,
Conor.