diff options
| author | David Collins <collinsd@codeaurora.org> | 2016-09-01 11:18:03 -0700 |
|---|---|---|
| committer | David Collins <collinsd@codeaurora.org> | 2016-09-01 11:36:30 -0700 |
| commit | 9675958c222a78b303c39e488dee323349ca1a1e (patch) | |
| tree | 993555454f84451f4e2e44c715d8d82e57b448db /lib/mpi/mpi-bit.c | |
| parent | c1cfc2062cde8e551906d6df1eb383347813ce6d (diff) | |
regulator: cpr3-regulator: add support for custom aging allowed register
Some platforms have a special register that must be checked in
order to verify that it is possible to perform a CPR aging
measurement. For example, on MSMCOBALT, the GPU head switch
power state must be checked to see if a graphics CPR aging
measurement can take place.
Add support for this kind of custom aging allowed register
verification via three device tree properties: the address of
the register, the mask to use on the register, and the expected
masked value to read if aging measurements are allowed.
Change-Id: I7bcb88002bdc0609e835bc9ce29c84d93684e445
Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
