]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
arm64: dts: msm8916: add wcd codec support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 14 Oct 2015 10:32:30 +0000 (11:32 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Aug 2017 10:51:14 +0000 (12:51 +0200)
This patch adds wcd codec support in the soc layer.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi
arch/arm64/boot/dts/qcom/pm8916.dtsi

index 8133307e921ca7d8431bab06338ef94a1d2c58d5..effb998666f135fd49bd5765619186a6ca49ab01 100644 (file)
 
                /* Audio */
 
+               wcd_digital: codec-digital{
+                       compatible = "syscon", "qcom,apq8016-wcd-digital-codec";
+                       reg = <0x0771c000 0x400>;
+               };
+
                lpass: lpass-cpu@07700000 {
                        status = "disabled";
                        compatible = "qcom,lpass-cpu-apq8016";
index 825526dcdc3a869f8d0df71d63ff76da29e05d84..de96c9b6d5b2d01f035fe136ff56272cf5b3eaa5 100644 (file)
                                status = "disabled";
                        };
                };
+
+               wcd_codec: codec@f000 {
+                       compatible = "qcom,apq8016-wcd-codec";
+                       reg = <0xf000 0x200>;
+                       #sound-dai-cells = <0>;
+                       vddio-supply = <&pm8916_l5>;
+                       vdd-pa-supply = <&pm8916_s4>;
+               };
        };
 };