From: NĂ­colas F. R. A. Prado Date: Wed, 2 Nov 2022 18:19:55 +0000 (-0400) Subject: ASoC: dt-bindings: realtek,rt5682s: Add AVDD and MICVDD supplies X-Git-Tag: v6.6.17~5842^2^2~126^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=163460262782b183a28d07255403fa72151fa20b;p=platform%2Fkernel%2Flinux-rpi.git ASoC: dt-bindings: realtek,rt5682s: Add AVDD and MICVDD supplies The rt5682s codec has two supplies - AVDD and MICVDD - which are already used by sc7180-trogdor-kingoftown.dtsi. Document them in the binding. Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: NĂ­colas F. R. A. Prado Link: https://lore.kernel.org/r/20221102182002.255282-2-nfraprado@collabora.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml index 1c0b06d..b7338bf 100644 --- a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml +++ b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml @@ -90,11 +90,20 @@ properties: "#sound-dai-cells": const: 1 + AVDD-supply: + description: Regulator supplying analog power through the AVDD pin. + + MICVDD-supply: + description: Regulator supplying power for the microphone bias through the + MICVDD pin. + additionalProperties: false required: - compatible - reg + - AVDD-supply + - MICVDD-supply examples: - | @@ -120,5 +129,8 @@ examples: clocks = <&osc>; clock-names = "mclk"; + + AVDD-supply = <&avdd_reg>; + MICVDD-supply = <&micvdd_reg>; }; };