mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
34f5897c59
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 bindings examples. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
30 lines
603 B
Plaintext
30 lines
603 B
Plaintext
WM8741 audio CODEC
|
|
|
|
This device supports both I2C and SPI (configured with pin strapping
|
|
on the board).
|
|
|
|
Required properties:
|
|
|
|
- compatible : "wlf,wm8741"
|
|
|
|
- reg : the I2C address of the device for I2C, the chip select
|
|
number for SPI.
|
|
|
|
Optional properties:
|
|
|
|
- diff-mode: Differential output mode configuration. Default value for field
|
|
DIFF in register R8 (MODE_CONTROL_2). If absent, the default is 0, shall be:
|
|
0 = stereo
|
|
1 = mono left
|
|
2 = stereo reversed
|
|
3 = mono right
|
|
|
|
Example:
|
|
|
|
wm8741: codec@1a {
|
|
compatible = "wlf,wm8741";
|
|
reg = <0x1a>;
|
|
|
|
diff-mode = <3>;
|
|
};
|