Re: [PATCH] staging:iio:adc: Add SPEAr ADC driver

2012-04-12 Thread Stefan Roese
On Wednesday 11 April 2012 15:40:52 Jonathan Cameron wrote: On 4/11/2012 2:19 PM, Stefan Roese wrote: This patch implements the basic single data conversion support for the SPEAr600 SoC ADC. The register layout of SPEAr600 differs a bit from other SPEAr SoC variants (e.g. SPEAr3xx). These

Re: [PATCH] staging:iio:adc: Add SPEAr ADC driver

2012-04-12 Thread Viresh Kumar
On 4/11/2012 6:49 PM, Stefan Roese wrote: +static int __devinit spear_adc_probe(struct platform_device *pdev) +{ + struct device_node *np = pdev-dev.of_node; + struct spear_adc_info *info; + struct resource *res; + int retval = -ENODEV; + struct iio_dev *iodev

Re: [PATCH] staging:iio:adc: Add SPEAr ADC driver

2012-04-12 Thread Stefan Roese
On Thursday 12 April 2012 08:12:02 Viresh Kumar wrote: On 4/11/2012 6:49 PM, Stefan Roese wrote: +static int __devinit spear_adc_probe(struct platform_device *pdev) +{ + struct device_node *np = pdev-dev.of_node; + struct spear_adc_info *info; + struct resource *res;

Re: [PATCH] staging:iio:adc: Add SPEAr ADC driver

2012-04-12 Thread Viresh Kumar
On 4/12/2012 12:33 PM, Stefan Roese wrote: patch for devm_* variant of clk is also there. Where is it? Is it already in next? Do you have a link for the patch? Probably not in next till now. https://lkml.org/lkml/2012/4/1/56 -- viresh ___

Re: [PATCH] staging:iio:adc: Add SPEAr ADC driver

2012-04-12 Thread Stefan Roese
On Thursday 12 April 2012 09:41:45 Viresh Kumar wrote: On 4/12/2012 12:33 PM, Stefan Roese wrote: patch for devm_* variant of clk is also there. Where is it? Is it already in next? Do you have a link for the patch? Probably not in next till now. https://lkml.org/lkml/2012/4/1/56 I

Re: [PATCH] staging:iio:adc: Add SPEAr ADC driver

2012-04-12 Thread Viresh Kumar
On 4/12/2012 1:45 PM, Stefan Roese wrote: I just checked, it's not in next. IIUC, there should be an updated patch version for this coming soon. So basing my patch on this one seems a bit too early from my point of view. Perhaps its best to update all iio drivers, once this devm_clk_* stuff

[PATCH] staging:iio:adc: Add SPEAr ADC driver

2012-04-11 Thread Stefan Roese
This patch implements the basic single data conversion support for the SPEAr600 SoC ADC. The register layout of SPEAr600 differs a bit from other SPEAr SoC variants (e.g. SPEAr3xx). These differences are handled via DT compatible testing. Resuling in a multi-arch binary. This driver is currently