[PATCH 1/2] pinctrl: mediatek: add missing options to PINCTRL_MT7981

Daniel Golle daniel at makrotopia.org
Sat Feb 18 09:31:17 PST 2023


On Sat, Feb 18, 2023 at 09:51:06AM +0300, arinc9.unal at gmail.com wrote:
> From: Arınç ÜNAL <arinc.unal at arinc9.com>
> 
> There are options missing from PINCTRL_MT7981 whilst being on every other
> pin controller. Add them.
> 

Acked-by: Daniel Golle <daniel at makrotopia.org>

> Signed-off-by: Arınç ÜNAL <arinc.unal at arinc9.com>
> ---
>  drivers/pinctrl/mediatek/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
> index f20c28334bcb..67818ba14d4e 100644
> --- a/drivers/pinctrl/mediatek/Kconfig
> +++ b/drivers/pinctrl/mediatek/Kconfig
> @@ -130,6 +130,8 @@ config PINCTRL_MT7622
>  config PINCTRL_MT7981
>  	bool "Mediatek MT7981 pin control"
>  	depends on OF
> +	depends on ARM64 || COMPILE_TEST
> +	default ARM64 && ARCH_MEDIATEK
>  	select PINCTRL_MTK_MOORE
>  
>  config PINCTRL_MT7986
> -- 
> 2.37.2
> 



More information about the Linux-mediatek mailing list