Skip to content

Commit 9708e52

Browse files
author
Codrin Ciubotariu
committed
ASoC: mikroe-proto: dt-bindings: add DT bindings for PROTO board
DT binding documentation for this new ASoC driver. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
1 parent 29023ce commit 9708e52

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Mikroe-PROTO audio board
2+
3+
Required properties:
4+
- compatible: "mikroe,mikroe-proto"
5+
- dai-format: Must be "i2s".
6+
- i2s-controller: The phandle of the I2S controller.
7+
- audio-codec: The phandle of the WM8731 audio codec.
8+
Optional properties:
9+
- model: The user-visible name of this sound complex.
10+
- bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1).
11+
- frame-master: Indicates dai-link frame master; for details see simple-card.txt (1).
12+
13+
(1) : There must be the same master for both bit and frame clocks.
14+
15+
Example:
16+
sound {
17+
compatible = "mikroe,mikroe-proto";
18+
model = "wm8731 @ sama5d2_xplained";
19+
i2s-controller = <&i2s0>;
20+
audio-codec = <&wm8731>;
21+
dai-format = "i2s";
22+
};
23+
};

Documentation/devicetree/bindings/vendor-prefixes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ micrel Micrel Inc.
206206
microchip Microchip Technology Inc.
207207
microcrystal Micro Crystal AG
208208
micron Micron Technology Inc.
209+
mikroe MikroElektronika d.o.o.
209210
minix MINIX Technology Ltd.
210211
miramems MiraMEMS Sensing Technology Co., Ltd.
211212
mitsubishi Mitsubishi Electric Corporation

0 commit comments

Comments
 (0)