Lines Matching +full:silicon +full:- +full:id

1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap2/id.c
10 * Copyright (C) 2009-11 Texas Instruments
11 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com>
29 #include "id.h"
86 /*----------------------------------------------------------------------------*/
102 u16 hawkeye; /* Silicon type (Hawkeye id) */
104 u32 type; /* Combined type id copied to omap_revision */
123 odi->id_0 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_0); in omap_get_die_id()
124 odi->id_1 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_1); in omap_get_die_id()
125 odi->id_2 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_2); in omap_get_die_id()
126 odi->id_3 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_3); in omap_get_die_id()
130 odi->id_0 = read_tap_reg(OMAP_TAP_DIE_ID_0); in omap_get_die_id()
131 odi->id_1 = read_tap_reg(OMAP_TAP_DIE_ID_1); in omap_get_die_id()
132 odi->id_2 = read_tap_reg(OMAP_TAP_DIE_ID_2); in omap_get_die_id()
133 odi->id_3 = read_tap_reg(OMAP_TAP_DIE_ID_3); in omap_get_die_id()
140 /* Throw the die ID into the entropy pool at boot */ in omap_feed_randpool()
179 printk(KERN_ERR "Unknown OMAP CPU id\n"); in omap2xxx_check_revision()
205 n += scnprintf(buf + n, sizeof(buf) - n, #feat " ");
219 * on available features. Upon detection, update the CPU id in omap3_cpuinfo()
256 n += scnprintf(buf, sizeof(buf) - n, "%s %s (", soc_name, soc_rev); in omap3_cpuinfo()
264 if (*(buf + n - 1) == ' ') in omap3_cpuinfo()
265 n--; in omap3_cpuinfo()
266 n += scnprintf(buf + n, sizeof(buf) - n, ")\n"); in omap3_cpuinfo()
301 * - The am35x Chip ID register has bits 12, 7:5, and 3:2 marked as in omap3xxx_check_features()
357 * If the processor type is Cortex-A8 and the revision is 0x0 in omap3xxx_check_revision()
515 /* Unknown default to latest silicon rev as default */ in omap3xxx_check_revision()
545 rev = (idcode & 0xf) - 1; in omap4xxx_check_revision()
592 /* Unknown default to latest silicon rev as default */ in omap4xxx_check_revision()
635 /* Unknown default to latest silicon rev as default*/ in omap5xxx_check_revision()
708 /* Unknown default to latest silicon rev as default*/ in dra7xxx_check_revision()
723 * pretty much first thing from board init. For multi-omap, this gets
794 soc_dev_attr->machine = soc_name; in omap_soc_device_init()
795 soc_dev_attr->family = omap_get_family(); in omap_soc_device_init()
796 if (!soc_dev_attr->family) { in omap_soc_device_init()
800 soc_dev_attr->revision = soc_rev; in omap_soc_device_init()
801 soc_dev_attr->custom_attr_group = omap_soc_groups[0]; in omap_soc_device_init()
805 kfree(soc_dev_attr->family); in omap_soc_device_init()