diff options
author | Jacob Siverskog <jacob@teenage.engineering> | 2016-01-22 15:39:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-29 02:36:21 +0300 |
commit | 70e3e56e6c3d499be47322037ed4a42314a8e509 (patch) | |
tree | 08a466c428c81e4e45f5c7263cf7ec742264e784 /Documentation/devicetree/bindings/sound/pcm179x.txt | |
parent | 1b347b6891335a30131899dd16ec6ca843c578f0 (diff) | |
download | linux-70e3e56e6c3d499be47322037ed4a42314a8e509.tar.xz |
ASoC: pcm179x: Add I2C interface driver
The PCM179x family supports both SPI and I2C. This patch adds support
for the I2C interface.
Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
Reviewed-by: Johan Hovold <johan@kernel.org>
Acked-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/pcm179x.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/pcm179x.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/pcm179x.txt b/Documentation/devicetree/bindings/sound/pcm179x.txt index 4ae70d3462d6..436c2b247693 100644 --- a/Documentation/devicetree/bindings/sound/pcm179x.txt +++ b/Documentation/devicetree/bindings/sound/pcm179x.txt @@ -1,6 +1,6 @@ Texas Instruments pcm179x DT bindings -This driver supports the SPI bus. +This driver supports both the I2C and SPI bus. Required properties: @@ -9,6 +9,11 @@ Required properties: For required properties on SPI, please consult Documentation/devicetree/bindings/spi/spi-bus.txt +Required properties on I2C: + + - reg: the I2C address + + Examples: codec_spi: 1792a@0 { @@ -16,3 +21,7 @@ Examples: spi-max-frequency = <600000>; }; + codec_i2c: 1792a@4c { + compatible = "ti,pcm1792a"; + reg = <0x4c>; + }; |