Re: [PATCH 3/5] drivers/misc: rf/ad9361: AD9361 device driver forRadio phy

From: Greg KH
Date: Wed Jun 19 2013 - 10:30:10 EST


On Wed, Jun 19, 2013 at 02:57:40PM +0200, Lars-Peter Clausen wrote:
> On 06/17/2013 10:09 AM, akhil.goyal@xxxxxxxxxxxxx wrote:
> > From: Akhil Goyal <akhil.goyal@xxxxxxxxxxxxx>
> >
> > AD9361 is a radio phy(RFIC) for radio networks. This phy
> > can support LTE-FDD/LTE-TDD and WCDMA networks. The RFIC
> > can convert the analog radio signals from air to digital
> > IQ samples.
> >
> > AD9361 is controlled via an SPI bus and all the register
> > read/ write can be performed via SPI transactions.
> >
> > Driver provides various operations for configuring and
> > controlling the AD PHY. These can be controlled from the
> > user space via the rfdev framework.
> >
> > Driver also binds itself to one of AIC lane using RF framework.
> > The combination of AIC lane and PHY connected to it works
> > as one RF device.
> >
> > Signed-off-by: Shaveta Leekha <shaveta@xxxxxxxxxxxxx>
> > Signed-off-by: Pankaj Chauhan <pankaj.chauhan@xxxxxxxxxxxxx>
> > Signed-off-by: Bhaskar Upadhaya <bhaskar.upadhaya@xxxxxxxxxxxxx>
> > Signed-off-by: Akhil Goyal <akhil.goyal@xxxxxxxxxxxxx>
>
> Hi,
>
> This is interesting. We at Analog Devices are currently also working on a
> driver for this part. We are using the Linux Industrial IO (IIO) framework
> though, since the AD9361 is more or less a multifunction device implementing
> different functions already covered by the IIO framework, like ADCs, DACs,
> clock chips and so on.

That's the "proper" api for this, not a bunch of chip-custom ioctls that
aren't documented anywhere.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/