Commit fbaee4b7 authored by Amit Kucheria's avatar Amit Kucheria
Browse files

thermal: tsens: Pass register offsets as private data



Registers have moved around across TSENS generations. For example, the
CTRL register was at offset 0x0 in the SROT region on msm8916 but is at
offset 0x4 in newer v2 based TSENS HW blocks.

Allow passing offsets of important registers so that we can continue to
use common functions.

Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
parent 1a671f3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment