xref: /linux/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*85e16fddSCodrin CiubotariuMikroe-PROTO audio board
2*85e16fddSCodrin Ciubotariu
3*85e16fddSCodrin CiubotariuRequired properties:
4*85e16fddSCodrin Ciubotariu  - compatible: "mikroe,mikroe-proto"
5*85e16fddSCodrin Ciubotariu  - dai-format: Must be "i2s".
6*85e16fddSCodrin Ciubotariu  - i2s-controller: The phandle of the I2S controller.
7*85e16fddSCodrin Ciubotariu  - audio-codec: The phandle of the WM8731 audio codec.
8*85e16fddSCodrin CiubotariuOptional properties:
9*85e16fddSCodrin Ciubotariu  - model: The user-visible name of this sound complex.
10*85e16fddSCodrin Ciubotariu  - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1).
11*85e16fddSCodrin Ciubotariu  - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1).
12*85e16fddSCodrin Ciubotariu
13*85e16fddSCodrin Ciubotariu(1) : There must be the same master for both bit and frame clocks.
14*85e16fddSCodrin Ciubotariu
15*85e16fddSCodrin CiubotariuExample:
16*85e16fddSCodrin Ciubotariu	sound {
17*85e16fddSCodrin Ciubotariu		compatible = "mikroe,mikroe-proto";
18*85e16fddSCodrin Ciubotariu		model = "wm8731 @ sama5d2_xplained";
19*85e16fddSCodrin Ciubotariu		i2s-controller = <&i2s0>;
20*85e16fddSCodrin Ciubotariu		audio-codec = <&wm8731>;
21*85e16fddSCodrin Ciubotariu		dai-format = "i2s";
22*85e16fddSCodrin Ciubotariu        };
23*85e16fddSCodrin Ciubotariu};
24