LS1021A QE TDM Linux Driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1021A QE TDM Linux Driver

951 次查看
ramkrishnan
Contributor III

We have a product using the LS1021A chip and we want to use the TDM bus to sample a 50Khz signal (coming in via a ADC LTC2383) at 200K samples per second which will convert to a 8Mbps rate coming into/exiting the LS1021A TDM bus. 

Are there any applications that can handle TDM bus for tdm traffic alone. The only examples that I see currently do HDLC.

 

Thank you,

Ram Krishnan

标记 (4)
0 项奖励
回复
5 回复数

910 次查看
ramkrishnan
Contributor III

Thank you, I tried using this driver but I wanted something specific for TDM. For eg in kernel 3.12 there was a TDM driver that was used to read data coming in from the TDM with frame pulses to read in channelized data. Albeit in this case the 50Khz signal is sampled to rate of 8M coming to the TDM bus. How would it handle the frame pulses. 

Any examples as to how I can configure the dts to use this feature would be very much appreciated. 

Thanks,

Ram

 

./git/drivers/tdm
./git/drivers/tdm/device
./git/drivers/tdm/device/tdm_fsl.c
./git/drivers/tdm/cti_tdm_drv.c
./git/drivers/tdm/cti_tdm_ioctl.h
./git/drivers/tdm/tdm-core.c
./git/drivers/tdm/Makefile

0 项奖励
回复

876 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to Linux Kernel branch: sdk-v1.7.x
files: drivers/tdm/device/fsl_ucc_tdm.c

0 项奖励
回复

845 次查看
ramkrishnan
Contributor III

I will use the hdlc as an example and fit in the tdm code. 

 

Thanks,

0 项奖励
回复

927 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Yes, enable it on sdk2.0 kernel.
Please refer to the file under: drivers/soc/fsl/qe/

Please refer to the attachment.

0 项奖励
回复

901 次查看
ramkrishnan
Contributor III

One more thing I noticed was that you mentioned SDK2.0 Kernel. I am using Kirkstone yocto branch. Would I be able to do that in this build? the QorIQ SDK 2.0 is I believe based on Jethro and is quite old. Specifically the openssl versions which we need to be the latest. 

 

Ram

 

0 项奖励
回复