From patchwork Wed Dec 2 18:07:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 336001 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp1143368ejs; Wed, 2 Dec 2020 10:08:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMrYB/kFb21xnfJDXtkzn3vqX0C1gtB2dwKuim3L0z4m+zf+CZ9dcV9e1+yopk/yPFPqOV X-Received: by 2002:a17:907:2706:: with SMTP id w6mr949238ejk.137.1606932530791; Wed, 02 Dec 2020 10:08:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606932530; cv=none; d=google.com; s=arc-20160816; b=dvV5n+XrkFHeGHdwGjLHQJgK9zYvTZM2WY+o33dZtjt3kz/QaVBLDWnF+ZUY04T4R0 3cDmOWCFSN8nmYpY3U1Fj0L2ltW5gaiff2ZpxyHjLaGVkXHKopEl+/Jn4iZqwcLqT0dT /8/D7euCh7v4C5doiL+52KidA+DIKKepQR+PRMXzVjsbA2m/s7M+Lul8yne6znRFeyH6 /BTMn/UxzURX6nXzmHF/cd+JveX8tHiO3guI5/6NVbT0OemP9Cn2TYK7pIj0Vjv9MH4D KzAurk3TETanI/JgtQK9QWeMZjsC8qiS0qZWziYiWUihK0JI6rKvZ9vDSDrBVcGdaf9c Gl0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g6nXFxwui6LlgkzThdMNjZ7jNWTIQtA3MqnNk7x+FbA=; b=uFoRONHELG22EX8FfqToMR/4jdzVziEgd9d/D4rDrRW28PMPwVImtAjB6ZVphq64kL Fk8Bl8TLqQDUdfkscCbUB41sV/30UhYu8DR92PyPk7m3wIsyX+ECU30n2O5LQWy8rwqF vD0KKo16qf5pRKKGG5zj0B/AoO5OTNLLMgkVx5GHPo0bGT5DWM+jWVT/C+sEPXqHP8qB tQeutX4RXtOss1PpCDAhMapQrZOdHDBKBIoF4S6xdiTtfWFd9pRgQ5XmxPcWZmAqjHyp 6Jxh7piQvGamd0mY+t48TCXt7Vo9eZSWDIxpReKyPhyJrKW5vd8cWBHYH3ZYu63kdhhg rC2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eCfisf3s; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si478421edv.409.2020.12.02.10.08.50; Wed, 02 Dec 2020 10:08:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eCfisf3s; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387496AbgLBSIf (ORCPT + 15 others); Wed, 2 Dec 2020 13:08:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727108AbgLBSIe (ORCPT ); Wed, 2 Dec 2020 13:08:34 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7308EC0617A6 for ; Wed, 2 Dec 2020 10:07:54 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id g185so10794001wmf.3 for ; Wed, 02 Dec 2020 10:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g6nXFxwui6LlgkzThdMNjZ7jNWTIQtA3MqnNk7x+FbA=; b=eCfisf3scDZboHsfmTrU9hQL3m3FB9sjSJHws8ZskY7oNjwUnzr3djiDKnorRanFOj BOxWeh648P014c1o2sHr6O62S1FMuHlj983nPwDpp15vb7mKHF2B0jg0A81VkaZLp0Yt jypoZZzyeyzSVD9PJZbE8sEsYVu3WCLoVIkAPu+C68/yqYwIQ/EyVYXyXetzrsWFfpRU fj9Z58i1tFUcg+cVlWWzR+H7Lt9DfdA8Lwkyw/YUMF5Yvjt/z9Oldd3GEDECo0ZsKCBG 5QOuLrmJzf4xAZjCv/pzGJEwrCbPMkS3SURQG7xVOztgiil4fHpUOJFyWkwdyvO0luYt Jv4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=g6nXFxwui6LlgkzThdMNjZ7jNWTIQtA3MqnNk7x+FbA=; b=X8xVasrBxd2eNp63SwQU4V6bIqlJHRNx50da9XR6HyvAfAVB53cav5okVdjh4eJwIn o9ha4RcOGvNfQ25nFKy070/BRHHosx0bMeWywcoWcWaB+9ZU2PxrbpKKdzPp/ATa8D0u 7jJDkJESfZG33fzIGtyaS5e5G6pKI+PX9zyDrPMynvNMGJ6okrKcioK0gf80CBwMrPBz 2YWLXK2CIAsWUeQVSn2zvk5gOgEVsbhH4QNOvN3eGC/dHb4Cvcmdc9Mwg3tuOiJOeNbE sBhDcrd1U29hjfbtiPpSiumavG95hzHkmlt0/LFHisZVFzTLVHA/sIUvguxxRJByB+5Q nn+w== X-Gm-Message-State: AOAM5334sQn5B77G3mwPoOZlZ2OlT0Md3ckC7huwJkdPMloOzJWilYXt TzI6LLIpv0Ec/+hdSwgDZuKfgQ== X-Received: by 2002:a1c:f405:: with SMTP id z5mr4319430wma.93.1606932473145; Wed, 02 Dec 2020 10:07:53 -0800 (PST) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id a18sm3004404wrr.20.2020.12.02.10.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 10:07:52 -0800 (PST) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, agross@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Dmitry Baryshkov Subject: [PATCH v2 1/6] arm64: dts: qcom: sm8250: add apr and its services Date: Wed, 2 Dec 2020 18:07:36 +0000 Message-Id: <20201202180741.16386-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20201202180741.16386-1-srinivas.kandagatla@linaro.org> References: <20201202180741.16386-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add apr node and its associated services required for audio on RB5. Signed-off-by: Srinivas Kandagatla Tested-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 56 ++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) -- 2.21.0 diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 65acd1f381eb..d44120a6eadb 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -11,7 +11,9 @@ #include #include #include +#include #include +#include #include / { @@ -2620,6 +2622,60 @@ label = "lpass"; qcom,remote-pid = <2>; + apr { + compatible = "qcom,apr-v2"; + qcom,glink-channels = "apr_audio_svc"; + qcom,apr-domain = ; + #address-cells = <1>; + #size-cells = <0>; + + apr-service@3 { + reg = ; + compatible = "qcom,q6core"; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + }; + + q6afe: apr-service@4 { + compatible = "qcom,q6afe"; + reg = ; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + q6afedai: dais { + compatible = "qcom,q6afe-dais"; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + }; + + q6afecc: cc { + compatible = "qcom,q6afe-clocks"; + #clock-cells = <2>; + }; + }; + + q6asm: apr-service@7 { + compatible = "qcom,q6asm"; + reg = ; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + q6asmdai: dais { + compatible = "qcom,q6asm-dais"; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + iommus = <&apps_smmu 0x1801 0x0>; + }; + }; + + q6adm: apr-service@8 { + compatible = "qcom,q6adm"; + reg = ; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + q6routing: routing { + compatible = "qcom,q6adm-routing"; + #sound-dai-cells = <0>; + }; + }; + }; + fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp";