[PATCH 0/2] hwmon: ina2xx: convert driver to using regmap
From: Marc Titinger
Date: Mon Oct 26 2015 - 12:25:06 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/