Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 7c536bad authored by Paul Cercueil's avatar Paul Cercueil Committed by Mark Brown
Browse files

dt-bindings: sound: Document jz4740-codec bindings



Add documentation about how to probe the jz4740-codec driver from
devicetree.

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 67690c28
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
Ingenic JZ4740 codec controller

Required properties:
- compatible : "ingenic,jz4740-codec"
- reg : codec registers location and length
- clocks : phandle to the AIC clock.
- clock-names: must be set to "aic".
- #sound-dai-cells: Must be set to 0.

Example:

codec: audio-codec@10020080 {
	compatible = "ingenic,jz4740-codec";
	reg = <0x10020080 0x8>;

	#sound-dai-cells = <0>;

	clocks = <&cgu JZ4740_CLK_AIC>;
	clock-names = "aic";
};