diff mbox series

arm: dts: imx7ulp-evk: remove mux value from pad configuration

Message ID 20200115175004.11152-1-jorge@foundries.io
State Accepted
Commit 4cd1f979b2b4dfd799131ba21366b905a8600914
Headers show
Series arm: dts: imx7ulp-evk: remove mux value from pad configuration | expand

Commit Message

Jorge Ramirez-Ortiz, Foundries Jan. 15, 2020, 5:50 p.m. UTC
The mux mode is embedded in the PAD definition and therefore there is
no need to repeat it in the PAD configuration value (more over since
this information will be masked out when the configuration value is
applied).

Signed-off-by: Jorge Ramirez-Ortiz <jorge at foundries.io>
---
 arch/arm/dts/imx7ulp-evk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peng Fan Jan. 16, 2020, 2:22 a.m. UTC | #1
> Subject: [PATCH] arm: dts: imx7ulp-evk: remove mux value from pad
> configuration
> 
> The mux mode is embedded in the PAD definition and therefore there is no
> need to repeat it in the PAD configuration value (more over since this
> information will be masked out when the configuration value is applied).

Has this been accepted by Shawn?

Thanks,
Peng.

> 
> Signed-off-by: Jorge Ramirez-Ortiz <jorge at foundries.io>
> ---
>  arch/arm/dts/imx7ulp-evk.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/imx7ulp-evk.dts b/arch/arm/dts/imx7ulp-evk.dts
> index 08a682f314..8f6a935e24 100644
> --- a/arch/arm/dts/imx7ulp-evk.dts
> +++ b/arch/arm/dts/imx7ulp-evk.dts
> @@ -156,7 +156,7 @@
> 
>  		pinctrl_backlight: backlight_grp {
>  			fsl,pins = <
> -				IMX7ULP_PAD_PTF2__PTF2		0x20100
> +				IMX7ULP_PAD_PTF2__PTF2		0x20000
>  			>;
>  		};
> 
> --
> 2.17.1
Jorge Ramirez-Ortiz, Foundries Jan. 16, 2020, 7:40 a.m. UTC | #2
On 16/01/20 02:22:35, Peng Fan wrote:
> > Subject: [PATCH] arm: dts: imx7ulp-evk: remove mux value from pad
> > configuration
> > 
> > The mux mode is embedded in the PAD definition and therefore there is no
> > need to repeat it in the PAD configuration value (more over since this
> > information will be masked out when the configuration value is applied).
> 
> Has this been accepted by Shawn?

added to DL now

> 
> Thanks,
> Peng.
> 
> > 
> > Signed-off-by: Jorge Ramirez-Ortiz <jorge at foundries.io>
> > ---
> >  arch/arm/dts/imx7ulp-evk.dts | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/dts/imx7ulp-evk.dts b/arch/arm/dts/imx7ulp-evk.dts
> > index 08a682f314..8f6a935e24 100644
> > --- a/arch/arm/dts/imx7ulp-evk.dts
> > +++ b/arch/arm/dts/imx7ulp-evk.dts
> > @@ -156,7 +156,7 @@
> > 
> >  		pinctrl_backlight: backlight_grp {
> >  			fsl,pins = <
> > -				IMX7ULP_PAD_PTF2__PTF2		0x20100
> > +				IMX7ULP_PAD_PTF2__PTF2		0x20000
> >  			>;
> >  		};
> > 
> > --
> > 2.17.1
>
Fabio Estevam Jan. 17, 2020, 11:50 a.m. UTC | #3
On Wed, Jan 15, 2020 at 2:50 PM Jorge Ramirez-Ortiz <jorge at foundries.io> wrote:
>
> The mux mode is embedded in the PAD definition and therefore there is
> no need to repeat it in the PAD configuration value (more over since
> this information will be masked out when the configuration value is
> applied).
>
> Signed-off-by: Jorge Ramirez-Ortiz <jorge at foundries.io>

Reviewed-by: Fabio Estevam <festevam at gmail.com>
Fabio Estevam Jan. 17, 2020, 11:51 a.m. UTC | #4
On Thu, Jan 16, 2020 at 4:40 AM Jorge Ramirez-Ortiz, Foundries
<jorge at foundries.io> wrote:
>
> On 16/01/20 02:22:35, Peng Fan wrote:
> > > Subject: [PATCH] arm: dts: imx7ulp-evk: remove mux value from pad
> > > configuration
> > >
> > > The mux mode is embedded in the PAD definition and therefore there is no
> > > need to repeat it in the PAD configuration value (more over since this
> > > information will be masked out when the configuration value is applied).
> >
> > Has this been accepted by Shawn?
>
> added to DL now

Mainline dts does not have backlight support, so this only affects U-Boot.
Jorge Ramirez-Ortiz, Foundries Jan. 19, 2020, 6:53 p.m. UTC | #5
On 17/01/20 08:51:45, Fabio Estevam wrote:
> On Thu, Jan 16, 2020 at 4:40 AM Jorge Ramirez-Ortiz, Foundries
> <jorge at foundries.io> wrote:
> >
> > On 16/01/20 02:22:35, Peng Fan wrote:
> > > > Subject: [PATCH] arm: dts: imx7ulp-evk: remove mux value from pad
> > > > configuration
> > > >
> > > > The mux mode is embedded in the PAD definition and therefore there is no
> > > > need to repeat it in the PAD configuration value (more over since this
> > > > information will be masked out when the configuration value is applied).
> > >
> > > Has this been accepted by Shawn?
> >
> > added to DL now
> 
> Mainline dts does not have backlight support, so this only affects U-Boot.

yes, the dts is only incorrect in uboot (ie, any of the mux values
that could be specified in the pad configuration field are just
ignored)
Stefano Babic Jan. 20, 2020, 8:18 p.m. UTC | #6
> The mux mode is embedded in the PAD definition and therefore there is
> no need to repeat it in the PAD configuration value (more over since
> this information will be masked out when the configuration value is
> applied).
> Signed-off-by: Jorge Ramirez-Ortiz <jorge at foundries.io>
> Reviewed-by: Fabio Estevam <festevam at gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/dts/imx7ulp-evk.dts b/arch/arm/dts/imx7ulp-evk.dts
index 08a682f314..8f6a935e24 100644
--- a/arch/arm/dts/imx7ulp-evk.dts
+++ b/arch/arm/dts/imx7ulp-evk.dts
@@ -156,7 +156,7 @@ 
 
 		pinctrl_backlight: backlight_grp {
 			fsl,pins = <
-				IMX7ULP_PAD_PTF2__PTF2		0x20100
+				IMX7ULP_PAD_PTF2__PTF2		0x20000
 			>;
 		};