[PATCH v3 0/3] Revamp k3-socinfo driver

From: Neha Malcom Francis
Date: Mon Oct 16 2023 - 06:17:07 EST


k3-socinfo driver doesn't account for difference series of silicon
revisions instead of the typical 1.0, 2.0 etc case. This exception is
currently already seen in J721E. This series aims to modify the driver
to account for those exceptions as well as clean things up a bit.

Changes since v2:
- Nishanth:
- update commit message
- move from double Signed-off-by to Co-developed-by
- make j721e_rev_string_map[] a const char
- drop k3_rev_string_map[] and continue using old
"variant++" logic for the typical cases
- appropriate error handling with no overrides
distinguishing between ENODEV and ENOMEM
- add patch for error handling initial cleanup
- reorder patches

Changes since v1:
- Nishanth:
- undo churning of family attribute
- remove unnecessary code relocation
- add Thejasvi to Signed-off-by as we are now similar to
the initial attempt [1]
- separate out typo fixes to another patch (2/2)

Boot log: https://gist.github.com/nehamalcom/ff9375dcde681dd78712ee8473b24a50
(See relevant k3-socinfo dev_info print on line 276)

v2: https://lore.kernel.org/lkml/20230915064650.2287638-1-n-francis@xxxxxx/T/
v1: https://lore.kernel.org/linux-arm-kernel/20230914074426.1901226-1-n-francis@xxxxxx/T/

[1] https://lore.kernel.org/all/20230607080349.26671-1-t-konduru@xxxxxx/

Neha Malcom Francis (3):
soc: ti k3-socinfo: Fix typo
soc: ti: k3-socinfo: Avoid overriding ret
soc: ti: k3-socinfo: Revamp driver to accommodate different rev
structs

drivers/soc/ti/k3-socinfo.c | 76 +++++++++++++++++++++++++++----------
1 file changed, 57 insertions(+), 19 deletions(-)

--
2.34.1