mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
6a8f1a2823
According to Devicetree Specification v0.2 document: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model." Do as suggested in the binding example. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
29 lines
704 B
Plaintext
29 lines
704 B
Plaintext
CS42448/CS42888 audio CODEC
|
|
|
|
Required properties:
|
|
|
|
- compatible : must contain one of "cirrus,cs42448" and "cirrus,cs42888"
|
|
|
|
- reg : the I2C address of the device for I2C
|
|
|
|
- clocks : a list of phandles + clock-specifiers, one for each entry in
|
|
clock-names
|
|
|
|
- clock-names : must contain "mclk"
|
|
|
|
- VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device,
|
|
as covered in Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
Example:
|
|
|
|
cs42888: codec@48 {
|
|
compatible = "cirrus,cs42888";
|
|
reg = <0x48>;
|
|
clocks = <&codec_mclk 0>;
|
|
clock-names = "mclk";
|
|
VA-supply = <®_audio>;
|
|
VD-supply = <®_audio>;
|
|
VLS-supply = <®_audio>;
|
|
VLC-supply = <®_audio>;
|
|
};
|