12 Oct
2018
12 Oct
'18
1:47 a.m.
Hi
Currently ssi driver only requests dma channel for SSI_0, with naming of 'rxu/txu', which is used to transfer data to/from busif0. But for GEN2/GEN3, there are also busif1 ~ busif7, which need to be used when SSI works in TDM Split/Ex-Split mode.
This patch adds support to firstly try to request busif indexed dma channel with naming "rxu[busif]/txu[busif]", if these dma channel don't exist, then try to request 'rxu/txu' dma channel to keep compatibility with platform hasn't had device-tree updated.
Signed-off-by: Jiada Wang jiada_wang@mentor.com
In my understanding, we agreed that we will have new "ssiu" on DT. This means "ssi" side expansion is no longer needed.
Of course we need to consider about compatibility then.
Best regards --- Kuninori Morimoto