arm: mach-k3: Add a function for printing DM version
authorMoteen Shah <m-shah@ti.com>
Mon, 9 Jun 2025 08:14:33 +0000 (13:44 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 18 Jun 2025 18:20:25 +0000 (12:20 -0600)
commit7bdbda262c1c76a4c5800e1f105e2473d5ead2e1
tree61e2a6cb69ab95f96830079101facbad86bbbfb0
parent60ee94585565bbfde4c828a9f464d9c4be5f041f
arm: mach-k3: Add a function for printing DM version

Add a function to print version of the DM firmware in use.
The function queries the firmware capabilities first and if
DM split mode bit is set, sends a request to TISCI for
retrieving the version information.

The DM split mode bit indicates that DM is a separate binary
altogether and hence it will have its own versioning.

Signed-off-by: Moteen Shah <m-shah@ti.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h