From: Shane Chien <shane.chien@mediatek.com>
To: Matthias Brugger <matthias.bgg@gmail.com>,
Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Rob Herring <robh+dt@kernel.org>
Cc: <linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
<devicetree@vger.kernel.org>, <wsd_upstream@mediatek.com>,
<jiaxin.yu@mediatek.com>, <chipeng.chang@mediatek.com>,
<shane.chien@mediatek.com>
Subject: [PATCH v2 2/2] dt-bindings: mediatek: mt6359: Add new property for mt6359
Date: Mon, 9 Nov 2020 17:30:09 +0800 [thread overview]
Message-ID: <1604914209-9174-3-git-send-email-shane.chien@mediatek.com> (raw)
In-Reply-To: <1604914209-9174-1-git-send-email-shane.chien@mediatek.com>
From: "Shane.Chien" <shane.chien@mediatek.com>
This patch add "LDO_VAUD18-supply" property to
control vaud18 regulator. It is labeled as required
due to mt6359 audio path always need to enable vaud18.
Signed-off-by: Shane.Chien <shane.chien@mediatek.com>
---
.../devicetree/bindings/sound/mt6359.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/mt6359.yaml b/Documentation/devicetree/bindings/sound/mt6359.yaml
index a54f466..7ccaa8c 100644
--- a/Documentation/devicetree/bindings/sound/mt6359.yaml
+++ b/Documentation/devicetree/bindings/sound/mt6359.yaml
@@ -17,6 +17,11 @@ description: |
Must be a child node of PMIC wrapper.
properties:
+ LDO_VAUD18-supply:
+ ref: /schemas/types.yaml#/definitions/phandle
+ description: |
+ Regulator of LDO VAUD18 at 1.8V.
+
mediatek,dmic-mode:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
@@ -49,11 +54,15 @@ properties:
description: |
Specifies the type of mic type connected to adc2
+required:
+ - LDO_VAUD18-supply
+
additionalProperties: false
examples:
- |
mt6359codec: mt6359codec {
+ LDO_VAUD18-supply = <&mt6359p_vaud18_reg>;
mediatek,dmic-mode = <0>;
mediatek,mic-type-0 = <2>;
};
--
1.7.9.5
next prev parent reply other threads:[~2020-11-09 9:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 9:30 [PATCH v2 0/2] Fix vaud18 power leakage of mt6359 Shane Chien
2020-11-09 9:30 ` [PATCH v2 1/2] ASoC: " Shane Chien
2020-11-09 9:30 ` Shane Chien [this message]
2020-11-09 15:43 ` [PATCH v2 2/2] dt-bindings: mediatek: mt6359: Add new property for mt6359 Rob Herring
2020-11-10 16:02 ` [PATCH v2 0/2] Fix vaud18 power leakage of mt6359 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=1604914209-9174-3-git-send-email-shane.chien@mediatek.com \
--to=shane.chien@mediatek.com \
--cc=broonie@kernel.org \
--cc=chipeng.chang@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=jiaxin.yu@mediatek.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=wsd_upstream@mediatek.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).