From nobody Tue Feb 10 15:03:05 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CB44156C62 for ; Sun, 2 Mar 2025 02:50:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740883810; cv=none; b=hyCCt4RAfH9cIyCSPNQdxwD/tSRRAy6cZ8bvVDdMc7N0K8oBXHhUUh0TWMFDC2ISiK68ovklhs30dUXU9IJNnad/LJ9zTUb9VETAUDmddtz/Q1mHy1YBpaPUb+sONovQeuXR1keZmP8D3ke19G6JxiWN6s0WpZS00L5Hm9S51s0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740883810; c=relaxed/simple; bh=wQ01J6D4oNUO/j4ZKHOnBEmLwf4ywfjNUsETE7Q7ofw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HRxFkxq5oqETwVTXULmrcVyhNNTHbAJIxk0A+gpD6RrksiiugMsZg7fkujiPvCpkGguCRPfg+rsCViBnpyeIx40BhG/i6zKfK/orDY5vP9UCeLYDFNC9ZUO5KPODsYU4vXGhoSKehaa91V/7x0RWlmyC160U33i9SL4Ao7iFWf4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aHCHVrwG; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aHCHVrwG" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-439946a49e1so21054395e9.0 for ; Sat, 01 Mar 2025 18:50:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740883806; x=1741488606; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=nmdfEHpxLSmQg+isrOnjjS1H9iCmEJAPxMrM+k2a/mo=; b=aHCHVrwGzq/xLs8/ZsdMpBXuegrMAzW0NZOTw0LnJemTY6u86lP+j2BeUlYMuDw6Zq qksz+XvWevxDjgZAf4PFvlwCeaJD4bgdpBm09UWYCRBmCEkYGVgHmvzowPkwZXLdEap3 ymyxbMn3HFYKw35yYL2dbo8/1peo0UXhkLPZWNGb9YAIIfjaavM3od7INV1MVpgu9H/g vKzQ7wSRIi5mHNdt0oBeHqxg52wsvT9wF7ShkmXKmdJO9//BwwsNh346m/Uyu5icPlta 8jJD+FPhKSHyoRynv87v9k/v2YmjVTCrr1EyNjtq5C64Cnh1ohw9xD1IF9uhPL53rKfL JpcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740883806; x=1741488606; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nmdfEHpxLSmQg+isrOnjjS1H9iCmEJAPxMrM+k2a/mo=; b=aH7NYfQjxxM89+q3LBiw8jq9x/qTwog9+/SOwlIYpKc5Tv95fau1YYiKtiX+vHPO0n OvIGzh+qPK/jmfo9q4hpGSUBO+j0KAol3xwWYjpj7pAT+k05+SD1HZYuUeUfaoabo9Vy 1PuJtkq38jceRK1SWe/OGmPu81mprXjq8f16SED0DqdBarHBl3sLrH30njSRuMg25zwE MpJNrA445CG52nVNw5JR+nmyk1zdRPWIrqycer8V8bmX4LNdg2xp9QRkONBJ7x3reYEo z8qH3xfahWkeByQ5za5/kNHzZ2JxmrEX05F9l84BedWEZSmHlNmQbrjCWuBmagWqCGBG VLWw== X-Forwarded-Encrypted: i=1; AJvYcCUoyP7TdNkC/UbsQFOA9xiIJWdrbNR/Y6O9hf+pr3atP+5BKk34H1G83tby/AbhZ50SrQHoiVzCnQf4MeM=@vger.kernel.org X-Gm-Message-State: AOJu0YzXV/qnaAanlSLlPeXLtsis0FIR/1Jzp+9HZ1OQ15bZ1Kh2uZ0T gHmGOiH/1c2p015x0LX2GAYkwrqN0/TRZPNnUSnsPS1EoUGb9isaPuAdqbwOWCs= X-Gm-Gg: ASbGncu041WaN8nhkVmPh+PjDSuNXtWA/sXkWGM2DM6HXlQoY/mpktH/pEkoYQ9bwYK Wopq9Fcw/gYywEDHF5uTc3P3SRMDU30OXJyv312HMsbuJOcImJBClimVCvV/FKGT5AHByQzpVk7 MnJYeYNDrbLKjjKBGVOqUoit8xq95maVbet/Oll9u3Hq9rN1EpIxH0E2gzfO/YbFGB7umuGUqfg sQV2kQZhMlpSmr727n4eb40s03fFHBQb8LnHHMuqsX4rcBMMsa+q/MMayvtMWU6lS3SCEfTHbsU egF8+V836mwJTMAbq5vLHaflcmnOiuGVGBvrp7+bHR1iO2WJs/Tkpw== X-Google-Smtp-Source: AGHT+IGpybvE45hfiU4SR8oSm9r2kkh3ze0e3IKrTgUQU7lkfSzFWQu/64T/KmNdqENi7cRLhMWZaw== X-Received: by 2002:a05:600c:4f16:b0:439:88bb:d024 with SMTP id 5b1f17b1804b1-43ba675a8a9mr59723415e9.25.1740883806571; Sat, 01 Mar 2025 18:50:06 -0800 (PST) Received: from [127.0.1.1] ([2a02:c7c:7213:c700:e992:6869:474c:a63f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43aba532b0dsm137845975e9.13.2025.03.01.18.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Mar 2025 18:50:05 -0800 (PST) From: Alexey Klimov Date: Sun, 02 Mar 2025 02:49:53 +0000 Subject: [PATCH 3/5] arm64: dts: qcom: qcm2290: add apr and its services Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250302-rb1_hdmi_sound_first-v1-3-81a87ae1503c@linaro.org> References: <20250302-rb1_hdmi_sound_first-v1-0-81a87ae1503c@linaro.org> In-Reply-To: <20250302-rb1_hdmi_sound_first-v1-0-81a87ae1503c@linaro.org> To: Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Srinivas Kandagatla , Liam Girdwood , Mark Brown Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, Alexey Klimov X-Mailer: b4 0.14.2 Add apr (asynchronous packet router) node and its associated services required to enable audio on QRB2210 RB1 board. Cc: Srinivas Kandagatla Signed-off-by: Alexey Klimov Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 72 +++++++++++++++++++++++++++++++= ++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qc= om/qcm2290.dtsi index f0746123e594d5ce5cc314c956eaca11556a9211..2c90047f7dd867580836284721c= 60ed5983f3f34 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -16,6 +16,8 @@ #include #include #include +#include +#include =20 / { interrupt-parent =3D <&intc>; @@ -1868,6 +1870,76 @@ glink-edge { label =3D "lpass"; qcom,remote-pid =3D <2>; mboxes =3D <&apcs_glb 8>; + + apr { + compatible =3D "qcom,apr-v2"; + qcom,glink-channels =3D "apr_audio_svc"; + qcom,domain =3D ; + #address-cells =3D <1>; + #size-cells =3D <0>; + + service@3 { + reg =3D ; + compatible =3D "qcom,q6core"; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + }; + + q6afe: service@4 { + compatible =3D "qcom,q6afe"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + q6afedai: dais { + compatible =3D "qcom,q6afe-dais"; + #address-cells =3D <1>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + }; + + q6afecc: clock-controller { + compatible =3D "qcom,q6afe-clocks"; + #clock-cells =3D <2>; + }; + }; + + q6asm: service@7 { + compatible =3D "qcom,q6asm"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + q6asmdai: dais { + compatible =3D "qcom,q6asm-dais"; + #address-cells =3D <1>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + iommus =3D <&apps_smmu 0x1c1 0x0>; + + dai@0 { + reg =3D ; + }; + + dai@1 { + reg =3D ; + }; + + dai@2 { + reg =3D ; + }; + }; + }; + + q6adm: service@8 { + compatible =3D "qcom,q6adm"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + q6routing: routing { + compatible =3D "qcom,q6adm-routing"; + #sound-dai-cells =3D <0>; + }; + }; + }; }; }; =20 --=20 2.47.2