All of lore.kernel.org
 help / color / mirror / Atom feed
From: simon.ho.cnxt@gmail.com
To: alsa-devel@alsa-project.org
Cc: Simon Ho <simon.ho@conexant.com>,
	tiwai@suse.com, broonie@kernel.org, lgirdwood@gmail.com
Subject: [PATCH 1/2] ASoC: cx2092x: Add DT bingings doc for CX2092X DSP
Date: Sat, 18 Feb 2017 22:26:30 +0800	[thread overview]
Message-ID: <1487427991-18174-2-git-send-email-simon.ho@conexant.com> (raw)
In-Reply-To: <1487427991-18174-1-git-send-email-simon.ho@conexant.com>

From: Simon Ho <simon.ho@conexant.com>

Initial version of CX2092X device tree bindings document.

Signed-off-by: Simon Ho <simon.ho@conexant.com>
---
 .../devicetree/bindings/sound/cx2092x.txt          | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/cx2092x.txt

diff --git a/Documentation/devicetree/bindings/sound/cx2092x.txt b/Documentation/devicetree/bindings/sound/cx2092x.txt
new file mode 100644
index 0000000..cb61cfc
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/cx2092x.txt
@@ -0,0 +1,30 @@
+Conexant CX20921/CX209724 Voice Processor SoC
+
+The devices supports both the I2C and SPI bus.
+
+Required properties:
+
+  - compatible : One of "cnxt,cx20921", "cnxt,cx20924".
+  - reg : the I2C address of the device for I2C, it should be <0x41>
+
+Optional properties:
+
+  - reset-gpio:  A GPIO spec to define which pin is connected to the chip's
+                 !RESET pin. If specified, the driver will assert a hardware
+                 reset at probe time.
+
+CODEC input pins:
+  "MIC"       - Microphone input
+
+
+Example:
+
+codec_i2c: cx20921@41 {
+        compatible = "cnxt,cx20921";
+        reg = <0x41>;
+        reset-gpio = <&gpio 23 0>;
+};
+
+codec_spi: cx20924@0 {
+        compatible = "cnxt,cx20924";
+};
-- 
2.7.4

  reply	other threads:[~2017-02-18 14:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-18 14:26 [PATCH 0/2] ASoC: add driver support for Conexant CX2092X DSP simon.ho.cnxt
2017-02-18 14:26 ` simon.ho.cnxt [this message]
2017-02-19 16:20   ` [PATCH 1/2] ASoC: cx2092x: Add DT bingings doc for " Mark Brown
2017-02-20  1:42     ` Simon Ho
2017-02-18 14:26 ` [PATCH 2/2] ASoC: Add driver for CX2092X I2S Audio DSP simon.ho.cnxt
2017-02-19 16:27   ` Mark Brown
2017-02-20  2:33     ` Simon Ho
2017-02-21 18:55       ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487427991-18174-2-git-send-email-simon.ho@conexant.com \
    --to=simon.ho.cnxt@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=simon.ho@conexant.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.