diff options
author | Sergej Sawazki <ce3a@gmx.de> | 2015-05-13 12:39:01 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-13 17:51:36 +0300 |
commit | c354b54cfdf63587154da4fa0731c1fbda44c589 (patch) | |
tree | 18ca15a19d1085e8978503c6aa45abcc560fedfc /Documentation/devicetree/bindings/sound/wm8741.txt | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | linux-c354b54cfdf63587154da4fa0731c1fbda44c589.tar.xz |
ASoC: wm8741: Add differential mono mode support
The WM8741 DAC supports several differential output modes (stereo,
stereo reversed, mono left, mono right). Add platform data and DT
bindings to configure it.
Signed-off-by: Sergej Sawazki <ce3a@gmx.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/wm8741.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/wm8741.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/wm8741.txt b/Documentation/devicetree/bindings/sound/wm8741.txt index 74bda58c1bcf..a13315408719 100644 --- a/Documentation/devicetree/bindings/sound/wm8741.txt +++ b/Documentation/devicetree/bindings/sound/wm8741.txt @@ -10,9 +10,20 @@ Required properties: - 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: codec: wm8741@1a { compatible = "wlf,wm8741"; reg = <0x1a>; + + diff-mode = <3>; }; |