Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1733596
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jeffy Chen <jeffy.chen@rock-chips.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v10] ASoC: rt5514: Add devicetree binding support for rt5514-spi |
| Date | Mon, 18 Sep 2017 03:10:01 +0200 |
| Message-ID | <uqSJr-7os-1@gated-at.bofh.it> (permalink) |
| X-Original-To | linux-kernel@vger.kernel.org, dgreid@chromium.org, heiko@sntech.de |
| X-263anti-Spam | KSV:0; |
| X-Mail-Delivery | 1 |
| X-Abs-Checked | 4 |
| X-Rl-Sender | jeffy.chen@rock-chips.com |
| X-Fst-To | linux-kernel@vger.kernel.org |
| X-Sender-IP | 103.29.142.67 |
| X-Login-Name | jeffy.chen@rock-chips.com |
| X-Unique-Tag | <140f69e772ff4425ecb1a3558e2f5fb7> |
| X-Sender | cjf@rock-chips.com |
| X-Mailer | git-send-email 2.11.0 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 57 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | briannorris@chromium.org, mka@chromium.org, dianders@chromium.org, Jeffy Chen <jeffy.chen@rock-chips.com> |
| X-Original-Date | Mon, 18 Sep 2017 09:05:35 +0800 |
| X-Original-Message-ID | <20170918010535.28896-1-jeffy.chen@rock-chips.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1733596 |
Show key headers only | View raw
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v10] ASoC: rt5514: Add devicetree binding support for rt5514-spi Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-09-18 03:10 +0200
csiph-web