diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2018-08-31 20:14:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-03 14:41:27 +0100 |
commit | 85e16fdd2f25ef6b08b4275acd5f60fdccfe0973 (patch) | |
tree | 782d7cbff72856d8c046e0e4bdc61fb2c8873ec4 /Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt | |
parent | a45f8853a5f95e3760dfbd7ba09d3d597d247040 (diff) | |
download | lwn-85e16fdd2f25ef6b08b4275acd5f60fdccfe0973.tar.gz lwn-85e16fdd2f25ef6b08b4275acd5f60fdccfe0973.zip |
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt b/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt new file mode 100644 index 000000000000..912f8fae11c5 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt @@ -0,0 +1,23 @@ +Mikroe-PROTO audio board + +Required properties: + - compatible: "mikroe,mikroe-proto" + - dai-format: Must be "i2s". + - i2s-controller: The phandle of the I2S controller. + - audio-codec: The phandle of the WM8731 audio codec. +Optional properties: + - model: The user-visible name of this sound complex. + - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1). + - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1). + +(1) : There must be the same master for both bit and frame clocks. + +Example: + sound { + compatible = "mikroe,mikroe-proto"; + model = "wm8731 @ sama5d2_xplained"; + i2s-controller = <&i2s0>; + audio-codec = <&wm8731>; + dai-format = "i2s"; + }; +}; |