Messages in this thread | | | From | Marc Titinger <> | Subject | [PATCH 0/2] hwmon: ina2xx: convert driver to using regmap | Date | Mon, 26 Oct 2015 17:24:31 +0100 |
| |
Hi Guenter,
as requested, here's the regmap version as a separate patch. I've left out the idea of separate show functions as it doesn't bring much indeed.
If you're interested in a before/after comparison, here are the plots of of a usb key (DUT) power-cycle captured using either driver version. As expected, the measurement is better resolved with single reads.
"github dot com"/mtitinger/ACME/blob/master/docs/measurements/bulk-700pts.png "github dot com"/mtitinger/ACME/blob/master/docs/measurements/regmap-700pts.png
Many thanks.
Marc Titinger (2): hwmon: ina2xx: convert driver to using regmap hwmon: ina2xx: give precedence to DT over checking for platform data.
drivers/hwmon/ina2xx.c | 208 +++++++++++++++++++------------------------------ 1 file changed, 79 insertions(+), 129 deletions(-)
-- 1.9.1
| |