[PATCH] riscv: dts: starfive: jh7110-common: Use named definition for mmc1 card detect

Hal Feng hal.feng at starfivetech.com
Mon Dec 16 18:02:04 PST 2024


> On 17.12.24 04:13, Conor Dooley wrote: 
> On Mon, 09 Dec 2024 20:06:46 -0800, E Shattow wrote:
> > Use named definition for mmc1 card detect GPIO instead of numeric literal.
> >
> >
> 
> Applied to riscv-dt-for-next, thanks!
> 
> [1/1] riscv: dts: starfive: jh7110-common: Use named definition for mmc1
> card detect
>       https://git.kernel.org/conor/c/c96f15d79172

No, here "41" means the GPIO number, but GPI_SYS_SDIO1_CD means the
multiplexed function and should be used by pinctrl pinmux not gpio subsystem.
Although GPI-SYS_SDIO1_CD is numerically the same as 41.

Best regards,
Hal


More information about the linux-riscv mailing list