omap4: add 4430 ES2.3 support

And default to 4430 ES2.3 for unidentified silicon.

Change-Id: I06b0aa9c5f33af25345996cf9d0c994491093096
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
ARM: OMAP4: Fix OMAP4430 ES2.2 identification

There is a break statement missing in the switch statement for ES2.2
devices that will cause ES2.2 devices to be detected as ES2.3.

Change-Id: I0e02ac4303015e843026c7fb3fb5b6f9de0ae058
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP4: ID: Allow omap443x to enable high performance features dynamically

As the prod id offset is same for 443x and 446x, allow 443x to dynamically
enable high performance features based on si type.
Enable 1.2G/1.5G only if it's high performance device, else fall back to 1G.

Change-Id: I11e3eb7dad54169c9e7d4a88396492c3ec1a2010
Signed-off-by: Girish S G <girishsg@ti.com>
Acked-by: Nishanth M <nm@ti.com>
Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP4: ID: Chip detection for OMAP4470

Add support for detection of the next chip in the OMAP4 family: OMAP4470 ES1.0

Change-Id: I931d3df6e69fdc3ee4a307c204a68fc9b3ff519b
Signed-off-by: Leonid Iziumtsev <x0153368@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP4: ID: Add runtime detection of 4470 1.5Ghz silicon

STD_FUSE_PROD_ID_1[17:16] fuse determines silicon type:
0x1 - Standard performance (1.3 GHz)
0x2 - High performance (1.5 GHz)

Change-Id: I7e37daf1d214d63b35f10fa45952485c59cbc009
Signed-off-by: Leonid Iziumtsev <x0153368@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Conflicts:
	arch/arm/mach-omap2/board-44xx-identity.c

Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP4: Add 4430 ES2.3 chip is check

4430 ES2.3 chip is check was missed during the merge
phase.

Putting it back in

Change-Id: I94fa2b8f803acb2a13c2f7db4558b2864106d213
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP4: ID: Remove code duplication during features check

Standard devices is a subset of Performance device.
So Standard features code can be reused for Performance devices.
This removes code duplication.

Also this patch adds 1.3Ghz flag back.
It was removed by mistake during a merge from p-android-omap-3.0 branch.

Change-Id: Ia993fe9e4d90d0557de54ccd1fd5fcb6e16a2782
Signed-off-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP4: ID: Add high IVA OPPs identification

Some 4460 and 4470 devices support IVA OPPNT and OPPSB.
Add flags to identify this feature.

Change-Id: I6e78d95ca07435c60aae36562a2d9b66fcd1baa4
Signed-off-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>