Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76979788 authored by Matt Wagantall's avatar Matt Wagantall
Browse files

soc: qcom: add support for the socinfo v0.11 format



The v0.11 format adds two new fields:
	uint32_t num_pmics;
	uint32_t pmic_array_offset;

where num_pmics is the number of PMICs in the system and
pmic_array_offset is the offset from the start of the socinfo
struct, in bytes, to the start of an array of size 'num_pmics'
with pmic struct members:
	struct pmic {
 		uint32_t pmic_model;
	        uint32_t pmic_die_revision;
	};

The legacy PMIC model and revision fields defined in previous
versions of socinfo will continue to be populated with the
first three PMICs, however the full list (including those
three) can be found at pmic_array_offset.

Change-Id: I554f70f8b3ac1cf82eb1fed1180dd9c5dcbe39e6
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 20c4ae1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment