Re: [PATCH v2 2/3] iio:adc:imx: add Freescale Vybrid vf610 adc driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 27, 2013 at 06:54:22AM +0000, Jonathan Cameron wrote:
> >>>I know this is not my call but I would prefer it had a imx-adc and in
> >the
> >>>Kconfig help you explain clearly which SoCs it will/support. It will
> >be strange
> >>>to have i.MX6SLX using a VF610 ADC :-(
> >>
> >> i.MX6SLX ADC IP inherit VF610 ADC IP. The VF610 ADC support hardware
> >trigger from PDB (The Programmable Delay Block), but i.MX6SLX don't
> >support hardware trigger.
> >> So, for the driver feature expander, there have difference for VF610
> >and i.MX6SLX. VF610 use the compatible "vf610-adc", i.MX6SLX use
> >"imx-adc".
> >
> >I see; but the source code will be vf610_adc.c; I'd expect it to be
> >imx_adc.c
> Firstly imx-adc is not going to work. Imx6-adc would be fine.  If you go with simply Imx-adc you are implying it will work with ALL
>  imx ADC IP. That is already untrue as this is the second driver for an ADC on an imx chip. Secondly convention is that naming goes
>  with the first supported part.

I'm all for this idea, and vf610_adc is perfectly fine to be used in
naming.  But we indeed need to update Kconfig prompt and help text to
make it clear that the driver also supports i.MX6SLX when that happens.

Shawn

> Having said that I don't care that strongly if everyone wants imx6-adc.

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux