linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: imx6q-sabrelite: Rename 'pinctrl_gpio_hog'
@ 2012-08-24 15:24 Fabio Estevam
  2012-08-25  5:01 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-08-24 15:24 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

'pinctrl_gpio_hog' is used to setup the pin functions, and it is not neccesarily used only
for GPIO pins, so remove 'gpio' from its name to describe a more generic term.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6q-sabrelite.dts |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
index 72f30f3..2e01478 100644
--- a/arch/arm/boot/dts/imx6q-sabrelite.dts
+++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
@@ -46,10 +46,10 @@
 
 			iomuxc at 020e0000 {
 				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_gpio_hog>;
+				pinctrl-0 = <&pinctrl_hog>;
 
 				gpios {
-					pinctrl_gpio_hog: gpiohog {
+					pinctrl_hog: hog {
 						fsl,pins = <
 							   144  0x80000000	/* MX6Q_PAD_EIM_D22__GPIO_3_22 */
 							   121  0x80000000	/* MX6Q_PAD_EIM_D19__GPIO_3_19 */
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: imx6q-sabrelite: Rename 'pinctrl_gpio_hog'
  2012-08-24 15:24 [PATCH] ARM: imx6q-sabrelite: Rename 'pinctrl_gpio_hog' Fabio Estevam
@ 2012-08-25  5:01 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2012-08-25  5:01 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 24, 2012 at 12:24:50PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 'pinctrl_gpio_hog' is used to setup the pin functions, and it is not neccesarily used only
> for GPIO pins, so remove 'gpio' from its name to describe a more generic term.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied with the following changes amended.

diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
index 38755b1..1c57e19 100644
--- a/arch/arm/boot/dts/imx6q-sabrelite.dts
+++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
@@ -48,8 +48,8 @@
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_hog>;

-                               gpios {
-                                       pinctrl_hog: hog {
+                               hog {
+                                       pinctrl_hog: hoggrp {
                                                fsl,pins = <
                                                        1450 0x80000000 /* MX6Q_PAD_NANDF_D6__GPIO_2_6 */
                                                        1458 0x80000000 /* MX6Q_PAD_NANDF_D7__GPIO_2_7 */


> ---
>  arch/arm/boot/dts/imx6q-sabrelite.dts |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
> index 72f30f3..2e01478 100644
> --- a/arch/arm/boot/dts/imx6q-sabrelite.dts
> +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
> @@ -46,10 +46,10 @@
>  
>  			iomuxc at 020e0000 {
>  				pinctrl-names = "default";
> -				pinctrl-0 = <&pinctrl_gpio_hog>;
> +				pinctrl-0 = <&pinctrl_hog>;
>  
>  				gpios {
> -					pinctrl_gpio_hog: gpiohog {
> +					pinctrl_hog: hog {
>  						fsl,pins = <
>  							   144  0x80000000	/* MX6Q_PAD_EIM_D22__GPIO_3_22 */
>  							   121  0x80000000	/* MX6Q_PAD_EIM_D19__GPIO_3_19 */
> -- 
> 1.7.9.5
> 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-25  5:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-24 15:24 [PATCH] ARM: imx6q-sabrelite: Rename 'pinctrl_gpio_hog' Fabio Estevam
2012-08-25  5:01 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).