From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: broonie@kernel.org, vkoul@kernel.org
Cc: robh+dt@kernel.org, devicetree@vger.kernel.org,
mark.rutland@arm.com, pierre-louis.bossart@linux.intel.com,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
bgoswami@quicinc.com,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [RFC PATCH 4/5] dt-bindings: ASoC: Add WSA881x bindings
Date: Tue, 11 Jun 2019 11:40:42 +0100 [thread overview]
Message-ID: <20190611104043.22181-5-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <20190611104043.22181-1-srinivas.kandagatla@linaro.org>
This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker
Amplifier. This Amplifier also has a simple thermal sensor for
over temperature and speaker protection.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
.../bindings/sound/qcom,wsa881x.txt | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa881x.txt
diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa881x.txt b/Documentation/devicetree/bindings/sound/qcom,wsa881x.txt
new file mode 100644
index 000000000000..582db402a482
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/qcom,wsa881x.txt
@@ -0,0 +1,27 @@
+Bindings for Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier
+
+WSA8810 is a class-D smart speaker amplifier and WSA8815 is a high-output
+power class-D smart speaker amplifier. This amplifier uses SoundWire
+digital audio as primary interface.
+
+Required properties with SoundWire Interface:
+
+- compatible: Should be textual representation of SoundWire Enumeration
+ address.
+ Refer to soundwire/bus.txt for details.
+ Should be "sdw10,0217,2010,0" for WSA8810
+- sdw-instance-id: Should be ('Instance ID') from SoundWire Enumeration
+ address.
+ Refer to soundwire/bus.txt for details.
+- pd-gpios: Should be phandle and gpio pair for
+ Powerdown/Shutdown pin.
+- #thermal-sensor-cells: Should be 0
+
+Example:
+
+spkr_left:wsa8810-left{
+ compatible = "sdw10,0217,2010,0";
+ sdw-instance-id = <1>;
+ #thermal-sensor-cells = <0>;
+ ...
+};
--
2.21.0
next prev parent reply other threads:[~2019-06-11 10:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-11 10:40 [RFC PATCH 0/5] ASoC: codecs: Add WSA881x Smart Speaker amplifier support Srinivas Kandagatla
2019-06-11 10:40 ` [RFC PATCH 1/5] dt-bindings: soundwire: add slave bindings Srinivas Kandagatla
2019-07-01 6:11 ` Vinod Koul
2019-07-02 8:22 ` Srinivas Kandagatla
2019-07-02 9:45 ` Vinod Koul
2019-06-11 10:40 ` [RFC PATCH 2/5] soundwire: core: add device tree support for slave devices Srinivas Kandagatla
2019-07-01 6:17 ` Vinod Koul
2019-07-02 8:22 ` Srinivas Kandagatla
2019-06-11 10:40 ` [RFC PATCH 3/5] soundwire: add module_sdw_driver helper macro Srinivas Kandagatla
2019-07-01 6:23 ` Vinod Koul
2019-06-11 10:40 ` Srinivas Kandagatla [this message]
2019-06-11 10:40 ` [RFC PATCH 5/5] ASoC: codecs: add wsa881x amplifier support Srinivas Kandagatla
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=20190611104043.22181-5-srinivas.kandagatla@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=bgoswami@quicinc.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=robh+dt@kernel.org \
--cc=vkoul@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).