soc: soc_ti_k3: identify j7200 SR2.0 SoCs
authorBryan Brattlof <bb@ti.com>
Tue, 21 Jun 2022 21:36:03 +0000 (16:36 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:51 +0000 (14:30 -0400)
commit10c8bafbc3cd9a6434318b82b64444488b7dd677
tree8e648ee8a11b64aa1bee55d3cfcc34e3a794367c
parentfdd08f896bcfc513a4cb7799d0094e4fabc73531
soc: soc_ti_k3: identify j7200 SR2.0 SoCs

Anytime a new revision of a chip is produced, Texas Instruments
will increment the 4 bit VARIANT section of the CTRLMMR_WKUP_JTAGID
register by one. Typically this will be decoded as SR1.0 -> SR2.0 ...
however a few TI SoCs do not follow this convention.

Rather than defining a revision string array for each SoC, use a
default revision string array for all TI SoCs that continue to follow
the typical 1.0 -> 2.0 revision scheme.

Signed-off-by: Bryan Brattlof <bb@ti.com>
drivers/soc/soc_ti_k3.c