From patchwork Tue Dec 1 15:37:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 335132 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp212598ilb; Tue, 1 Dec 2020 07:39:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfavmg3NckphFLniUNdKUBY6qBoT2TVZ/jJeo0TlqKeDUI+S1wIqPws76+rQ8mcUVn9Toy X-Received: by 2002:a05:6402:559:: with SMTP id i25mr3659524edx.128.1606837192542; Tue, 01 Dec 2020 07:39:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606837192; cv=none; d=google.com; s=arc-20160816; b=RwW4/SWlHtn3vmUzsGO4bXHj1+5hqlxY5AT1W5W5k5buYYECOXKiXsyF5GSCU11pGh okYQX7chQ1X6fdAJ2HeGlIRMNznGZJPV28ofws4h+nQS0BuD5yDav4PkLjrPagibU3G+ e30EFgbGHKMXl+yNrlmm51Plp1WJdd4ZsCLAgT0/8trFgYf8EgrjV3PMQJfskSpnmrHO PubPqp2jfgtOWeiei/EGSnUPe/o2z5x7Y+DKUePsX+Wu0D+E+jUprHlQyVhgPh3xSeyA qCWC/4SpiBd6P/q7PONornW00gat+31L6SO83liYgjSVfnoRpJgLC6I7JOlV1f6oEZJ1 uskg== 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=7gChBksxn1qEPSD3R08ZEmaSNW2wV6LYIITXUj3191A=; b=xgA2/imeMXyl0odAhycmCEbHgxCScabWh0vm+zTKiYRki6WmfExzKRlnJ2UpCXeu0A fkwmkZ2AhMmaB5E+Pkwn5WSNW3UcToCXsPT4Mq/aLw0HOOdsldFtft/o1uowlCkBkCMs naf6X+ZqK7FQVjdNmjGZOumz0fWINrFF8ChPhYtLzmIp2W55WSD6gDJNtEBMRlrH9+Vj VVpl0rg1ZMDjZpeS3+yw6w32/KnxaxUkA2o9/f6dr3+NPz5vAE39htK9MHOB12W77mVZ oLNoppe6P1NttUyDVxBJGAPKxxrcyP4Tpe2f7G8c3ZYHY1a70nvAjZl5jsdp0DruXNJg uaCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OHq3343W; 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 l9si104532edi.199.2020.12.01.07.39.26; Tue, 01 Dec 2020 07:39:52 -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=OHq3343W; 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 S2388149AbgLAPh6 (ORCPT + 15 others); Tue, 1 Dec 2020 10:37:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387532AbgLAPh6 (ORCPT ); Tue, 1 Dec 2020 10:37:58 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B8FC0617A6 for ; Tue, 1 Dec 2020 07:37:17 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id w206so373268wma.0 for ; Tue, 01 Dec 2020 07:37:17 -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=7gChBksxn1qEPSD3R08ZEmaSNW2wV6LYIITXUj3191A=; b=OHq3343W+aiwvjBes5ZnNTv3M3FuJ79KnBXcTqKWgT0cciUJ6pU+4mU6xulFiZjo78 VDnDZ/QiFFwV8GUqiE4se8aPBNP2v8jsPkhz4H07Z2M0h5+m05NrCPbd67wKB5HRZSsi 17A7NsnoCEZPlUj6YMLiows5Hyx2DIZWGQOqcwPpfCcovw1qE75wWOrHbZ+4ZyvlcYa+ MMXTWv1VRZd5RdKXeYX43Gc8+e1WfjbOlUHLzlJ2viPvVU6ov5mGVr8TcHRiwDoPW0jL GMlEj1DkbF7z1mDE229gxeZvk6yhdV/lnCF1SqqKPSRrOS5j58vWXWGwxuGvE/SYWaC/ PZ8g== 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=7gChBksxn1qEPSD3R08ZEmaSNW2wV6LYIITXUj3191A=; b=Zf0Q/yDmP+wEF+OzN4yjZBqngOl9E+HPB1OyLLOfGJQR9ta1z4Y+kKIFLNoG7LmQ1L fYQhRUKA+f9yBYSvA5w+bxQjXSDQAD2YPTQQ4f0HwtFURhHckdmPuRAhVlzM3LT2vi0J k4WZ+A5y43f9Jn+5lfASZBaS1wUX/Rp4Y4lO8N6tLr1tYix+xqYESOFDZf7Xn+sdn78J P3+TAs4HKir+kNaTPPlsdZ+hiarjAGdl6kWO6Ngh+olYZ7O+gYPbsiV/RkUiNnCTP61q XPW4LCtA1jJijYVsGWW3xYdkRq4YSDW+zkIvw3FQq1xP9zEKJz2IXMOwFRyu3g7O/p/r 30Ow== X-Gm-Message-State: AOAM532d4YUk4BPm8RY+lA3BQosyOHI8VLoSGzkm+uj7axmbZaAqWTYp gpumn0R5YZ9PJdYvWQlKtreoUUFvHaKBvEIo X-Received: by 2002:a05:600c:ce:: with SMTP id u14mr3310247wmm.150.1606837036532; Tue, 01 Dec 2020 07:37:16 -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 y7sm302171wmb.37.2020.12.01.07.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 07:37:15 -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 Subject: [PATCH 1/6] arm64: dts: qcom: sm8250: add apr and its services Date: Tue, 1 Dec 2020 15:37:01 +0000 Message-Id: <20201201153706.13450-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20201201153706.13450-1-srinivas.kandagatla@linaro.org> References: <20201201153706.13450-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 --- 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..3b4e98b13d36 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -11,6 +11,8 @@ #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";