diff options
author | Bard Liao <bardliao@realtek.com> | 2017-07-14 14:25:52 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-18 14:46:20 +0100 |
commit | c7e79b2b2d2d7c13c6162ed8672357f4ad0fd8f5 (patch) | |
tree | 5a8002c1be6abd80e1c130bc5b0ed942b16cea14 /Documentation/devicetree/bindings/sound/rt274.txt | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | talos-obmc-linux-c7e79b2b2d2d7c13c6162ed8672357f4ad0fd8f5.tar.gz talos-obmc-linux-c7e79b2b2d2d7c13c6162ed8672357f4ad0fd8f5.zip |
ASoC: rt274: add rt274 codec driver
RT274 is a HD-A/SOC dual mode codec. This is the initial codec driver
of SOC mode.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rt274.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/rt274.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt274.txt b/Documentation/devicetree/bindings/sound/rt274.txt new file mode 100644 index 000000000000..e9a6178c78cf --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rt274.txt @@ -0,0 +1,33 @@ +RT274 audio CODEC + +This device supports I2C only. + +Required properties: + +- compatible : "realtek,rt274". + +- reg : The I2C address of the device. + +Optional properties: + +- interrupts : The CODEC's interrupt output. + + +Pins on the device (for linking into audio routes) for RT274: + + * DMIC1 Pin + * DMIC2 Pin + * MIC + * LINE1 + * LINE2 + * HPO Pin + * SPDIF + * LINE3 + +Example: + +codec: rt274@1c { + compatible = "realtek,rt274"; + reg = <0x1c>; + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; +}; |