From: Tzung-Bi Shih <tzungbi@google.com>
To: broonie@kernel.org
Cc: jack.yu@realtek.com, alsa-devel@alsa-project.org, tzungbi@google.com
Subject: [PATCH 2/2] ASoC: dt-bindings: rt1015p: add document
Date: Thu, 10 Sep 2020 12:29:49 +0800 [thread overview]
Message-ID: <20200910042949.3795682-3-tzungbi@google.com> (raw)
In-Reply-To: <20200910042949.3795682-1-tzungbi@google.com>
Adds DT binding document for rt1015p.
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
---
.../bindings/sound/realtek,rt1015p.yaml | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml
diff --git a/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml b/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml
new file mode 100644
index 000000000000..def1db298eac
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/realtek,rt1015p.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Realtek rt1015p codec devicetree bindings
+
+maintainers:
+ - Tzung-Bi Shih <tzungbi@google.com>
+
+description: |
+ Rt1015p is a rt1015 variant which does not support I2C and
+ only supports S24, 48kHz, 64FS.
+
+properties:
+ compatible:
+ const: realtek,rt1015p
+
+ sdb-gpios:
+ description:
+ GPIO used for shutdown control.
+ 0 means shut down; 1 means power on.
+ maxItems: 1
+
+required:
+ - compatible
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ rt1015p: rt1015p {
+ compatible = "realtek,rt1015p";
+ sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>;
+ };
--
2.28.0.526.ge36021eeef-goog
next prev parent reply other threads:[~2020-09-10 4:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 4:29 [PATCH 0/2] ASoC: rt1015p: add rt1015p codec driver Tzung-Bi Shih
2020-09-10 4:29 ` [PATCH 1/2] ASoC: rt1015p: add " Tzung-Bi Shih
2020-09-10 4:29 ` Tzung-Bi Shih [this message]
2020-09-10 12:51 ` [PATCH 0/2] ASoC: rt1015p: add rt1015p " 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=20200910042949.3795682-3-tzungbi@google.com \
--to=tzungbi@google.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jack.yu@realtek.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox