* [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2
@ 2020-09-27 7:03 Anson Huang
2020-09-27 8:03 ` Peng Fan
2020-10-30 0:15 ` Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Anson Huang @ 2020-09-27 7:03 UTC (permalink / raw)
To: linux, shawnguo, s.hauer, kernel, festevam, peng.fan,
aisheng.dong, linux-arm-kernel, linux-kernel
Cc: Linux-imx
On i.MX7ULP revision 2.2, the value is 3, so add support for this
revision, otherwise, it will use default revision of 1.0 which is
incorrect.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
arch/arm/mach-imx/mach-imx7ulp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c
index 445256e..f6032ea 100644
--- a/arch/arm/mach-imx/mach-imx7ulp.c
+++ b/arch/arm/mach-imx/mach-imx7ulp.c
@@ -45,6 +45,9 @@ static void __init imx7ulp_set_revision(void)
case 2:
imx_set_soc_revision(IMX_CHIP_REVISION_2_1);
break;
+ case 3:
+ imx_set_soc_revision(IMX_CHIP_REVISION_2_2);
+ break;
default:
imx_set_soc_revision(IMX_CHIP_REVISION_1_0);
break;
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2
2020-09-27 7:03 [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2 Anson Huang
@ 2020-09-27 8:03 ` Peng Fan
2020-10-30 0:15 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan @ 2020-09-27 8:03 UTC (permalink / raw)
To: Anson Huang, linux@armlinux.org.uk, shawnguo@kernel.org,
s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com,
Aisheng Dong, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: dl-linux-imx
> Subject: [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2
>
> On i.MX7ULP revision 2.2, the value is 3, so add support for this revision,
> otherwise, it will use default revision of 1.0 which is incorrect.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---
> arch/arm/mach-imx/mach-imx7ulp.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-imx/mach-imx7ulp.c
> b/arch/arm/mach-imx/mach-imx7ulp.c
> index 445256e..f6032ea 100644
> --- a/arch/arm/mach-imx/mach-imx7ulp.c
> +++ b/arch/arm/mach-imx/mach-imx7ulp.c
> @@ -45,6 +45,9 @@ static void __init imx7ulp_set_revision(void)
> case 2:
> imx_set_soc_revision(IMX_CHIP_REVISION_2_1);
> break;
> + case 3:
> + imx_set_soc_revision(IMX_CHIP_REVISION_2_2);
> + break;
> default:
> imx_set_soc_revision(IMX_CHIP_REVISION_1_0);
> break;
Reviewed-by: Peng Fan <peng.fan@nxp.com>
> --
> 2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2
2020-09-27 7:03 [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2 Anson Huang
2020-09-27 8:03 ` Peng Fan
@ 2020-10-30 0:15 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2020-10-30 0:15 UTC (permalink / raw)
To: Anson Huang
Cc: aisheng.dong, peng.fan, s.hauer, linux, linux-kernel, Linux-imx,
kernel, festevam, linux-arm-kernel
On Sun, Sep 27, 2020 at 03:03:13PM +0800, Anson Huang wrote:
> On i.MX7ULP revision 2.2, the value is 3, so add support for this
> revision, otherwise, it will use default revision of 1.0 which is
> incorrect.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Applied, thanks.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-30 0:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-27 7:03 [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2 Anson Huang
2020-09-27 8:03 ` Peng Fan
2020-10-30 0:15 ` 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).