From f6db68a405c795481e15c6c34c865f511b2a098e Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Mon, 23 Dec 2013 17:48:00 +0000 Subject: [PATCH] iio: mxs-lradc: add scale attribute to channels Some LRADC channels have fixed pre-dividers and all have an optional divider by two which allows a maximum input voltage of VDDIO - 50mV. This patch - adds the scaling info flag to all channels - grabs the max reference voltage per channel (where the fixed pre-dividers apply) - allows to read the scaling attribute (computed from the Vref) Signed-off-by: Hector Palacios . Signed-off-by: Alexandre Belloni Acked-by: Marek Vasut Signed-off-by: Jonathan Cameron --- Reading git-format-patch failed