From: <derek.fang@realtek.com>
To: <broonie@kernel.org>, <lgirdwood@gmail.com>
Cc: <robh+dt@kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <alsa-devel@alsa-project.org>,
<lars@metafoo.de>, <flove@realtek.com>, <oder_chiou@realtek.com>,
<jack.yu@realtek.com>, <shumingf@realtek.com>,
Derek Fang <derek.fang@realtek.com>
Subject: [PATCH] ASoC: dt-bindings: rt5682s: fix the device-tree schema errors
Date: Wed, 29 Sep 2021 21:04:06 +0800 [thread overview]
Message-ID: <20210929130406.24325-1-derek.fang@realtek.com> (raw)
From: Derek Fang <derek.fang@realtek.com>
Fix the device-tree schema errors that be reported by using 'make
dt_binding_check'.
Signed-off-by: Derek Fang <derek.fang@realtek.com>
---
.../devicetree/bindings/sound/realtek,rt5682s.yaml | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml
index 7a5f1d0fd3e2..2b8b7b51fe55 100644
--- a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml
+++ b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml
@@ -29,6 +29,8 @@ properties:
- 0 # dmic1 data is not used
- 1 # using GPIO2 pin as dmic1 data pin
- 2 # using GPIO5 pin as dmic1 data pin
+ description: |
+ Specify which GPIO pin be used as DMIC1 data pin.
realtek,dmic1-clk-pin:
$ref: /schemas/types.yaml#/definitions/uint32
@@ -36,12 +38,16 @@ properties:
- 0 # dmic1 clk is not used
- 1 # using GPIO1 pin as dmic1 clock pin
- 2 # using GPIO3 pin as dmic1 clock pin
+ description: |
+ Specify which GPIO pin be used as DMIC1 clk pin.
realtek,jd-src:
$ref: /schemas/types.yaml#/definitions/uint32
enum:
- 0 # No JD is used
- 1 # using JD1 as JD source
+ description: |
+ Specify which JD source be used.
realtek,ldo1-en-gpios:
description: |
@@ -72,9 +78,9 @@ properties:
const: 1
clock-output-names:
- items:
- - description: Name given for DAI word clock output.
- - description: Name given for DAI bit clock output.
+ minItems: 2
+ maxItems: 2
+ description: Name given for DAI word clock and bit clock outputs.
additionalProperties: false
--
2.17.1
next reply other threads:[~2021-09-29 13:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-29 13:04 derek.fang [this message]
2021-09-30 14:58 ` Mark Brown
2021-09-29 21:18 David Heidelberg
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=20210929130406.24325-1-derek.fang@realtek.com \
--to=derek.fang@realtek.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=flove@realtek.com \
--cc=jack.yu@realtek.com \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oder_chiou@realtek.com \
--cc=robh+dt@kernel.org \
--cc=shumingf@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
all inboxes | Powered by JetHome®