lkml.org 
[lkml]   [2015]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] hwmon: ina2xx: convert driver to using regmap
Date
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



\
 
 \ /
  Last update: 2015-10-26 17:41    [W:0.122 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site