u-boot-brain/arch/arm/mach-omap2
Nishanth Menon 0459bc30b6 ARM: OMAP5: Enable support for AVS0 for OMAP5 production devices
OMAP5432 did go into production with AVS class0 registers which were
mutually exclusive from AVS Class 1.5 registers.

Most OMAP5-uEVM boards use the pre-production Class1.5 which has
production efuse registers set to 0. However on production devices,
these are set to valid data.

scale_vcore logic is already smart enough to detect this and use the
"Nominal voltage" on devices that do not have efuse registers populated.

On a test production device populated as follows:
MPU OPP_NOM:
=> md.l 0x04A0021C4 1
4a0021c4: 03a003e9                               ....
(0x3e9 = 1.01v) vs nom voltage of 1.06v
MPU OPP_HIGH:
=> md.l 0x04A0021C8 1
4a0021c8: 03400485                               ..@.

MM OPP_NOM:
=> md.l 0x04A0021A4 1
4a0021a4: 038003d4                               ....
(0x3d4 = 980mV) vs nom voltage of 1.025v
MM OPP_OD:
=> md.l 0x04A0021A8 1
4a0021a8: 03600403                               ..`.

CORE OPP_NOM:
=> md.l 0x04A0021D8 1
4a0021d8: 000003cf                               ....
(0x3cf = 975mV) vs nom voltage of 1.040v

Since the efuse values are'nt currently used, we do not regress on
existing pre-production samples (they continue to use nominal voltage).

But on boards that do have production samples populated, we can leverage
the optimal voltages necessary for proper operation.

Tested on:
a) 720-2644-001 OMAP5UEVM with production sample.
b) 750-2628-222(A) UEVM5432G-02 with pre-production sample.

Data based on OMAP5432 Technical reference Manual SWPU282AF (May
2012-Revised Aug 2016)

NOTE: All collaterals on OMAP5432 silicon itself seems to have been
removed from ti.com, though EVM details are still available:
http://www.ti.com/tool/OMAP5432-EVM

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
2017-08-13 15:17:35 -04:00
..
am33xx Convert CONFIG_CMD_SPL to Kconfig 2017-08-11 15:41:57 -04:00
omap3 omap3: incorrect logical check in do_emif4_init 2017-08-12 19:17:20 -04:00
omap4 omap4: Migrate to using imply 2017-03-09 19:52:16 -05:00
omap5 ARM: OMAP5: Enable support for AVS0 for OMAP5 production devices 2017-08-13 15:17:35 -04:00
abb.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
boot-common.c arm: omap: Detect boot mode very early 2017-07-10 14:26:04 -04:00
clocks-common.c ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters 2017-04-08 21:32:49 -04:00
config_secure.mk arm: mach-omap2: Generate MLO file from SD boot capable targets 2017-06-16 10:11:42 -04:00
config.mk mach-omap2: Cleanup secure boot media generation 2017-01-24 10:35:56 -05:00
emif-common.c arm: omap-common: Fix typo in CONFIG_OMAP54XX guard 2017-03-11 22:30:29 -05:00
fdt-common.c arm: mach-omap2: fdt-common: Add OP-TEE node when firmware node is defined 2017-07-22 22:22:44 -04:00
hwinit-common.c arm: omap4+: Enable spl_early_init() 2017-07-10 14:26:04 -04:00
Kconfig Convert CONFIG_SYS_I2C_OMAP24XX to Kconfig 2017-08-10 12:02:32 +02:00
lowlevel_init.S arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Makefile arm: mach-omap2: Factor out common FDT fixup suport 2017-07-22 22:22:43 -04:00
mem-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
omap-cache.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.h arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
reset.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sata.c dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset() 2017-07-11 10:08:19 -06:00
sec-common.c arm: mach-omap2: Align image address before cache operations 2017-07-31 12:21:39 -04:00
sysinfo-common.c arm: omap: Fix 'get_device_type()' for OMAP34XX 2017-08-12 18:56:26 -04:00
timer.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
u-boot-spl.lds ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL 2017-03-21 07:15:21 -04:00
utils.c omap: Add routine for setting fastboot variables 2017-06-12 08:36:21 -04:00
vc.c omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE 2017-05-15 10:40:03 -04:00