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

Commit 5dc19fc2 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Add generic functions to read efuse settings



Fuses are being increasingly used to provide SoC level configuration.
There is no common or generic way to read fuses so every leaf driver
is left to their own devices.

Add a set of generic functions to map and read efuse memory. Use
adreno_efuse_read_u32() to map/read/unmap a single address. If you
need to read more than one address at a time bracket the reads with
adreno_efuse_map() and adreno_efuse_unmap() to save multiple ioremaps
in a row.

Change-Id: Ic0dedbad951d323193e07e7a47ee8e7517738c9d
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 58783aac
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