From: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
To: <broonie@kernel.org>, <alsa-devel@alsa-project.org>,
<devicetree@vger.kernel.org>, <robh@kernel.org>
Cc: <mihai.serban@gmail.com>, <linux-imx@nxp.com>,
<shegjiu.wang@nxp.com>, <daniel.baluta@nxp.com>,
<linux-kernel@vger.kernel.org>,
Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>,
Junichi Wakasugi <wakasugi.jb@om.asahi-kasei.co.jp>,
Mihai Serban <mihai.serban@nxp.com>,
Shengjiu Wang <shengjiu.wang@nxp.com>
Subject: [PATCH v2 2/2] ASoC: ak4458: Add bindings for AK4458 DAC
Date: Tue, 13 Feb 2018 16:14:48 +0200 [thread overview]
Message-ID: <1518531288-2017-3-git-send-email-cosmin.samoila@nxp.com> (raw)
In-Reply-To: <1518531288-2017-1-git-send-email-cosmin.samoila@nxp.com>
Signed-off-by: Junichi Wakasugi <wakasugi.jb@om.asahi-kasei.co.jp>
Signed-off-by: Mihai Serban <mihai.serban@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
---
Documentation/devicetree/bindings/sound/ak4458.txt | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/ak4458.txt
diff --git a/Documentation/devicetree/bindings/sound/ak4458.txt b/Documentation/devicetree/bindings/sound/ak4458.txt
new file mode 100644
index 0000000..9bab245
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ak4458.txt
@@ -0,0 +1,23 @@
+AK4458 audio DAC
+
+This device supports both I2C and SPI modes.
+
+Required properties:
+
+- compatible : "asahi-kasei,ak4458"
+- reg : The I2C address of the device for I2C, the chip select number for SPI.
+
+Optional properties:
+- reset-gpios: A GPIO specifier for the power down & reset pin
+- mute-gpios: A GPIO specifier for the soft mute pin
+
+Example:
+
+&i2c {
+ ak4458: dac@10 {
+ compatible = "asahi-kasei,ak4458";
+ reg = <0x10>;
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>
+ mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>
+ };
+};
--
2.7.4
next prev parent reply other threads:[~2018-02-13 16:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-13 14:14 [PATCH v2 0/2] Add support " Cosmin-Gabriel Samoila
2018-02-13 14:14 ` [PATCH v2 1/2] ASoC: codecs: Add support for AK4458 DAC driver Cosmin-Gabriel Samoila
2018-02-13 14:14 ` Cosmin-Gabriel Samoila [this message]
2018-02-13 18:32 ` [PATCH v2 0/2] Add support for AK4458 DAC Andy Shevchenko
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=1518531288-2017-3-git-send-email-cosmin.samoila@nxp.com \
--to=cosmin.samoila@nxp.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mihai.serban@gmail.com \
--cc=mihai.serban@nxp.com \
--cc=robh@kernel.org \
--cc=shegjiu.wang@nxp.com \
--cc=shengjiu.wang@nxp.com \
--cc=wakasugi.jb@om.asahi-kasei.co.jp \
/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 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®