diff mbox series

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

Message ID 20230218065108.8958-1-arinc.unal@arinc9.com (mailing list archive)
State New, archived
Headers show
Series [1/2] pinctrl: mediatek: add missing options to PINCTRL_MT7981 | expand

Commit Message

Arınç ÜNAL Feb. 18, 2023, 6:51 a.m. UTC
From: Arınç ÜNAL <arinc.unal@arinc9.com>

There are options missing from PINCTRL_MT7981 whilst being on every other
pin controller. Add them.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 drivers/pinctrl/mediatek/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

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

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

> Signed-off-by: Arınç ÜNAL <arinc.unal@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
>
Linus Walleij March 6, 2023, 1:23 p.m. UTC | #2
On Sat, Feb 18, 2023 at 7:51 AM <arinc9.unal@gmail.com> wrote:

> From: Arınç ÜNAL <arinc.unal@arinc9.com>
>
> There are options missing from PINCTRL_MT7981 whilst being on every other
> pin controller. Add them.
>
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>

Patch applied for fixes.

Yours,
Linus Walleij
diff mbox series

Patch

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