From 70388e3d654d66538012f9b7261f4d890c682cdd Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Wed, 25 Jul 2018 13:42:50 +0800 Subject: 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 Reviewed-by: Viorel Suman --- Documentation/devicetree/bindings/sound/fsl,rpmsg-i2s.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/sound/fsl,rpmsg-i2s.txt b/Documentation/devicetree/bindings/sound/fsl,rpmsg-i2s.txt index f38cf9d90500..fd62b0d444a8 100644 --- a/Documentation/devicetree/bindings/sound/fsl,rpmsg-i2s.txt +++ b/Documentation/devicetree/bindings/sound/fsl,rpmsg-i2s.txt @@ -7,6 +7,7 @@ serial interfaces with frame synchronization such as I2S. Required properties: - compatible : Compatible list, contains "fsl,imx7ulp-rpmsg-i2s". + "fsl,imx8mq-rpmsg-i2s" - fsl,audioindex : This is an index indicating the audio device index in the M4 side. -- cgit v1.2.3