diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-09-18 19:14:34 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-19 12:58:37 +0100 |
commit | d6604145dfccc3dd9e882dd3d6bd2545c9ff64e9 (patch) | |
tree | fd2e91c439b08ececf57f9b05e4938a62ca1aa8a /Documentation/devicetree/bindings/sound/rt5514.txt | |
parent | 37128514d708457fc060a2309aaa78b057a00043 (diff) | |
download | blackbird-obmc-linux-d6604145dfccc3dd9e882dd3d6bd2545c9ff64e9.tar.gz blackbird-obmc-linux-d6604145dfccc3dd9e882dd3d6bd2545c9ff64e9.zip |
ASoC: rt5514: Add devicetree binding support for rt5514-spi
Add devicetree binding support for rt5514 spi dsp codec.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rt5514.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/rt5514.txt | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt5514.txt b/Documentation/devicetree/bindings/sound/rt5514.txt index 929ca6756b02..4f33b0d96afe 100644 --- a/Documentation/devicetree/bindings/sound/rt5514.txt +++ b/Documentation/devicetree/bindings/sound/rt5514.txt @@ -1,22 +1,27 @@ RT5514 audio CODEC -This device supports I2C only. +This device supports both I2C and SPI. Required properties: - compatible : "realtek,rt5514". -- reg : The I2C address of the device. +- reg : the I2C address of the device for I2C, the chip select + number for SPI. Optional properties: - clocks: The phandle of the master clock to the CODEC - clock-names: Should be "mclk" +- interrupt-parent: The phandle for the interrupt controller. +- interrupts: The interrupt number to the cpu. The interrupt specifier format + depends on the interrupt controller. + - realtek,dmic-init-delay-ms - Set the DMIC initial delay (ms) to wait it ready. + Set the DMIC initial delay (ms) to wait it ready for I2C. -Pins on the device (for linking into audio routes) for RT5514: +Pins on the device (for linking into audio routes) for I2C: * DMIC1L * DMIC1R |