Skip to contentSkip to conversation

ARM: i.MX6: add new silicon revision number 1.6

PATCH New Christoph Fritz 3 participants 4 messages Jan 9, 2018 – Feb 2, 2018

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

PATCH 1/1 ARM: i.MX6: add new silicon revision number 1.6

This patch adds new silicon revision number 1.6 as specified in document IMX6DQCEC.pdf.

---
 arch/arm/mach-imx/anatop.c | 4 ++++
 include/soc/imx/revision.h | 1 +
 2 files changed, 5 insertions(+)
arch/arm/mach-imx/anatop.c +4 -0
index 649a84c..deb98b8 100644
@@ -157,6 +157,10 @@ void __init imx_init_revision_from_anatop(void)
 		 */
 		revision = IMX_CHIP_REVISION_1_5;
 		break;
+	case 6:
+		/* marked as 'E' in part number last character */
+		revision = IMX_CHIP_REVISION_1_6;
+		break;
 	default:
 		/*
 		 * Fail back to return raw register value instead of 0xff.
include/soc/imx/revision.h +1 -0
index 9ea3469..cd4c847 100644
@@ -15,6 +15,7 @@
 #define IMX_CHIP_REVISION_1_3		0x13
 #define IMX_CHIP_REVISION_1_4		0x14
 #define IMX_CHIP_REVISION_1_5		0x15
+#define IMX_CHIP_REVISION_1_6		0x16
 #define IMX_CHIP_REVISION_2_0		0x20
 #define IMX_CHIP_REVISION_2_1		0x21
 #define IMX_CHIP_REVISION_2_2		0x22
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/1 ARM: i.MX6: add new silicon revision number 1.6

In reply to Christoph Fritz
Quoted 4 lines · Christoph Fritz

This patch adds new silicon revision number 1.6 as specified in document IMX6DQCEC.pdf.

We have a patch [1] from Bai Ping that reworks the code. It makes your patch unnecessary?

Shawn

[1] https://patchwork.ozlabs.org/patch/857284/

Quoted 35 lines
---
 arch/arm/mach-imx/anatop.c | 4 ++++
 include/soc/imx/revision.h | 1 +
 2 files changed, 5 insertions(+)
arch/arm/mach-imx/anatop.c +4 -0
index 649a84c..deb98b8 100644
@@ -157,6 +157,10 @@ void __init imx_init_revision_from_anatop(void)
 		 */
 		revision = IMX_CHIP_REVISION_1_5;
 		break;
+	case 6:
+		/* marked as 'E' in part number last character */
+		revision = IMX_CHIP_REVISION_1_6;
+		break;
 	default:
 		/*
 		 * Fail back to return raw register value instead of 0xff.
include/soc/imx/revision.h +1 -0
index 9ea3469..cd4c847 100644
@@ -15,6 +15,7 @@
 #define IMX_CHIP_REVISION_1_3		0x13
 #define IMX_CHIP_REVISION_1_4		0x14
 #define IMX_CHIP_REVISION_1_5		0x15
+#define IMX_CHIP_REVISION_1_6		0x16
 #define IMX_CHIP_REVISION_2_0		0x20
 #define IMX_CHIP_REVISION_2_1		0x21
 #define IMX_CHIP_REVISION_2_2		0x22
Signature · 1 line
2.1.4
#3 lore raw

PATCH 1/1 ARM: i.MX6: add new silicon revision number 1.6

Quoted 4 lines · Shawn Guo
Quoted 3 lines · Christoph Fritz

This patch adds new silicon revision number 1.6 as specified in document IMX6DQCEC.pdf.

Quoted 8 lines
Quoted 1 line

We have a patch [1] from Bai Ping that reworks the code. It makes your patch unnecessary?

Shawn

[1] https://patchwork.ozlabs.org/patch/857284/

v2 of this patch is OK