Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1734892

[PATCH v3 5/5] ASoC: rt5514: Add devicetree binding support for rt5514-spi

From Jeffy Chen <jeffy.chen@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v3 5/5] ASoC: rt5514: Add devicetree binding support for rt5514-spi
Date 2017-09-19 15:00 +0200
Message-ID <urqi6-5B6-19@gated-at.bofh.it> (permalink)
References <urqi5-5B6-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add devicetree binding support for rt5514 spi dsp codec.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---

Changes in v3: None
Changes in v2: None

 Documentation/devicetree/bindings/sound/rt5514.txt | 13 +++++++++----
 1 file 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
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/5] This series of patches fix the boot time dapm route warnings(without rt5514): Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-09-19 15:00 +0200
  [PATCH v3 4/5] ASoC: rockchip: Use bus_type to distinguish rt5514 dsp from rt5514 codec Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-09-19 15:00 +0200
    Applied "ASoC: rockchip: Use bus_type to distinguish rt5514 dsp from rt5514 codec" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-09-19 15:50 +0200
  [PATCH v3 5/5] ASoC: rt5514: Add devicetree binding support for rt5514-spi Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-09-19 15:00 +0200
  [PATCH v3 1/5] ASoC: rockchip: Add dapm route for HDMI Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-09-19 15:00 +0200
  [PATCH v3 3/5] ASoC: rockchip: Init dapm routes dynamically Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-09-19 15:00 +0200
  [PATCH v3 2/5] ASoC: rockchip: Add dapm route for DMic Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-09-19 15:00 +0200

csiph-web