diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-01-14 22:06:03 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-01-27 13:41:08 +0300 |
commit | 8bcda3257acf86b652fb98b7d1ef6bf6c911bd28 (patch) | |
tree | 432c704ddb58d18889378b1cbc4a62f29be8c70e /drivers/pwm/pwm-imx27.c | |
parent | e1ff6fc22f19e2af8adbad618526b80067911d40 (diff) | |
download | linux-8bcda3257acf86b652fb98b7d1ef6bf6c911bd28.tar.xz |
thermal: brcmstb_thermal: Prepare to support a different process
The driver is currently assuming that it is operating with a 28nm
process chip, which has a specific formula to convert temperature to a
code and vice versa. Update the code to support providing two key
values: offset and multiplier to derive the correct formulas.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200114190607.29339-3-f.fainelli@gmail.com
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions