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

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

dt-bindings: sound: Document jz4725b-codec bindings



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

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

Required properties:
- compatible : "ingenic,jz4725b-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@100200a4 {
	compatible = "ingenic,jz4725b-codec";
	reg = <0x100200a4 0x8>;

	#sound-dai-cells = <0>;

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