]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ARM: i.MX6: add more chip revision support
authorJason Liu <r64343@freescale.com>
Tue, 5 Nov 2013 04:03:18 +0000 (12:03 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:06:44 +0000 (10:06 +0800)
Add more revision support for the new i.MX6DQ tape-out (TO1.5).  This
TO1.5 is the Rev 1.3 as documented in i.MX6DQ data sheet, because TO1.3
and TO1.4 are never revealed.

Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/anatop.c
arch/arm/mach-imx/mxc.h

index 4a40bbb46183a850af387151c58b73569f55182a..8259a625a920ba3fca9cf567893b2be03e7892c7 100644 (file)
@@ -104,6 +104,19 @@ void __init imx_init_revision_from_anatop(void)
        case 2:
                revision = IMX_CHIP_REVISION_1_2;
                break;
+       case 3:
+               revision = IMX_CHIP_REVISION_1_3;
+               break;
+       case 4:
+               revision = IMX_CHIP_REVISION_1_4;
+               break;
+       case 5:
+               /*
+                * i.MX6DQ TO1.5 is defined as Rev 1.3 in Data Sheet, marked
+                * as 'D' in Part Number last character.
+                */
+               revision = IMX_CHIP_REVISION_1_5;
+               break;
        default:
                revision = IMX_CHIP_REVISION_UNKNOWN;
        }
index a39b69ef43019ff0460aaa7012c63d466d48f39a..17a41ca65acf89154daecfe55eb0152744110932 100644 (file)
@@ -43,6 +43,8 @@
 #define IMX_CHIP_REVISION_1_1          0x11
 #define IMX_CHIP_REVISION_1_2          0x12
 #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_2_0          0x20
 #define IMX_CHIP_REVISION_2_1          0x21
 #define IMX_CHIP_REVISION_2_2          0x22