* [PATCH v10] ASoC: rt5514: Add devicetree binding support for rt5514-spi
@ 2017-09-18 1:05 Jeffy Chen
0 siblings, 0 replies; only message in thread
From: Jeffy Chen @ 2017-09-18 1:05 UTC (permalink / raw)
To: linux-kernel, dgreid, heiko; +Cc: briannorris, mka, dianders, Jeffy Chen
Add devicetree binding support for rt5514 spi dsp codec.
Also update rt5514 i2c dt-binding's compatible to distinguish it from
rt5514 spi.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
Changes in v10:
Put rt5514-i2c doc & rt5514-spi doc together.
Changes in v9:
Address comments from Brian.
Documentation/devicetree/bindings/sound/rt5514.txt | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/rt5514.txt b/Documentation/devicetree/bindings/sound/rt5514.txt
index 929ca6756b02..a4db31f72338 100644
--- a/Documentation/devicetree/bindings/sound/rt5514.txt
+++ b/Documentation/devicetree/bindings/sound/rt5514.txt
@@ -1,22 +1,28 @@
RT5514 audio CODEC
-This device supports I2C only.
+This device supports both I2C and SPI.
Required properties:
-- compatible : "realtek,rt5514".
+- compatible : "realtek,rt5514" or "realtek,rt5514", "realtek,rt5514-i2c" for
+ I2C or "realtek,rt5514", "realtek,rt5514-spi" for SPI.
-- 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
--
2.11.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-18 1:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18 1:05 [PATCH v10] ASoC: rt5514: Add devicetree binding support for rt5514-spi Jeffy Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®