summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-09-27 15:03:13 +0800
committerShawn Guo <shawnguo@kernel.org>2020-10-30 08:15:27 +0800
commit2f4ac2d79eb4c09ee6dbda1d2fc2616f281094f9 (patch)
tree208345e6cae63d4f041713648e0ba6f51b2c1c9c /arch/arm/mach-imx
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
downloadlinux-stable-2f4ac2d79eb4c09ee6dbda1d2fc2616f281094f9.tar.gz
linux-stable-2f4ac2d79eb4c09ee6dbda1d2fc2616f281094f9.tar.bz2
linux-stable-2f4ac2d79eb4c09ee6dbda1d2fc2616f281094f9.zip
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> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/mach-imx7ulp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c
index 445256e6a4a0..f6032ea7de8b 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;