All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* JESD204B support
@ 2015-06-18 12:46 Shubhrajyoti Datta
  2015-06-18 15:14 ` Lars-Peter Clausen
  0 siblings, 1 reply; 5+ messages in thread
From: Shubhrajyoti Datta @ 2015-06-18 12:46 UTC (permalink / raw)
  To: linux-iio@vger.kernel.org

Hi ,

I was wondering if there is any plans or existing support for JESD204B.
I was thinking of IIO. However any other ideas may be welcome.


With Regards,
Shubhrajyoti

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JESD204B support
  2015-06-18 12:46 JESD204B support Shubhrajyoti Datta
@ 2015-06-18 15:14 ` Lars-Peter Clausen
  2015-06-19  6:45   ` Shubhrajyoti Datta
  0 siblings, 1 reply; 5+ messages in thread
From: Lars-Peter Clausen @ 2015-06-18 15:14 UTC (permalink / raw)
  To: Shubhrajyoti Datta, linux-iio@vger.kernel.org

On 06/18/2015 02:46 PM, Shubhrajyoti Datta wrote:
> Hi ,
>
> I was wondering if there is any plans or existing support for JESD204B.
> I was thinking of IIO. However any other ideas may be welcome.

Yes, IIO is the way to go. We have some out-of-tree drivers for JESD204B 
chips. They are not quite ready yet, but we'll get there.

- Lars


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JESD204B support
  2015-06-18 15:14 ` Lars-Peter Clausen
@ 2015-06-19  6:45   ` Shubhrajyoti Datta
  2015-06-19  8:10     ` Lars-Peter Clausen
  0 siblings, 1 reply; 5+ messages in thread
From: Shubhrajyoti Datta @ 2015-06-19  6:45 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: linux-iio@vger.kernel.org

On Thu, Jun 18, 2015 at 8:44 PM, Lars-Peter Clausen <lars@metafoo.de> wrote:
> On 06/18/2015 02:46 PM, Shubhrajyoti Datta wrote:
>>
>> Hi ,
>>
>> I was wondering if there is any plans or existing support for JESD204B.
>> I was thinking of IIO. However any other ideas may be welcome.
>
>
> Yes, IIO is the way to go. We have some out-of-tree drivers for JESD204B
> chips.

Great.

> They are not quite ready yet,  but we'll get there
May be sharing early could get some alignment.


The thing is the data rate change and the related clock tree
dependencies that it may bring.
That part looked tricky to me. So thought of talking to the community
before sketching something
not compatible. :-)

>
> - Lars
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JESD204B support
  2015-06-19  6:45   ` Shubhrajyoti Datta
@ 2015-06-19  8:10     ` Lars-Peter Clausen
  2015-06-22  5:41       ` Shubhrajyoti Datta
  0 siblings, 1 reply; 5+ messages in thread
From: Lars-Peter Clausen @ 2015-06-19  8:10 UTC (permalink / raw)
  To: Shubhrajyoti Datta; +Cc: linux-iio@vger.kernel.org

On 06/19/2015 08:45 AM, Shubhrajyoti Datta wrote:
> On Thu, Jun 18, 2015 at 8:44 PM, Lars-Peter Clausen <lars@metafoo.de> wrote:
>> On 06/18/2015 02:46 PM, Shubhrajyoti Datta wrote:
>>>
>>> Hi ,
>>>
>>> I was wondering if there is any plans or existing support for JESD204B.
>>> I was thinking of IIO. However any other ideas may be welcome.
>>
>>
>> Yes, IIO is the way to go. We have some out-of-tree drivers for JESD204B
>> chips.
>
> Great.
>
>> They are not quite ready yet,  but we'll get there
> May be sharing early could get some alignment.

It mostly all at 
https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/adc/

E.g. 
https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/adc/cf_axi_jesd204b_v51.c 
and 
https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/adc/cf_axi_adc_core.c

But it is nothing you'd want to copy infrastructure wise. The drivers have a 
lot of built-in assumptions about the underlying topology and will really 
only work with a certain JESD converter and JESD host controller combination.

>
>
> The thing is the data rate change and the related clock tree
> dependencies that it may bring.
> That part looked tricky to me. So thought of talking to the community
> before sketching something
> not compatible. :-)

Yeah, I think that's one of the parts we haven't really figured out yet. The 
JESD transceiver that we are using on the host system unfortunately is not 
re-programmable at runtime.

But otherwise we are using the normal clock framework to model the various 
clock relationships and use it to enable/disable and setup the clocks as 
required.

- Lars

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JESD204B support
  2015-06-19  8:10     ` Lars-Peter Clausen
@ 2015-06-22  5:41       ` Shubhrajyoti Datta
  0 siblings, 0 replies; 5+ messages in thread
From: Shubhrajyoti Datta @ 2015-06-22  5:41 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: linux-iio@vger.kernel.org

On Fri, Jun 19, 2015 at 1:40 PM, Lars-Peter Clausen <lars@metafoo.de> wrote:
> On 06/19/2015 08:45 AM, Shubhrajyoti Datta wrote:
>>
>> On Thu, Jun 18, 2015 at 8:44 PM, Lars-Peter Clausen <lars@metafoo.de>
>> wrote:
>>>
>>> On 06/18/2015 02:46 PM, Shubhrajyoti Datta wrote:
>>>>
>>>>
>>>> Hi ,
>>>>
>>>> I was wondering if there is any plans or existing support for JESD204B.
>>>> I was thinking of IIO. However any other ideas may be welcome.
>>>
>>>
>>>
>>> Yes, IIO is the way to go. We have some out-of-tree drivers for JESD204B
>>> chips.
>>
>>
>> Great.
>>
>>> They are not quite ready yet,  but we'll get there
>>
>> May be sharing early could get some alignment.
>
>
> It mostly all at
> https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/adc/
>
> E.g.
> https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/adc/cf_axi_jesd204b_v51.c
> and
> https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/adc/cf_axi_adc_core.c
>
> But it is nothing you'd want to copy infrastructure wise. The drivers have a
> lot of built-in assumptions about the underlying topology and will really
> only work with a certain JESD converter and JESD host controller
> combination.

OK still good stuff.

>
>>
>>
>> The thing is the data rate change and the related clock tree
>> dependencies that it may bring.
>> That part looked tricky to me. So thought of talking to the community
>> before sketching something
>> not compatible. :-)
>
>
> Yeah, I think that's one of the parts we haven't really figured out yet. The
> JESD transceiver that we are using on the host system unfortunately is not
> re-programmable at runtime.
>
> But otherwise we are using the normal clock framework to model the various
> clock relationships and use it to enable/disable and setup the clocks as
> required.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-22  5:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 12:46 JESD204B support Shubhrajyoti Datta
2015-06-18 15:14 ` Lars-Peter Clausen
2015-06-19  6:45   ` Shubhrajyoti Datta
2015-06-19  8:10     ` Lars-Peter Clausen
2015-06-22  5:41       ` Shubhrajyoti Datta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.