Message ID | 20230530-msm8939-regulators-v1-2-a3c3ac833567@gerhold.net (mailing list archive) |
---|---|
State | Accepted |
Commit | 6002a78023cded6f02eac7c812b076046cab8060 |
Headers | show |
Series | arm64: dts: qcom: msm8939: Rework regulator constraints | expand |
On 14/06/2023 08:16, Stephan Gerhold wrote: > Update for recent changes to msm8916.dtsi in commit a5cf21b14666 > ("arm64: dts: qcom: msm8916: Disable audio codecs by default") and > make lpass_codec disabled by default for devices that are not using > the audio codec functionality inside MSM8939. > > Signed-off-by: Stephan Gerhold <stephan@gerhold.net> > --- > arch/arm64/boot/dts/qcom/apq8039-t2.dts | 4 ++++ > arch/arm64/boot/dts/qcom/msm8939.dtsi | 1 + > 2 files changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/apq8039-t2.dts b/arch/arm64/boot/dts/qcom/apq8039-t2.dts > index 2a39216ceef5..c8442242137a 100644 > --- a/arch/arm64/boot/dts/qcom/apq8039-t2.dts > +++ b/arch/arm64/boot/dts/qcom/apq8039-t2.dts > @@ -135,6 +135,10 @@ &lpass { > status = "okay"; > }; > > +&lpass_codec { > + status = "okay"; > +}; > + > &mdss { > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi > index 3c1505b69a6b..895cafc11480 100644 > --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi > @@ -1608,6 +1608,7 @@ lpass_codec: audio-codec@771c000 { > <&gcc GCC_CODEC_DIGCODEC_CLK>; > clock-names = "ahbix-clk", "mclk"; > #sound-dai-cells = <1>; > + status = "disabled"; > }; > > sdhc_1: mmc@7824900 { > Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
diff --git a/arch/arm64/boot/dts/qcom/apq8039-t2.dts b/arch/arm64/boot/dts/qcom/apq8039-t2.dts index 2a39216ceef5..c8442242137a 100644 --- a/arch/arm64/boot/dts/qcom/apq8039-t2.dts +++ b/arch/arm64/boot/dts/qcom/apq8039-t2.dts @@ -135,6 +135,10 @@ &lpass { status = "okay"; }; +&lpass_codec { + status = "okay"; +}; + &mdss { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index 3c1505b69a6b..895cafc11480 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -1608,6 +1608,7 @@ lpass_codec: audio-codec@771c000 { <&gcc GCC_CODEC_DIGCODEC_CLK>; clock-names = "ahbix-clk", "mclk"; #sound-dai-cells = <1>; + status = "disabled"; }; sdhc_1: mmc@7824900 {
Update for recent changes to msm8916.dtsi in commit a5cf21b14666 ("arm64: dts: qcom: msm8916: Disable audio codecs by default") and make lpass_codec disabled by default for devices that are not using the audio codec functionality inside MSM8939. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> --- arch/arm64/boot/dts/qcom/apq8039-t2.dts | 4 ++++ arch/arm64/boot/dts/qcom/msm8939.dtsi | 1 + 2 files changed, 5 insertions(+)