[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1445876673-32180-1-git-send-email-mtitinger@baylibre.com>
Date: Mon, 26 Oct 2015 17:24:31 +0100
From: Marc Titinger <mtitinger@...libre.com>
To: linux@...ck-us.net, jdelvare@...e.com
Cc: lm-sensors@...sensors.org, linux-kernel@...r.kernel.org,
Marc Titinger <mtitinger@...libre.com>
Subject: [PATCH 0/2] hwmon: ina2xx: convert driver to using regmap
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists