diff options
author | Baruch Siach <[email protected]> | 2017-12-22 17:14:08 +0100 |
---|---|---|
committer | Eduardo Valentin <[email protected]> | 2018-01-01 13:18:06 -0800 |
commit | 2ff127999289a8ed29b2dae3a15f2f484d560463 (patch) | |
tree | 98f4b30a04b2a781b1065e41a05a68ec1b8cbc2b /lib/netdev-notifier-error-inject.c | |
parent | 8371b8a3324b4dcee2a51983a3309c5a8bc6cd3b (diff) |
thermal: armada: Add support for Armada AP806
The AP806 component is integrated in the Armada 8K and 7K lines of
processors.
The thermal sensor sample field on the status register is a signed
value. Extend armada_get_temp() and the driver structure to handle
signed values.
Signed-off-by: Baruch Siach <[email protected]>
[<[email protected]>: Changes when applying over the
previous patches, including the register names changes, also switched
the coefficients values to s64 instead of unsigned long to deal with
negative values and used do_div instead of the traditionnal '/']
Signed-off-by: Miquel Raynal <[email protected]>
Reviewed-by: Gregory CLEMENT <[email protected]>
Tested-by: Gregory CLEMENT <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions