devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm
@ 2019-11-11  9:18 Shengjiu Wang
  2019-11-11  9:18 ` [PATCH V3 2/2] ASoC: fsl_asrc: Add support " Shengjiu Wang
  2019-11-14 21:12 ` [PATCH V3 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string " Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Shengjiu Wang @ 2019-11-11  9:18 UTC (permalink / raw)
  To: timur, nicoleotsuka, Xiubo.Lee, festevam, lgirdwood, broonie,
	perex, tiwai, alsa-devel, linuxppc-dev, linux-kernel, robh+dt,
	mark.rutland, devicetree

Add compatible string "fsl,imx8qm-asrc" for imx8qm platform.

There are two asrc modules in imx8qm, the clock mapping is
different for each other, so add new property "fsl,asrc-clk-map"
to distinguish them.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
changes in v2
-none

changes in v3
-use only one compatible string "fsl,imx8qm-asrc",
-add new property "fsl,asrc-clk-map".

 Documentation/devicetree/bindings/sound/fsl,asrc.txt | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/sound/fsl,asrc.txt b/Documentation/devicetree/bindings/sound/fsl,asrc.txt
index 1d4d9f938689..02edab7cf3e0 100644
--- a/Documentation/devicetree/bindings/sound/fsl,asrc.txt
+++ b/Documentation/devicetree/bindings/sound/fsl,asrc.txt
@@ -8,7 +8,8 @@ three substreams within totally 10 channels.
 
 Required properties:
 
-  - compatible		: Contains "fsl,imx35-asrc" or "fsl,imx53-asrc".
+  - compatible		: Contains "fsl,imx35-asrc", "fsl,imx53-asrc",
+			  "fsl,imx8qm-asrc".
 
   - reg			: Offset and length of the register set for the device.
 
@@ -35,6 +36,13 @@ Required properties:
 
    - fsl,asrc-width	: Defines a mutual sample width used by DPCM Back Ends.
 
+   - fsl,asrc-clk-map   : Defines clock map used in driver. which is required
+			  by imx8qm/imx8qxp platform
+			  <0> - select the map for asrc0 in imx8qm
+			  <1> - select the map for asrc1 in imx8qm
+			  <2> - select the map for asrc0 in imx8qxp
+			  <3> - select the map for asrc1 in imx8qxp
+
 Optional properties:
 
    - big-endian		: If this property is absent, the little endian mode
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-15  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11  9:18 [PATCH V3 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm Shengjiu Wang
2019-11-11  9:18 ` [PATCH V3 2/2] ASoC: fsl_asrc: Add support " Shengjiu Wang
2019-11-13 21:27   ` Nicolin Chen
2019-11-14 21:12 ` [PATCH V3 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string " Rob Herring
2019-11-15  2:11   ` [alsa-devel] " Shengjiu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).