: add Freescale Vybrid vf610 adc driver
On 11/27/2013 05:44 AM, Fugang Duan wrote:
[...]
+ if (info-vref)
+ info-vref_uv = regulator_get_voltage(info-vref);
+ else if (of_property_read_u32(np, fsl,adc-vref, info-vref_uv))
+ dev_err(info-dev,
+ Miss adc-vref
the binding file for Freescale
vf610 ADC driver
Fugang Duan fugang.d...@freescale.com wrote:
From: Mark Rutland [mailto:mark.rutl...@arm.com]
Data: Tuesday, November 26, 2013 10:09 PM
To: Duan Fugang-B38611
Cc: ji...@kernel.org; sachin.ka...@linaro.org;
devicetree@vger.kernel.org;
shawn@linaro.org
: add Freescale Vybrid vf610 adc driver
On Wed, Nov 27, 2013 at 05:37:24AM +, Fugang Duan wrote:
From: Mark Rutland mark.rutl...@arm.com
Data: Tuesday, November 26, 2013 10:26 PM
To: Duan Fugang-B38611
Cc: ji...@kernel.org; sachin.ka...@linaro.org;
devicetree@vger.kernel.org; shawn
, i.MX6SLX, i.MX7
serial sillicons.
Fugang Duan (3):
ARM: dts: vf610-twr: Add ADC support
iio:adc:imx: add Freescale Vybrid vf610 adc driver
Documentation: add the binding file for Freescale vf610 ADC driver
.../devicetree/bindings/iio/adc/vf610-adc.txt | 57 ++
arch/arm/boot/dts
Add Freescale Vybrid vf610 adc driver. The driver only support
ADC software trigger.
Signed-off-by: Fugang Duan b38...@freescale.com
---
drivers/iio/adc/Kconfig | 11 +
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/vf610_adc.c | 744 +++
3
The patch adds the binding file for Freescale vf610 ADC driver.
Signed-off-by: Fugang Duan b38...@freescale.com
---
.../devicetree/bindings/iio/adc/vf610-adc.txt | 57
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings
vf610 have two ADC controllers, and vf610-twr board ADC0_SE5 pin connect
to sliding rheostat for ADC test, other ADC pins connect to connectors for
future use.
Add support for ADC0_SE5.
Signed-off-by: Fugang Duan b38...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 14
for Freescale
vf610 ADC driver
On Tue, Nov 26, 2013 at 06:56:34PM +0800, Fugang Duan wrote:
+Optional properties:
+- fsl,adc-io-pinctl: Enable field for the I/O port control of MCU pins used
as analog inputs.
+- fsl,adc-vref: ADC refrence voltage value, unit is uV.
+- fsl,adc-clk-div: Current clock
Freescale Vybrid vf610 adc driver
On 11/26/2013 11:56 AM, Fugang Duan wrote:
Add Freescale Vybrid vf610 adc driver. The driver only support ADC
software trigger.
Signed-off-by: Fugang Duan b38...@freescale.com
The driver itself looks mostly fine. I'm not so sure about the dt bindings
though
Freescale Vybrid vf610 adc driver
On Tue, Nov 26, 2013 at 10:56:33AM +, Fugang Duan wrote:
Add Freescale Vybrid vf610 adc driver. The driver only support ADC
software trigger.
Signed-off-by: Fugang Duan b38...@freescale.com
---
drivers/iio/adc/Kconfig | 11 +
drivers/iio/adc/Makefile
: add the binding file for Freescale
vf610 ADC driver
On Tue, Nov 26, 2013 at 10:56:34AM +, Fugang Duan wrote:
The patch adds the binding file for Freescale vf610 ADC driver.
Signed-off-by: Fugang Duan b38...@freescale.com
---
.../devicetree/bindings/iio/adc/vf610-adc.txt | 57
On Tue, Nov 26, 2013 at 09:42:52AM +0800, Fugang Duan wrote:
The patch adds the binding file for Freescale vf610 ADC driver.
Signed-off-by: Fugang Duan b38...@freescale.com
---
.../devicetree/bindings/iio/adc/vf610-adc.txt | 57
1 files changed, 57 insertions
12 matches
Mail list logo