[PATCH v3 1/8] firmware: smccc: Export revision soc_id function
Sudeep Holla
sudeep.holla at arm.com
Tue Mar 26 06:18:28 PDT 2024
On Tue, Mar 26, 2024 at 11:47:36AM +0000, Andre Przywara wrote:
> From: Martin Botka <martin.botka at somainline.org>
>
> The "SoC ID revision" as provided via the SMCCC SOCID interface can be
> valuable information for drivers, when certain functionality depends
> on a die revision, for instance.
> One example is the sun50i-cpufreq-nvmem driver, which needs this
> information to determine the speed bin of the SoC.
>
> Export the arm_smccc_get_soc_id_revision() function so that it can be
> called by any driver.
>
Assuming sun50i cpufreq driver can be built as module,
Acked-by: Sudeep Holla <sudeep.holla at arm.com>
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list