diff mbox series

[v4,1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm & imx8qxp

Message ID 45ef9ee8c6265743a9c30d8e4d9dcbac1ee3aabe.1575286886.git.shengjiu.wang@nxp.com
State Superseded
Headers show
Series [v4,1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm & imx8qxp | expand

Commit Message

Shengjiu Wang Dec. 2, 2019, 11:53 a.m. UTC
Add compatible string "fsl,imx8qm-asrc" for imx8qm platform,
"fsl,imx8qxp-asrc" for imx8qxp platform.

There are two asrc modules in imx8qm & imx8qxp, 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".

changes in v4
-add "fsl,imx8qxp-asrc"

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

-- 
2.21.0

Comments

Shengjiu Wang Dec. 4, 2019, 8:28 a.m. UTC | #1
Hi

On Mon, Dec 2, 2019 at 8:58 PM Fabio Estevam <festevam@gmail.com> wrote:
>

> On Mon, Dec 2, 2019 at 8:56 AM Shengjiu Wang <shengjiu.wang@nxp.com> wrote:

>

> > -  - compatible         : Contains "fsl,imx35-asrc" or "fsl,imx53-asrc".

> > +  - compatible         : Contains "fsl,imx35-asrc", "fsl,imx53-asrc",

> > +                         "fsl,imx8qm-asrc", "fsl,imx8qxp-asrc"

>

> You missed the word "or" as in the original binding.


will update it in v5.

Best regards
Wang Shengjiu
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/fsl,asrc.txt b/Documentation/devicetree/bindings/sound/fsl,asrc.txt
index 1d4d9f938689..f4481779e8f2 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", "fsl,imx8qxp-asrc"
 
   - reg			: Offset and length of the register set for the device.
 
@@ -35,6 +36,11 @@  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/imx8qxp
+			  <1> - select the map for asrc1 in imx8qm/imx8qxp
+
 Optional properties:
 
    - big-endian		: If this property is absent, the little endian mode