Skip to content
Commit 96a8a477 authored by Phil Elwell's avatar Phil Elwell Committed by Phil Elwell
Browse files

hwmon: (pwm-fan) Add fan speed register support



Some platforms include a fan-speed register that reports RPM directly
as an alternative to counting interrupts from the fan tachometer input.
Add support for reading a register at a given offset (rpm-offset) within
a block declared in another node (rpm-regmap). This indirection allows
the usual address mapping to be performed, and for address sharing with
another driver.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent ff2c2f67
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment