mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>,
	andersson@kernel.org, abel.vesa@linaro.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/7] arm64: dts: qcom: glymur: add LPASS macros and RX/TX SoundWire
Date: Tue, 1 Dec 2026 14:03:09 +0100	[thread overview]
Message-ID: <6e93821d-b095-4f1c-ab0e-b9d1f66c64e6@oss.qualcomm.com> (raw)
In-Reply-To: <20261126183806.172485-2-srinivas.kandagatla@oss.qualcomm.com>

On 11/26/26 7:38 PM, Srinivas Kandagatla wrote:
> Add the LPASS pieces needed to bring up analog audio on Glymur:
> lpass_rxmacro and lpass_txmacro codec nodes, lpass_audiocc and
> lpasscc clock controllers for the SoundWire RX/TX CGCR resets, and
> the swr1 (RX) and swr2 (TX) SoundWire controllers (disabled by
> default).  The swr2 port-shaping arrays describe the WCD9378 slave
> topology shared by all Glymur-based laptops.  Boards enable swr1/swr2
> and wire the WCD9378 codec on top.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/glymur.dtsi | 100 +++++++++++++++++++++++++++
>  1 file changed, 100 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
> index 165dfa11f17f..e3bba14bf36c 100644
> --- a/arch/arm64/boot/dts/qcom/glymur.dtsi
> +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
> @@ -9,6 +9,7 @@
>  #include <dt-bindings/clock/qcom,glymur-gcc.h>
>  #include <dt-bindings/clock/qcom,glymur-gpucc.h>
>  #include <dt-bindings/clock/qcom,glymur-tcsr.h>
> +#include <dt-bindings/clock/qcom,glymur-lpasscc.h>
>  #include <dt-bindings/clock/qcom,glymur-videocc.h>
>  #include <dt-bindings/clock/qcom,kaanapali-gxclkctl.h>
>  #include <dt-bindings/clock/qcom,rpmh.h>
> @@ -4669,6 +4670,73 @@ q6prmcc: clock-controller {
>  			};
>  		};
>  
> +		lpass_rxmacro: codec@6a70000 {
> +			compatible = "qcom,glymur-lpass-rx-macro", "qcom,sm8550-lpass-rx-macro";
> +			reg = <0 0x06a70000 0 0x1000>;

Please match the style of other nodes - 0x0 for zeroes in reg,
one compatible a line

[...]

> +		swr2: soundwire@7630000 {
> +			compatible = "qcom,soundwire-v3.1.0";
> +			reg = <0 0x07630000 0 0x10000>;
> +			interrupts = <GIC_SPI 761 IRQ_TYPE_LEVEL_HIGH>;

My robot claims this should be <&pdc 16 IRQ_TYPE_LEVEL_HIGH> in case
we need to wake up the system

Konrad

  reply	other threads:[~2026-12-01 13:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 18:37 [PATCH 0/7] arm64: qcom: enable WCD9378 headset and DisplayPort audio on Glymur boards Srinivas Kandagatla
2026-11-26 18:38 ` [PATCH 1/7] arm64: dts: qcom: glymur: add LPASS macros and RX/TX SoundWire Srinivas Kandagatla
2026-12-01 13:03   ` Konrad Dybcio [this message]
2026-11-26 18:38 ` [PATCH 2/7] arm64: dts: qcom: glymur-crd: enable WCD9378 headset codec Srinivas Kandagatla
2026-12-01 12:52   ` Konrad Dybcio
2026-11-26 18:38 ` [PATCH 3/7] arm64: dts: qcom: mahua-t14s: " Srinivas Kandagatla
2026-11-26 18:38 ` [PATCH 4/7] arm64: dts: qcom: glymur-crd: add DisplayPort audio DAI links Srinivas Kandagatla
2026-11-26 18:38 ` [PATCH 5/7] arm64: dts: qcom: glymur-asus-zenbook-a16: enable WCD9378 headset codec Srinivas Kandagatla
2026-11-26 18:38 ` [PATCH 6/7] arm64: dts: qcom: glymur-asus-zenbook-a16: add DisplayPort audio DAI links Srinivas Kandagatla
2026-12-01 12:52   ` Konrad Dybcio
2026-11-26 18:38 ` [PATCH 7/7] arm64: defconfig: enable SDCA class driver and WCD9378 codec Srinivas Kandagatla
2026-11-27  1:42   ` Krzysztof Kozlowski
2026-11-27  8:49     ` Srinivas Kandagatla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e93821d-b095-4f1c-ab0e-b9d1f66c64e6@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abel.vesa@linaro.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=srinivas.kandagatla@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®