commit | 6d867b909db735659a48081fcdd246c182d80946 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Thu Apr 06 17:49:16 2017 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Mon May 15 11:57:26 2017 -0700 |
tree | bf8846473798314f79e7527bd2a7f7ee8739a7a4 | |
parent | a510acd9f9c18cb5a7de3705cc52d0db61bd5605 [diff] |
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: Stephen Boyd <sboyd@codeaurora.org>