Re: [PATCH 1/7] arm64: dts: qcom: glymur: add LPASS macros and RX/TX SoundWire

From: Konrad Dybcio

Date: Tue Dec 01 2026 - 08:03:18 EST


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@xxxxxxxxxxxxxxxx>
> ---
> 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