xref: /freebsd/sys/contrib/device-tree/Bindings/sound/qcom,q6adm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotQualcomm Audio Device Manager (Q6ADM) binding
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotQ6ADM is one of the APR audio service on Q6DSP.
4*c66ec88fSEmmanuel VadotPlease refer to qcom,apr.txt for details of the coommon apr service bindings
5*c66ec88fSEmmanuel Vadotused by the apr service device.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot- but must contain the following property:
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- compatible:
10*c66ec88fSEmmanuel Vadot	Usage: required
11*c66ec88fSEmmanuel Vadot	Value type: <stringlist>
12*c66ec88fSEmmanuel Vadot	Definition: must be "qcom,q6adm-v<MAJOR-NUMBER>.<MINOR-NUMBER>".
13*c66ec88fSEmmanuel Vadot		   Or "qcom,q6adm" where the version number can be queried
14*c66ec88fSEmmanuel Vadot		   from DSP.
15*c66ec88fSEmmanuel Vadot		   example "qcom,q6adm-v2.0"
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot= ADM routing
19*c66ec88fSEmmanuel Vadot"routing" subnode of the ADM node represents adm routing specific configuration
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot- compatible:
22*c66ec88fSEmmanuel Vadot	Usage: required
23*c66ec88fSEmmanuel Vadot	Value type: <stringlist>
24*c66ec88fSEmmanuel Vadot	Definition: must be "qcom,q6adm-routing".
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot- #sound-dai-cells
27*c66ec88fSEmmanuel Vadot	Usage: required
28*c66ec88fSEmmanuel Vadot	Value type: <u32>
29*c66ec88fSEmmanuel Vadot	Definition: Must be 0
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot= EXAMPLE
32*c66ec88fSEmmanuel Vadotapr-service@8 {
33*c66ec88fSEmmanuel Vadot	compatible = "qcom,q6adm";
34*c66ec88fSEmmanuel Vadot	reg = <APR_SVC_ADM>;
35*c66ec88fSEmmanuel Vadot	q6routing: routing {
36*c66ec88fSEmmanuel Vadot		compatible = "qcom,q6adm-routing";
37*c66ec88fSEmmanuel Vadot		#sound-dai-cells = <0>;
38*c66ec88fSEmmanuel Vadot	};
39*c66ec88fSEmmanuel Vadot};
40