From nobody Fri Dec 19 04:55:11 2025 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 61F811F7083 for ; Wed, 4 Dec 2024 14:00:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733320835; cv=none; b=WDfkq1uhyiGWfvzmG1jETmhfCDjoMKZeXid4xuIsQZxG2mCSwG8UrYcK6QvC5ry3iWv8MwWDbuRIeyFyjMumni7qp99RJDGbshDbzPnhHegMlAd2eN/FiI2K3OGg+YONka0cjVWxURNe4iVp4Af9fcjiPSCl4dEqQ3fVZiOSAQE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733320835; c=relaxed/simple; bh=Y88dxKTEB84Sy5sor9WVb8Lb3Eunx49GPWiCvst3MDw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ETfkJZGCTs9L3ffamkpEldjmTLRN3ejSQrEZ7iLW1bbqPAoicwqBgwfq1feSh6xQRxOQ7CCxdxQjL7IA4sO6KH2DqCeEh7boAhtPdAc+6rNhEMoHQAR4zmYkH1vrFmoa3sLAAHHQFsmqKW74ko2VWjpUi0dVYjTxVyyyGdGLsto= 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=CzVk7SSB; arc=none smtp.client-ip=209.85.221.47 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="CzVk7SSB" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-385f07cd1a4so3010493f8f.1 for ; Wed, 04 Dec 2024 06:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733320831; x=1733925631; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FNkMnvZSHVbHckJCKRyiqgolyEylIkwRfPR/FWi1wBE=; b=CzVk7SSBmlUhWOo6Uu1wiMPaqBawFLry0OzsNUKhGvddJUhkXZAMIvDCGAC1AIfD46 0Jdu9CpMHFyUJJ7dHxNiFEHonYSC9Z1IyddIMkHKmEwc7I51n/pDxCgCQeHFozia/HJL Sp557ummHYc5A7sW1CkNIEt11TK3Hq5Gr37ubLN5inxFslunsF6qtOGdgLgyBWEPtxZl WKq26G7vL4PVPWd2MSxw5Dt71S0k44i1znshb2Xg8eZAaGFqI5Aj8kK4cb+zl+KFQ+g4 i7vRXGmGIIX6R2Y5UcizmyaRHq5nm5LhfAuU0TmQEUVCigDVhaeGNM82LZZNKvIqkj8V /MVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733320831; x=1733925631; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FNkMnvZSHVbHckJCKRyiqgolyEylIkwRfPR/FWi1wBE=; b=LGxgWpEiMyvhG5lwAvQHaBgtajszV/Nb9jDJSCRZ380hRittNmkJeBLKhqtjOI/W6u TfNP7J6AVmOTgvrmJyevbXD0//0lPIMI0f7NR7DvwXONbOX0t0j7OehiPIsI5LsafVDA J3AxoRmPQ3+aSthPj7yL0+VK7L0tzENwvhh87ERT9C703jqxEOQnTrQNqmRR0oG2eplW JjTLTd7DoAZJKiUojIXWVzWu7IcIo4jrwBOHp99Y+GWlKAg0Ju6ei16AUVndDLJZXDJ2 /+aQSnGsdPnuSVKHcaVEuldr/qGmuF8VP5oxN1fZBLnsmWwKUlG/GVO0zecpYzH3PtKt St5w== X-Forwarded-Encrypted: i=1; AJvYcCXX7YIvtcjSL64gJ8/WSNXaHDEF0i9jo1ocpqv62TQCPCqhxtew0MnqR1qjS+Uenru8rhV34ZPjVp32b2g=@vger.kernel.org X-Gm-Message-State: AOJu0YzXFq3KBJMozUI8NWT9YMWa1s3BCSNOW2R6fdZct74Ts9EhipC0 ZGysyPyRhMijzd90dFhn/xbIoldt9yyGmoABrHAnu8o57XV8t1o50GhvIoHEKd8= X-Gm-Gg: ASbGnct1Wl6bY29hTeuXm44fwOYfEpWZbjWt56xoao5WPk2BCM0lbgOUbYCvGzFFoQW X+8CUl0bLVXrgm/1VLJD19nygMFwEiytJdCnZFQMQqNM+J21sZ6Nh2sv+J0j9ZSi3cM3j7HmZpv KO9dtZAoKnvOaol8BpVrK+Z6BFpReALpZTgZHqZ9VQr5zRkGwde34cTvhy68A3qSvMOkZKads7G UrWboELvZBIne+pYWuzt3owGscvkMBsji7Y5/6YA1ifFpKXzzva4BnWtY6ObZF8a+eWAAU= X-Google-Smtp-Source: AGHT+IFLm3mAtpQU8RqFuHUpb0/Y6Czk2iuRyOThmoKrp6zlYXL4Adntsv9jCROsNU0P1ZXKV67r/w== X-Received: by 2002:a05:6000:2aa:b0:385:f349:fffb with SMTP id ffacd0b85a97d-385fd42a35fmr5359588f8f.45.1733320830981; Wed, 04 Dec 2024 06:00:30 -0800 (PST) Received: from localhost.localdomain ([2a00:2381:fd67:101:8e2:966d:36c4:3579]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385e2c84d52sm13689978f8f.49.2024.12.04.06.00.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 06:00:30 -0800 (PST) From: Alexey Klimov To: andersson@kernel.org, konradybcio@kernel.org, linux-arm-msm@vger.kernel.org Cc: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, a39.skl@gmail.com, konrad.dybcio@oss.qualcomm.com, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/4] arm64: dts: qcom: sm6115: add apr and its services Date: Wed, 4 Dec 2024 14:00:24 +0000 Message-ID: <20241204140027.2198763-2-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241204140027.2198763-1-alexey.klimov@linaro.org> References: <20241204140027.2198763-1-alexey.klimov@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add apr (asynchronous packet router) node and its associated services required to enable audio on QRB4210 RB2 platform. Cc: Srinivas Kandagatla Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qco= m/sm6115.dtsi index 9b23534c456b..816b8331933d 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -14,6 +14,8 @@ #include #include #include +#include +#include #include =20 / { @@ -2701,6 +2703,76 @@ glink-edge { qcom,remote-pid =3D <2>; mboxes =3D <&apcs_glb 8>; =20 + 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>; + }; + }; + }; + fastrpc { compatible =3D "qcom,fastrpc"; qcom,glink-channels =3D "fastrpcglink-apps-dsp"; --=20 2.45.2