From patchwork Mon Nov 21 13:04:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 23729 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1575727wrr; Mon, 21 Nov 2022 05:09:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf5VmpmQVDYoz6+GycGRZZhVFyYkM0q2dYzLUM6pHWrFPMO2NqwVpA0rxbmk3HexGTVxuCNX X-Received: by 2002:a05:6a00:21c8:b0:562:e0fb:3c79 with SMTP id t8-20020a056a0021c800b00562e0fb3c79mr841971pfj.39.1669036152307; Mon, 21 Nov 2022 05:09:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669036152; cv=none; d=google.com; s=arc-20160816; b=OM0xYfJ5LJU7DKldPjTKPo6uWUh3sOIuqgy1WM8HLAnHkkyhI2Z0tI/4TT+x1sbioy d5t/YqeNB2aGF9uREWCHD6AYBXGYuKYqkGmG3TzOlJZ3a6oSgtjd7zsFpN/e/PbfIXgG C6aX830nJza8vpCJNG8ljc7D0PTcUoMScVCEjXx5+uUGSXjWSQQTeWMHY+CmSAFIXwi4 IaFcIy2S5fdpI/MC3bJjQbp+2YEAeg8uBiPH4/j5W7EHUofgPGjKO6RU2G/NXivOouPe pmP9QrLUcf9FlpT9IO5q+FTM+5rQeQ5sSeSfEH2znCB/uLkiTf77tGixODujtKWbygT2 2Fsg== 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=lcQAjzVivIzQj2w9iKAgRK1Du16HBMevQocYIlmnioc=; b=xIg631OlpbFxSGY7hxEIp34IYW8IXTXyeTPfFfCm3hBDWdawCrBWnup1NwdoON7rSt Go/VDJBVBQQrR+NDX1kTBj334lWXsQifve1PgAGnXZV9+uKEDrNQMnrz1ilSOqqHaVya MrhXpPMvIeQxHtI+/j+vha+kzvlt0RVZMysq1Iy9MOqw6/ygYerPzrvD9QApWGATG6gf JrVUUChxXQtDbCmzhjCD3nmNDOHB3SeZAB/GiniOdwNwxvlPi1tq2xufdZm7LZlyRzd+ ly7AsQ09GXlunWMp2B/FqWLxVeJp3IwO2fjPmWBUlXn7HDNGeDuUc28TOaKprSEPfsNO e0ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vX4H259e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p6-20020a654906000000b0046fb6e0b960si11586944pgs.210.2022.11.21.05.08.57; Mon, 21 Nov 2022 05:09:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vX4H259e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229980AbiKUNEZ (ORCPT + 99 others); Mon, 21 Nov 2022 08:04:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbiKUNEV (ORCPT ); Mon, 21 Nov 2022 08:04:21 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAC77450A4 for ; Mon, 21 Nov 2022 05:04:18 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id g12so19724181wrs.10 for ; Mon, 21 Nov 2022 05:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=lcQAjzVivIzQj2w9iKAgRK1Du16HBMevQocYIlmnioc=; b=vX4H259eD8RhoO4kSAXbSzSeRlhQTv2XGt9JgkZ3WQhcZbREpLqO1IdxqMo+hwGhRO HYdGMaecdNg4KL2cEsqS76uSE/JVoZOvIlE4m5GSjPazcQgz46AolmzPACXeWTD0tfe1 3LwBvSNI0Ta54mPgYgRXTuzHixYeO3eNk6UEjBUak1s/Z3ZHAwLNB2JvgvB2VXt6fguW BPtRdXxcdf/JgirPEqQAs6Za8OEKUf2F8fosPtb4cf8J20Muzhb2k2QmPb+FqxDyWt9P KygKL+P9kmbMma/jCxfSM/pq1ubB3Akru6BWp5HlEFdoftosqzxZecf1AMqsoXMABEfO f+qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=lcQAjzVivIzQj2w9iKAgRK1Du16HBMevQocYIlmnioc=; b=22lasPAh9BHZmfX2h0lAXlAlFBCu/UnG/3o5SQWOk57uOV3cfb7n0c2XWIOsG2gsq4 3uPLBzLXt6MNpCT0TYW6gycj8PBk2tDFr4lnZHG2IDRJ/hUbk0kVfosaNyL41xJR5oKm n5vZQWPKoPRFMPdthKAxEyRo6R8ujzkWJOQF/JXJfIClKstSQjdwfzH1DNSdy644c5SO bvHk3aD18i8ZGs6R+5dbcgHVGBUK/mCTpDh5+9KaXlhR2LwVQkONC3z6EUYnnBKwQ+7j DAYfvYCTErQX5e89+eXG4PTRKp89yavG9km12PYesXuZABTPULis53bhSclLqib6/yvE hOYQ== X-Gm-Message-State: ANoB5pmJPLaFlBqctxb7588FXECRt02X/J0bSAJMRcvjt8tUwHxqS4zG es7SeSwovVpUGs0pZRn3k3CBX78P5aq3PA== X-Received: by 2002:a5d:5d0b:0:b0:241:9e29:17cd with SMTP id ch11-20020a5d5d0b000000b002419e2917cdmr11008044wrb.167.1669035857195; Mon, 21 Nov 2022 05:04:17 -0800 (PST) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id a13-20020a5d53cd000000b002383edcde09sm11133898wrw.59.2022.11.21.05.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 05:04:16 -0800 (PST) From: Srinivas Kandagatla To: agross@kernel.org, andersson@kernel.org Cc: konrad.dybcio@somainline.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v3 1/3] arm64: dts: qcom: sc8280xp/sa8540p: add gpr node Date: Mon, 21 Nov 2022 13:04:01 +0000 Message-Id: <20221121130403.161817-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221121130403.161817-1-srinivas.kandagatla@linaro.org> References: <20221121130403.161817-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750111251990557167?= X-GMAIL-MSGID: =?utf-8?q?1750111251990557167?= Add GPR node along with APM(Audio Process Manager) and PRM(Proxy resource Manager) audio services. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index be72b1f7ad61..65b657f73ebb 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include #include / { @@ -1626,6 +1627,44 @@ IPCC_MPROC_SIGNAL_GLINK_QMP label = "lpass"; qcom,remote-pid = <2>; + + gpr { + compatible = "qcom,gpr"; + qcom,glink-channels = "adsp_apps"; + qcom,domain = ; + qcom,intents = <512 20>; + #address-cells = <1>; + #size-cells = <0>; + + q6apm: service@1 { + compatible = "qcom,q6apm"; + reg = ; + #sound-dai-cells = <0>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x0c01 0x0>; + }; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + }; + + q6prm: service@2 { + compatible = "qcom,q6prm"; + reg = ; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + q6prmcc: clock-controller { + compatible = "qcom,q6prm-lpass-clocks"; + clock-controller; + #clock-cells = <2>; + }; + }; + }; }; };