summaryrefslogtreecommitdiff
path: root/drivers/tdm/tdm-core.c
AgeCommit message (Collapse)Author
2013-04-18Changing poll operation from TDM port to TDM channelSandeep Singh
Since all read/write operations are in TDM are channel based, polling on TDM channel for data instead of TDM port before going for read/write. Also corrected a faulty error leg. Signed-off-by: Sandeep Singh <Sandeep@freescale.com> (cherry picked from commit 304c5cc5f167d1ac8990e36579cc2f87851f0cdd) Change-Id: I5c0ec540c0db8e538e2b650ac0a0d5bdffaca336 Reviewed-on: http://git.am.freescale.net:8181/1159 Reviewed-by: Xu Jiucheng-B37781 <Jiucheng.Xu@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
2013-04-05TDM: Add a directly R/W API for tdm coreJiucheng Xu
Tdm core exported the simple function interfaces for user in kernel space. Signed-off-by: Jiucheng Xu <Jiucheng.Xu@freescale.com> Signed-off-by: Kai.Jiang <Kai.Jiang@freescale.com> Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Xie Xiaobo <X.Xie@freescale.com> Change-Id: Ifc8ef6b14f7cbc3c88fcfc5e4a1afd59564d8059 Reviewed-on: http://git.am.freescale.net:8181/904 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
2013-03-21TDM FrameworkSandeep Singh
TDM Framework is an attempt to provide a platform independent layer which can offer a standard interface for TDM access to different client modules. Beneath, the framework layer can house different types of TDM drivers to handle various TDM devices, the hardware intricacies of the devices being completely taken care by TDM drivers. This framework layer will allow any type of TDM device to hook with it. For example Freescale controller as on MPC8315, UCC based TDM controller, etc The main functions of this Framework are: - provides interface to TDM clients to access TDM functionalities. - provides standard interface for TDM drivers to hook with the framework. - handles various data handling stuff and buffer management. In future this Framework will be extended to provide Interface for Line control devices also. For example SLIC, E1/T1 Framers etc. Presently the framework supports only Single Port channelised mode. Also the configurability options are limited which will be extended later on. Only kernel mode TDM clients are supported currently. Support for User mode clients will be added later. Signed-off-by: Sandeep Singh <Sandeep@freescale.com> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com> (cherry picked from commit e327099dbad92d21d54c92b9ab8a860f5fbcb636)