11 Jul
2013
11 Jul
'13
6:36 p.m.
On Thu, Jul 11, 2013 at 04:23:24PM +0200, Peter Ujfalusi wrote:
On 07/11/2013 04:02 PM, Lars-Peter Clausen wrote:
But I'm wondering who do you register the PCM device in the DT case? Do you have a separate DT node for the PCM device?
It is a platform_device right now registered in arch/arm/mach-omap2/devices.c We do not have and I don't plan to have DT node for it. The device for the PCM is registered if soc audio is selected for OMAP.
The standard thing there is to trigger the instantiation from the DAI driver if the DMA driver isn't hardware in itself but rather an adaptor to a shared DMA controller.