From: "Nuno Sá" <nuno.sa@analog.com>
To: <alsa-devel@alsa-project.org>, <devicetree@vger.kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Mark Rutland <mark.rutland@arm.com>,
Rob Herring <robh+dt@kernel.org>
Subject: [PATCH 1/2] dt-bindings: asoc: adau7118: Cleanup
Date: Mon, 21 Oct 2019 16:08:15 +0200 [thread overview]
Message-ID: <20191021140816.262401-2-nuno.sa@analog.com> (raw)
In-Reply-To: <20191021140816.262401-1-nuno.sa@analog.com>
This changes are in accordance with the review done to this bindings.
This is a follow-up patch to 969d49b2cdc8.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
---
.../bindings/sound/adi,adau7118.yaml | 25 ++++++++-----------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/adi,adau7118.yaml b/Documentation/devicetree/bindings/sound/adi,adau7118.yaml
index cfcef602b3d9..c3f10afbdd6f 100644
--- a/Documentation/devicetree/bindings/sound/adi,adau7118.yaml
+++ b/Documentation/devicetree/bindings/sound/adi,adau7118.yaml
@@ -26,13 +26,11 @@ properties:
"#sound-dai-cells":
const: 0
- IOVDD-supply:
+ iovdd-supply:
description: Digital Input/Output Power Supply.
- $ref: "/schemas/types.yaml#/definitions/phandle"
- DVDD-supply:
+ dvdd-supply:
description: Internal Core Digital Power Supply.
- $ref: "/schemas/types.yaml#/definitions/phandle"
adi,decimation-ratio:
description: |
@@ -58,23 +56,21 @@ properties:
required:
- "#sound-dai-cells"
- compatible
- - IOVDD-supply
- - DVDD-supply
+ - iovdd-supply
+ - dvdd-supply
examples:
- |
- i2c0 {
+ i2c {
/* example with i2c support */
#address-cells = <1>;
#size-cells = <0>;
- status = "okay";
- adau7118_codec: adau7118-codec@14 {
+ adau7118_codec: audio-codec@14 {
compatible = "adi,adau7118";
reg = <14>;
#sound-dai-cells = <0>;
- status = "okay";
- IOVDD-supply = <&supply>;
- DVDD-supply = <&supply>;
+ iovdd-supply = <&supply>;
+ dvdd-supply = <&supply>;
adi,pdm-clk-map = <1 1 0 0>;
adi,decimation-ratio = <16>;
};
@@ -84,7 +80,6 @@ examples:
adau7118_codec_hw: adau7118-codec-hw {
compatible = "adi,adau7118";
#sound-dai-cells = <0>;
- status = "okay";
- IOVDD-supply = <&supply>;
- DVDD-supply = <&supply>;
+ iovdd-supply = <&supply>;
+ dvdd-supply = <&supply>;
};
--
2.23.0
next prev parent reply other threads:[~2019-10-21 14:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-21 14:08 [PATCH 0/2] Update adau7118 dt-bindings Nuno Sá
2019-10-21 14:08 ` Nuno Sá [this message]
2019-10-21 14:52 ` [PATCH 1/2] dt-bindings: asoc: adau7118: Cleanup Mark Brown
2019-10-22 8:05 ` Sa, Nuno
2019-10-28 23:29 ` Rob Herring
2019-10-21 14:08 ` [PATCH 2/2] ASOC: adau7118: Change regulators id Nuno Sá
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=20191021140816.262401-2-nuno.sa@analog.com \
--to=nuno.sa@analog.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=mark.rutland@arm.com \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=tiwai@suse.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;
as well as URLs for NNTP newsgroup(s).