forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/Documentation/devicetree/bindings/sound/fsl,asrc.txt
....@@ -8,7 +8,12 @@
88
99 Required properties:
1010
11
- - compatible : Contains "fsl,imx35-asrc" or "fsl,imx53-asrc".
11
+ - compatible : Compatible list, should contain one of the following
12
+ compatibles:
13
+ "fsl,imx35-asrc",
14
+ "fsl,imx53-asrc",
15
+ "fsl,imx8qm-asrc",
16
+ "fsl,imx8qxp-asrc",
1217
1318 - reg : Offset and length of the register set for the device.
1419
....@@ -35,12 +40,21 @@
3540
3641 - fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends.
3742
43
+ - fsl,asrc-clk-map : Defines clock map used in driver. which is required
44
+ by imx8qm/imx8qxp platform
45
+ <0> - select the map for asrc0 in imx8qm/imx8qxp
46
+ <1> - select the map for asrc1 in imx8qm/imx8qxp
47
+
3848 Optional properties:
3949
4050 - big-endian : If this property is absent, the little endian mode
4151 will be in use as default. Otherwise, the big endian
4252 mode will be in use for all the device registers.
4353
54
+ - fsl,asrc-format : Defines a mutual sample format used by DPCM Back
55
+ Ends, which can replace the fsl,asrc-width.
56
+ The value is 2 (S16_LE), or 6 (S24_LE).
57
+
4458 Example:
4559
4660 asrc: asrc@2034000 {