xref: /freebsd/sys/contrib/device-tree/Bindings/sound/wm8904.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotWM8904 audio CODEC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis device supports I2C only.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot  - compatible: "wlf,wm8904" or "wlf,wm8912"
7*c66ec88fSEmmanuel Vadot  - reg: the I2C address of the device.
8*c66ec88fSEmmanuel Vadot  - clock-names: "mclk"
9*c66ec88fSEmmanuel Vadot  - clocks: reference to
10*c66ec88fSEmmanuel Vadot    <Documentation/devicetree/bindings/clock/clock-bindings.txt>
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotPins on the device (for linking into audio routes):
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot  * IN1L
15*c66ec88fSEmmanuel Vadot  * IN1R
16*c66ec88fSEmmanuel Vadot  * IN2L
17*c66ec88fSEmmanuel Vadot  * IN2R
18*c66ec88fSEmmanuel Vadot  * IN3L
19*c66ec88fSEmmanuel Vadot  * IN3R
20*c66ec88fSEmmanuel Vadot  * HPOUTL
21*c66ec88fSEmmanuel Vadot  * HPOUTR
22*c66ec88fSEmmanuel Vadot  * LINEOUTL
23*c66ec88fSEmmanuel Vadot  * LINEOUTR
24*c66ec88fSEmmanuel Vadot  * MICBIAS
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotExamples:
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadotcodec: wm8904@1a {
29*c66ec88fSEmmanuel Vadot	compatible = "wlf,wm8904";
30*c66ec88fSEmmanuel Vadot	reg = <0x1a>;
31*c66ec88fSEmmanuel Vadot	clocks = <&pck0>;
32*c66ec88fSEmmanuel Vadot	clock-names = "mclk";
33*c66ec88fSEmmanuel Vadot};
34