xref: /freebsd/sys/contrib/device-tree/Bindings/sound/qcom,msm8916-wcd-digital.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadotmsm8916 digital audio CODEC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel Vadot## Bindings for codec core in lpass:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties
6*c66ec88fSEmmanuel Vadot - compatible = "qcom,msm8916-wcd-digital-codec";
7*c66ec88fSEmmanuel Vadot - reg: address space for lpass codec.
8*c66ec88fSEmmanuel Vadot - clocks: Handle to mclk and ahbclk
9*c66ec88fSEmmanuel Vadot - clock-names: should be "mclk", "ahbix-clk".
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadotaudio-codec@771c000{
14*c66ec88fSEmmanuel Vadot	compatible = "qcom,msm8916-wcd-digital-codec";
15*c66ec88fSEmmanuel Vadot	reg = <0x0771c000 0x400>;
16*c66ec88fSEmmanuel Vadot	clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
17*c66ec88fSEmmanuel Vadot		 <&gcc GCC_CODEC_DIGCODEC_CLK>;
18*c66ec88fSEmmanuel Vadot	clock-names = "ahbix-clk", "mclk";
19*c66ec88fSEmmanuel Vadot	#sound-dai-cells = <1>;
20*c66ec88fSEmmanuel Vadot};
21