[PATCH v3 2/2] dt-bindings: mediatek: mt6359: Add new property for mt6359
From: Shane Chien
Date: Mon Nov 09 2020 - 21:31:52 EST
From: "Shane.Chien" <shane.chien@xxxxxxxxxxxx>
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@xxxxxxxxxxxx>
---
.../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..ef027c7 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