[PATCH] mips: ralink: make SOC_MT7621 select PINCTRL_MT7621 and fix help section

arinc9.unal@gmail.com posted 1 patch 2 years, 7 months ago
arch/mips/ralink/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[PATCH] mips: ralink: make SOC_MT7621 select PINCTRL_MT7621 and fix help section
Posted by arinc9.unal@gmail.com 2 years, 7 months ago
From: Arınç ÜNAL <arinc.unal@arinc9.com>

The dt-binding of the MT7621 SoC uses the pinctrl driver. Therefore, have
this driver selected by default.

The help section for SOC_MT7621 exceeds 80 columns which is the preferred
limit of a single line. A tab character is 8 columns. Rearrange the text
accordingly.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 arch/mips/ralink/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
index f9fe15630abb..06031796c87b 100644
--- a/arch/mips/ralink/Kconfig
+++ b/arch/mips/ralink/Kconfig
@@ -54,10 +54,11 @@ choice
 		select HAVE_PCI
 		select PCI_DRIVERS_GENERIC
 		select SOC_BUS
+		select PINCTRL_MT7621
 
 		help
-		  The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc dual-core CPU,
-		  a 5-port 10/100/1000 switch/PHY and one RGMII.
+		  The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc
+		  dual-core CPU, a 5-port 10/100/1000 switch/PHY and one RGMII.
 endchoice
 
 choice
-- 
2.37.2

Re: [PATCH] mips: ralink: make SOC_MT7621 select PINCTRL_MT7621 and fix help section
Posted by Thomas Bogendoerfer 2 years, 7 months ago
On Sun, Feb 05, 2023 at 12:42:49AM +0300, arinc9.unal@gmail.com wrote:
> From: Arınç ÜNAL <arinc.unal@arinc9.com>
> 
> The dt-binding of the MT7621 SoC uses the pinctrl driver. Therefore, have
> this driver selected by default.
> 
> The help section for SOC_MT7621 exceeds 80 columns which is the preferred
> limit of a single line. A tab character is 8 columns. Rearrange the text
> accordingly.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  arch/mips/ralink/Kconfig | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
> index f9fe15630abb..06031796c87b 100644
> --- a/arch/mips/ralink/Kconfig
> +++ b/arch/mips/ralink/Kconfig
> @@ -54,10 +54,11 @@ choice
>  		select HAVE_PCI
>  		select PCI_DRIVERS_GENERIC
>  		select SOC_BUS
> +		select PINCTRL_MT7621
>  
>  		help
> -		  The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc dual-core CPU,
> -		  a 5-port 10/100/1000 switch/PHY and one RGMII.
> +		  The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc
> +		  dual-core CPU, a 5-port 10/100/1000 switch/PHY and one RGMII.
>  endchoice
>  
>  choice
> -- 
> 2.37.2

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]