Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f6615037 authored by Stephen Boyd's avatar Stephen Boyd Committed by Jonathan Avila
Browse files

PM / devfreq: bw_hwmon: Add support for specifying count factor



Not all bandwidth monitors count in units of 1MB. Add a DT
property that indicates the number of bytes the monitor counts in
so we can properly scale the count we read from the hardware to
reflect the traffic. By default, we will assume 1MB units if the
property doesn't exist.

Change-Id: I1b581b2fffda04ba151df6e87221628368ff5b17
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 40c5693a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment