Skip to contentSkip to conversation

ARM: imx: Add revision support for i.MX7ULP revision 2.2

PATCH Applied Anson Huang 3 participants 3 messages Sep 27, 2020 – Oct 30, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/mach-imx/mach-imx7ulp.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-imx/mach-imx7ulp.c +3 -0
index 445256e..f6032ea 100644
@@ -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;
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines

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.

---
 arch/arm/mach-imx/mach-imx7ulp.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-imx/mach-imx7ulp.c +0 -0
index 445256e..f6032ea 100644

arch/arm/mach-imx/mach-imx7ulp.c static void __init imx7ulp_set_revision(void) · line 53

Quoted 9 lines
arch/arm/mach-imx/mach-imx7ulp.c +3 -0
@@ -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;
Quoted 2 lines

--
2.7.4