Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1471883 > unrolled thread

Re: [PATCH V2] ARM: dts: imx6ul iomuxc syscon is compatible to imx6q

Started byShawn Guo <shawnguo@kernel.org>
First post2016-08-29 16:40 +0200
Last post2016-08-29 20:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V2] ARM: dts: imx6ul iomuxc syscon is compatible to imx6q Shawn Guo <shawnguo@kernel.org> - 2016-08-29 16:40 +0200
    Re: [PATCH V2] ARM: dts: imx6ul iomuxc syscon is compatible to imx6q Shawn Guo <shawnguo@kernel.org> - 2016-08-29 17:30 +0200
    RE: [PATCH V2] ARM: dts: imx6ul iomuxc syscon is compatible to imx6q Yongcai Huang <anson.huang@nxp.com> - 2016-08-29 20:20 +0200

#1471883 — Re: [PATCH V2] ARM: dts: imx6ul iomuxc syscon is compatible to imx6q

FromShawn Guo <shawnguo@kernel.org>
Date2016-08-29 16:40 +0200
SubjectRe: [PATCH V2] ARM: dts: imx6ul iomuxc syscon is compatible to imx6q
Message-ID<sbvTb-8um-9@gated-at.bofh.it>
On Mon, Aug 29, 2016 at 10:25:43PM +0800, Anson Huang wrote:
> The imx6ul iomuxc syscon is compatible to imx6q,
> so let's add compatible string 'fsl,imx6q-iomuxc-gpr'
> for imx6ul iomuxc syscon node.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Will this patch still be needed if you implement imx6ul suspend support
with PSCI?

Shawn

> ---
> changes since V1:
> 	improve commit message.
>  arch/arm/boot/dts/imx6ul.dtsi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
> index 33b95d7..acc9486 100644
> --- a/arch/arm/boot/dts/imx6ul.dtsi
> +++ b/arch/arm/boot/dts/imx6ul.dtsi
> @@ -644,7 +644,8 @@
>  			};
>  
>  			gpr: iomuxc-gpr@020e4000 {
> -				compatible = "fsl,imx6ul-iomuxc-gpr", "syscon";
> +				compatible = "fsl,imx6ul-iomuxc-gpr",
> +					     "fsl,imx6q-iomuxc-gpr", "syscon";
>  				reg = <0x020e4000 0x4000>;
>  			};
>  
> -- 
> 1.9.1
> 

[toc] | [next] | [standalone]


#1471918

FromShawn Guo <shawnguo@kernel.org>
Date2016-08-29 17:30 +0200
Message-ID<sbwFz-yc-5@gated-at.bofh.it>
In reply to#1471883
On Mon, Aug 29, 2016 at 02:44:47PM +0000, Yongcai Huang wrote:
> This patch is to set the GINT bit for all low power mode transition.
> 
> Do we decide to go with PSCI for all i.MX6 SoCs? Currently i.MX6UL's suspend is
> already supported with non-PCSI method, only i.MX7D uses PSCI, right? If we decide
> to implement all power management feature with PSCI, then yes, all these changes
> can be put into PSCI. But since current suspend/cpuidle function are already supported
> using old method, this bit must be set to avoid system goes into low power mode
> unexpected.

My apology.  I messed up it with i.MX7D.  Patch applied, thanks.

Shawn

[toc] | [prev] | [next] | [standalone]


#1472038

FromYongcai Huang <anson.huang@nxp.com>
Date2016-08-29 20:20 +0200
Message-ID<sbwFz-yc-7@gated-at.bofh.it>
In reply to#1471883

Best Regards!
Anson Huang



> -----Original Message-----
> From: Shawn Guo [mailto:shawnguo@kernel.org]
> Sent: 2016-08-29 10:35 PM
> To: Yongcai Huang <anson.huang@nxp.com>
> Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org;
> devicetree@vger.kernel.org; mark.rutland@arm.com; robh+dt@kernel.org;
> kernel@pengutronix.de; Fabio Estevam <fabio.estevam@nxp.com>;
> linux@armlinux.org.uk
> Subject: Re: [PATCH V2] ARM: dts: imx6ul iomuxc syscon is compatible to imx6q
> 
> On Mon, Aug 29, 2016 at 10:25:43PM +0800, Anson Huang wrote:
> > The imx6ul iomuxc syscon is compatible to imx6q, so let's add
> > compatible string 'fsl,imx6q-iomuxc-gpr'
> > for imx6ul iomuxc syscon node.
> >
> > Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> 
> Will this patch still be needed if you implement imx6ul suspend support with
> PSCI?
> 
> Shawn

This patch is to set the GINT bit for all low power mode transition.

Do we decide to go with PSCI for all i.MX6 SoCs? Currently i.MX6UL's suspend is
already supported with non-PCSI method, only i.MX7D uses PSCI, right? If we decide
to implement all power management feature with PSCI, then yes, all these changes
can be put into PSCI. But since current suspend/cpuidle function are already supported
using old method, this bit must be set to avoid system goes into low power mode
unexpected.

Regards!
Anson.

> 
> > ---
> > changes since V1:
> > 	improve commit message.
> >  arch/arm/boot/dts/imx6ul.dtsi | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/imx6ul.dtsi
> > b/arch/arm/boot/dts/imx6ul.dtsi index 33b95d7..acc9486 100644
> > --- a/arch/arm/boot/dts/imx6ul.dtsi
> > +++ b/arch/arm/boot/dts/imx6ul.dtsi
> > @@ -644,7 +644,8 @@
> >  			};
> >
> >  			gpr: iomuxc-gpr@020e4000 {
> > -				compatible = "fsl,imx6ul-iomuxc-gpr", "syscon";
> > +				compatible = "fsl,imx6ul-iomuxc-gpr",
> > +					     "fsl,imx6q-iomuxc-gpr", "syscon";
> >  				reg = <0x020e4000 0x4000>;
> >  			};
> >
> > --
> > 1.9.1
> >

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web