Re: [PATCH v3 0/4] soc: amlogic: add new meson-gx-socinfo-sm driver

From: Viacheslav
Date: Thu Mar 14 2024 - 08:25:15 EST


Hi!

14/03/2024 13.40, Sudeep Holla wrote:
On Thu, Mar 14, 2024 at 09:59:50AM +0300, Viacheslav Bocharov wrote:
The Amlogic Meson SoC Secure Monitor implements a call to retrieve an
unique SoC ID starting from the GX Family and all new families.
But GX-family chips (e.g. GXB, GXL and newer) supports also 128-bit
chip ID. 128-bit chip ID consists 32-bit SoC version and 96-bit OTP data.


How old or new are these SoCs ? The reason I ask is that it is really
sad to see vendors still creating their custom interfaces for such things
despite the standard SMCCC interface SOC_ID introduced in SMCCC v1.2 some
time in 2020.

Most of these SoC were created before 2020.


Hopefully they migrated to the std interface and just use the driver in
the kernel without needing to add this every time they fancy playing
with the interface for no reason.


--
Best regards
Viacheslav