[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cb78cd52-c638-4977-a762-365a6fe5f723@linaro.org>
Date: Tue, 26 Sep 2023 20:58:12 +0200
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: Stephan Gerhold <stephan@...hold.net>,
Bjorn Andersson <andersson@...nel.org>
Cc: Andy Gross <agross@...nel.org>, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
phone-devel@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
Vincent Knecht <vincent.knecht@...loo.org>
Subject: Re: [PATCH 07/13] arm64: dts: qcom: msm8916-alcatel-idol347: Add
sound and modem
On 26.09.2023 18:51, Stephan Gerhold wrote:
> From: Vincent Knecht <vincent.knecht@...loo.org>
>
> Enable sound and modem for the Alcatel Idol 3 (4.7"). The setup is
> similar to most MSM8916 devices, i.e.:
>
> - QDSP6 audio
> - Microphones via digital/analog codec in MSM8916/PM8916
> - WWAN Internet via BAM-DMUX
>
> except:
>
> - Stereo NXP TFA9890 codecs for speakers on Quaternary MI2S
> - These are also used as earpieces at the top/bottom.
> - Asahi Kasei AK4375 headphone codec on Secondary MI2S
> -> Primary MI2S is not used for playback
>
> Signed-off-by: Vincent Knecht <vincent.knecht@...loo.org>
> [Stephan: minor cleanup, add consistent commit message]
> Signed-off-by: Stephan Gerhold <stephan@...hold.net>
> ---
> There are some trivial conflicts unless
> https://lore.kernel.org/linux-arm-msm/20230921-msm8916-rmem-fixups-v1-3-34d2b6e721cf@gerhold.net/
> is applied first. But given that there are important fixups for the
> dynamic reserved memory changes in that series it should preferably
> get applied before this one anyway.
> ---
> .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 164 +++++++++++++++++++++
> 1 file changed, 164 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> index fade93c55299..ef5fc9289754 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> +++ b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> @@ -3,6 +3,8 @@
> /dts-v1/;
>
> #include "msm8916-pm8916.dtsi"
> +#include "msm8916-modem-qdsp6.dtsi"
> +
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/input/input.h>
> #include <dt-bindings/leds/common.h>
> @@ -22,6 +24,19 @@ chosen {
> stdout-path = "serial0";
> };
>
> + reserved-memory {
> + /delete-node/ reserved@...80000;
> + /delete-node/ rmtfs@...00000;
Deleting with a label reference is strongly preferred to avoid
mistakes.
[...]
>
> +&q6afedai {
> + dai@18 {
> + reg = <SECONDARY_MI2S_RX>;
> + qcom,sd-lines = <0>;
> + };
> + dai@22 {
Missing newline above
[...]
> +
> +&sound_dai_primary {
> + status = "disabled";
> +};
> +
Hm, gives me an idea to sprinkle a bit more /omit-if-no-ref/ in
patch 3..
Konrad
Powered by blists - more mailing lists