[PATCH v2 2/2] pinctrl: add mt7981 pinctrl driver

Arınç ÜNAL arinc.unal at arinc9.com
Thu Feb 16 05:50:57 PST 2023


Hi Daniel,

On 26.01.2023 03:34, Daniel Golle wrote:
> Add pinctrl driver for the MediaTek MT7981 SoC, based on the driver
> which can also be found the SDK.
> 
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>
> ---
>   drivers/pinctrl/mediatek/Kconfig          |    5 +
>   drivers/pinctrl/mediatek/Makefile         |    1 +
>   drivers/pinctrl/mediatek/pinctrl-mt7981.c | 1048 +++++++++++++++++++++
>   3 files changed, 1054 insertions(+)
>   create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7981.c
> 
> diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
> index fed02c6fea062..f20c28334bcbf 100644
> --- a/drivers/pinctrl/mediatek/Kconfig
> +++ b/drivers/pinctrl/mediatek/Kconfig
> @@ -127,6 +127,11 @@ config PINCTRL_MT7622
>   	default ARM64 && ARCH_MEDIATEK
>   	select PINCTRL_MTK_MOORE
>   
> +config PINCTRL_MT7981
> +	bool "Mediatek MT7981 pin control"
> +	depends on OF
> +	select PINCTRL_MTK_MOORE
> +

Is there a reason why you removed these lines from v1?

+	depends on ARM64 || COMPILE_TEST
+	default ARM64 && ARCH_MEDIATEK

Arınç



More information about the linux-arm-kernel mailing list