mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
arm64: dts: qcom: msm8916: Disable audio codecs by default
Not every device has something connected to the digital audio codec in MSM8916 and/or the analog audio codec in PM8916. Disable those by default so the hardware is only powered up when necessary. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230510-msm8916-regulators-v1-4-54d4960a05fc@gerhold.net
This commit is contained in:
committed by
Bjorn Andersson
parent
355750828c
commit
a5cf21b146
@@ -310,6 +310,10 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&lpass_codec {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&mdss {
|
&mdss {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@@ -399,6 +403,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&wcd_codec {
|
&wcd_codec {
|
||||||
|
status = "okay";
|
||||||
clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
|
clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
|
||||||
clock-names = "mclk";
|
clock-names = "mclk";
|
||||||
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
|
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
|
||||||
|
|||||||
@@ -218,6 +218,10 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&lpass_codec {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&pm8916_resin {
|
&pm8916_resin {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
linux,code = <KEY_VOLUMEDOWN>;
|
linux,code = <KEY_VOLUMEDOWN>;
|
||||||
@@ -302,6 +306,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&wcd_codec {
|
&wcd_codec {
|
||||||
|
status = "okay";
|
||||||
qcom,micbias-lvl = <2800>;
|
qcom,micbias-lvl = <2800>;
|
||||||
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
|
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
|
||||||
qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
||||||
|
|||||||
@@ -1551,6 +1551,7 @@
|
|||||||
<&gcc GCC_CODEC_DIGCODEC_CLK>;
|
<&gcc GCC_CODEC_DIGCODEC_CLK>;
|
||||||
clock-names = "ahbix-clk", "mclk";
|
clock-names = "ahbix-clk", "mclk";
|
||||||
#sound-dai-cells = <1>;
|
#sound-dai-cells = <1>;
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
sdhc_1: mmc@7824900 {
|
sdhc_1: mmc@7824900 {
|
||||||
|
|||||||
@@ -178,6 +178,7 @@
|
|||||||
vdd-cdc-tx-rx-cx-supply = <&pm8916_l5>;
|
vdd-cdc-tx-rx-cx-supply = <&pm8916_l5>;
|
||||||
vdd-micbias-supply = <&pm8916_l13>;
|
vdd-micbias-supply = <&pm8916_l13>;
|
||||||
#sound-dai-cells = <1>;
|
#sound-dai-cells = <1>;
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user