Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: ti: k3-socinfo: Add information for AM62L SR1.1

The second silicon revision for the AM62L was mainly a ROM revision
and therefore this silicon revision is labeled SR1.1

Add a new decode array to properly identify this revision as SR1.1

Signed-off-by: Bryan Brattlof <bb@ti.com>
Link: https://patch.msgid.link/20250908-62l-chipid-v1-1-9c7194148140@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>

authored by

Bryan Brattlof and committed by
Nishanth Menon
037e4960 0fdd3240

+10
+10
drivers/soc/ti/k3-socinfo.c
··· 66 66 "1.0", "1.1", "2.0", 67 67 }; 68 68 69 + static const char * const am62lx_rev_string_map[] = { 70 + "1.0", "1.1", 71 + }; 72 + 69 73 static int 70 74 k3_chipinfo_partno_to_names(unsigned int partno, 71 75 struct soc_device_attribute *soc_dev_attr) ··· 95 91 goto err_unknown_variant; 96 92 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "SR%s", 97 93 j721e_rev_string_map[variant]); 94 + break; 95 + case JTAG_ID_PARTNO_AM62LX: 96 + if (variant >= ARRAY_SIZE(am62lx_rev_string_map)) 97 + goto err_unknown_variant; 98 + soc_dev_attr->revision = kasprintf(GFP_KERNEL, "SR%s", 99 + am62lx_rev_string_map[variant]); 98 100 break; 99 101 default: 100 102 variant++;