summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-pcm-rpmsg.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2018-07-25 13:42:50 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:53:00 +0800
commit093cb51e6f5378402280a4d0d9179d72edc1a68f (patch)
tree2664a4143fbff94e9f25af5c7c325f23512562f0 /sound/soc/fsl/imx-pcm-rpmsg.c
parentce72f6da781e551d349100164c03cc398be38888 (diff)
MLK-19042-1: ASoC: fsl_rpmsg_i2s: support low power audio
Add two new message command I2S_TX_POINTER and I2S_RX_POINTER, which are used to get the hw pointer in m4 side. For in low power audio mode, m4 won't send notification every period, the notification only be sent when hw pointer reach end of buffer, so we need these command to get the position of hw pointer, user can use it to calculate the timestamp. Restructure send message and recv message together for i2s_rpmsg, that every send message has a recv message. so the i2s_send_message can store the recv message indepedently. one reason is that the receive message is async withe send message. The low power audio is disabled in default, user need to enabled it by add "fsl,enable-lpa" in dts. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com> (cherry picked from commit 753e7b819609ad4791e32069a124d4411c720947)
Diffstat (limited to 'sound/soc/fsl/imx-pcm-rpmsg.c')
0 files changed, 0 insertions, 0 deletions