From: Miquel Raynal <miquel.raynal@bootlin•com>
To: Liam Girdwood <lgirdwood@gmail•com>,
Mark Brown <broonie@kernel•org>, Jaroslav Kysela <perex@perex•cz>,
Takashi Iwai <tiwai@suse•com>
Cc: Mark Rutland <mark.rutland@arm•com>,
devicetree@vger•kernel.org, alsa-devel@alsa-project•org,
Michal Simek <michal.simek@xilinx•com>,
Rob Herring <robh+dt@kernel•org>,
Thomas Petazzoni <thomas.petazzoni@bootlin•com>,
Miquel Raynal <miquel.raynal@bootlin•com>,
alexandre@bootlin•com, linux-arm-kernel@lists•infradead.org
Subject: [PATCH 2/3] dt-bindings: sound: Add Xilinx logicPD-I2S FPGA IP bindings
Date: Fri, 30 Aug 2019 23:06:06 +0200 [thread overview]
Message-ID: <20190830210607.22644-2-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20190830210607.22644-1-miquel.raynal@bootlin.com>
Document the logicPD I2S FPGA block bindings in yaml.
Syntax verified with dt-doc-validate.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin•com>
---
.../bindings/sound/xlnx,logicpd-i2s.yaml | 57 +++++++++++++++++++
1 file changed, 57 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/xlnx,logicpd-i2s.yaml
diff --git a/Documentation/devicetree/bindings/sound/xlnx,logicpd-i2s.yaml b/Documentation/devicetree/bindings/sound/xlnx,logicpd-i2s.yaml
new file mode 100644
index 000000000000..cbff641af199
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/xlnx,logicpd-i2s.yaml
@@ -0,0 +1,57 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/xlnx,logicpd-i2s.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Device-Tree bindings for Xilinx logicPD I2S FPGA block
+
+maintainers:
+ - Miquel Raynal <miquel.raynal@bootlin•com>
+
+description: |
+ The IP supports I2S playback/capture audio. It acts as a slave and
+ clocks should come from the codec. It only supports two channels and
+ S16_LE format.
+
+properties:
+ compatible:
+ items:
+ - const: xlnx,logicpd-i2s
+
+ reg:
+ maxItems: 1
+ description:
+ Base address and size of the IP core instance.
+
+ interrupts:
+ minItems: 1
+ maxItems: 2
+ items:
+ - description: tx interrupt
+ - description: rx interrupt
+ description:
+ Either the Tx interruption or the Rx interruption or both.
+
+ interrupt-names:
+ minItems: 1
+ maxItems: 2
+ items:
+ - const: tx
+ - const: rx
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - interrupts-controller
+
+examples:
+ - |
+ logii2s_dai: logii2s-dai@43c10000 {
+ reg = <0x43c10000 0x1000>;
+ compatible = "xlnx,logicpd-i2s-dai";
+ interrupt-parent = <&intc>;
+ interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>, <0 30 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx", "tx";
+ };
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-08-30 21:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 21:06 [PATCH 1/3] ASoC: xlnx: add Xilinx logicPD-I2S FPGA IP support Miquel Raynal
2019-08-30 21:06 ` Miquel Raynal [this message]
2019-09-02 13:39 ` [PATCH 2/3] dt-bindings: sound: Add Xilinx logicPD-I2S FPGA IP bindings Rob Herring
2019-09-02 13:51 ` Miquel Raynal
2019-09-02 14:24 ` Rob Herring
2019-08-30 21:06 ` [PATCH 3/3] MAINTAINERS: Add an entry for the Xilinx logicPD-I2S block Miquel Raynal
2019-09-02 7:39 ` [PATCH 1/3] ASoC: xlnx: add Xilinx logicPD-I2S FPGA IP support Michal Simek
2019-09-02 20:21 ` Miquel Raynal
2019-09-03 6:51 ` Michal Simek
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=20190830210607.22644-2-miquel.raynal@bootlin.com \
--to=miquel.raynal@bootlin$(echo .)com \
--cc=alexandre@bootlin$(echo .)com \
--cc=alsa-devel@alsa-project$(echo .)org \
--cc=broonie@kernel$(echo .)org \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=lgirdwood@gmail$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=mark.rutland@arm$(echo .)com \
--cc=michal.simek@xilinx$(echo .)com \
--cc=perex@perex$(echo .)cz \
--cc=robh+dt@kernel$(echo .)org \
--cc=thomas.petazzoni@bootlin$(echo .)com \
--cc=tiwai@suse$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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