From nobody Mon Nov 25 02:42:52 2024 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 32362339A8 for ; Fri, 1 Nov 2024 00:59:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730422778; cv=none; b=Ya829BKtM0oCT9A02cf7E5QPAdN4kQZ2VMqa4BTg8CkYJR0E3GZGNxw+B+YwojVGz7Jzdawzp9pGkj02U/uVf6nbcmJqW+xLubXLeXoHLzAVMukT/WFXjE4j0NTHVk3wOnTtdjaiM6xWpE9GYoi4HGh+55EHZq6Dx7NJ/vaylT4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730422778; c=relaxed/simple; bh=VCi6ONG+eExx5zVfektZQ7rdLcz1JpRnARHjJbjRWDM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fPlcMcFwaDrFmNr6RtNbJGM/499LzFcmc2Gv+vMtenC4PeJgMfYDo6XJtn8U+cAStEkCNZccgSNX1PSdF40Wn6uAAX4pkfXZR+ZGPNoKEKVgwZhp6+/ahPSFHKmkTgXGBIwyl6zZCS+6XLkezgaIuOJVafLdKhPGWS+MuBRfpP4= 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=A/KVrrhv; arc=none smtp.client-ip=209.85.128.42 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="A/KVrrhv" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4315abed18aso12492885e9.2 for ; Thu, 31 Oct 2024 17:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730422769; x=1731027569; 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=NxmD4h7X2/jUK7rdCnWeAf+paKQ/zGmzscgZHwidemk=; b=A/KVrrhv+E/D5BHSkUTP5uJxmAJfQgH2CRerBzVe91ce+iSGXqzuTnXal2YtA/pf1U EPClT4bqb6i8gGQrEgoV9QFDh1c+2VrRP2sbxjx9hN/BZ5T+tVC07Ga/u1Vng26DeAp3 exkQf+DzpJ1iYraS0buAw2lLHcF/3f6Wi3+WnJl7xvtInuYTcO/+ga7qNi+ZjWMp1Skr iLkHgz8i72yAZ0i/Wzh8mgU7feWnx/fUcV7ZMNmHBKs3kpepAGPqWtVDByrLB7ReUFBn UW6t9v9YUXxy4MaYSFR4UEpxCP3k8NOGcP6OJtaYRn0qwlyTfYEWSpx28RAjv1GanhVH fX9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730422769; x=1731027569; 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=NxmD4h7X2/jUK7rdCnWeAf+paKQ/zGmzscgZHwidemk=; b=I7oEGkfEmTVaxq0Fu3UdHOkFBp/lOVpxrmel2Zbmb46lz4PyCznc9G8+W77GSdu521 5wRk4/xXm+LPKu86d0yMDqqeXYeJtiOmHXjjBpW+kpKhgpXXqGtWg5udVRGe9f3NHPI+ HxJt7ylB9W5xh3/0roEpzJLG8csdRRa9eFGDOyH0XjrIM2QRN57NFG0AzRy5xzIq7RwR 7tWeegWVpS+NhBom+F+irVJwmZZH7v08zHlcHTTHwZqD089hqsAlFo3XvJJ+a1C3Gy2v NE21RMzM8Dwteqr0FokX3UvkHS6Gf/oP4PDVBRSv4Vd5IkU62AaumJWA7ocu69uL2hLj 8IKQ== X-Forwarded-Encrypted: i=1; AJvYcCV4EfNLBTBFz8/EPHKztXnZYiv+qWP6vbtuJRK9ze2W3sulmR5tab6lMehm2qX4qRJa/k2iZ0Ki0MzoZug=@vger.kernel.org X-Gm-Message-State: AOJu0YysZ6iVwaRuCuezNnLAHvoV8houzH786opshXjBxV1jKjWSu8KX Guq3DtlCBC7ke7rOJqX+rxHWZGuUGOqRxBKRegZF7j6veH1EgTawxwKTYLjJ7YI= X-Google-Smtp-Source: AGHT+IGVabdH84m7Pxob8e3TXE04XGU6HyoNM5yVrAASwBiZxbSZH/+7nnWLPr5n3iVCWBga2Rf0lg== X-Received: by 2002:a5d:47a4:0:b0:37d:4894:6878 with SMTP id ffacd0b85a97d-381c7a47dd6mr1323810f8f.10.1730422769484; Thu, 31 Oct 2024 17:59:29 -0700 (PDT) Received: from localhost.localdomain ([2.222.231.247]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd947a9fsm74208035e9.22.2024.10.31.17.59.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 17:59:28 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, broonie@kernel.org Cc: lgirdwood@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com Subject: [PATCH v4 2/5] arm64: dts: qcom: sm6115: add apr and its services Date: Fri, 1 Nov 2024 00:59:22 +0000 Message-ID: <20241101005925.186696-3-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241101005925.186696-1-alexey.klimov@linaro.org> References: <20241101005925.186696-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 Signed-off-by: Alexey Klimov Reviewed-by: Konrad Dybcio --- 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