From patchwork Tue Nov 15 17:02:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 20475 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2841286wru; Tue, 15 Nov 2022 09:06:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf5vF4AHplNHIuJT44EnNKC/4zc3FVqmaaoUaJjPjl8EmvHDbgCjExN0/8Bx7LI2XFk1xwQp X-Received: by 2002:a17:906:3e46:b0:78e:1046:c52a with SMTP id t6-20020a1709063e4600b0078e1046c52amr14767852eji.713.1668531967142; Tue, 15 Nov 2022 09:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668531967; cv=none; d=google.com; s=arc-20160816; b=NVvsfU9ix/AwaNhQvFf5qDAZ2CL5pLG63DEP8PLfs27N7oGPfBin2USEFfmfR8BVlt 1Ztg9UfZ0CB9grPVdfndz6JC2M4kxji0zIlZw2CvLN2iFZLnI7ZaoEt6zKrMGL9xTYLf McKBvZQgA+4LtpvhZ5zkGq39JkmPXyzYnjM8SQnbKndz0WefBAtsQkRXnqB97HeqWftt pp6g4j4GquA+ont1AptEZHvxvOoMonMS8jiA81XNBWa36a+Sqc4K1vpQ1RSvb7SKBNx9 0+x3Vs1gx2MiibWY0dvi/91eKAqfWrbXzpH+0pA9Xn2kaR/HRJ81udO3Yg9yzP2wMnf8 +kEA== 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=7vOAdIUmGMxdUp1gtYvPxRf9ED25yi+MPvUy63Nj+0E=; b=bsX4ZmFNZlU6bIOgfYeJl+8s4bulqUCHcxmoTZ9NAKFLRkIY1bXxCiPoul8hBCUwZA dye8hnP5X2SIoUNN50WEehmvPe3F81wID9ORUsOzqNGImZdPKK8HXxTZvJZ8JzodTFRC n+/vwcinnb4+3m71WUYXOSp8JXTDTF3KGdTt5sMCM7Mk9mmPD9Uh1SVDKXqSFdSr3yHa 4XOlgAKrM/yzVdMwkTNRpWr5+53rmjhCbJlhFZF5NFN5NTwMcwW38nyU7YlF89YV1zne 1FC8WqqtULfiKAoc4IVdW7OftmvlRpZ8pX0yHO+jDBNrBKdYQR+eMgSV+xN6DRIBMEtU EwWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pgmyXclG; 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 sh9-20020a1709076e8900b007ad8bd5b636si8111705ejc.377.2022.11.15.09.05.34; Tue, 15 Nov 2022 09:06:07 -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=pgmyXclG; 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 S231288AbiKORDZ (ORCPT + 99 others); Tue, 15 Nov 2022 12:03:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230442AbiKORDJ (ORCPT ); Tue, 15 Nov 2022 12:03:09 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 549182EF35 for ; Tue, 15 Nov 2022 09:02:59 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id v1so25325622wrt.11 for ; Tue, 15 Nov 2022 09:02:59 -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=7vOAdIUmGMxdUp1gtYvPxRf9ED25yi+MPvUy63Nj+0E=; b=pgmyXclGCmGSPtny7bNgUDi7gOL7+zcjbvh8fwSS1Yn/LTgFHuhqdZGs1Wtoc5E4Nn XPsQfu7ctqpTZiTYH3Am2kLdRLZ2+E3FaXEEpAUqWOklEkulx1q7XScBj+Cm0VT85o8Y xxIjHMz8+uAQTv+Oz9U8bV+4mFsHdHgoR3Y2oMyFOPooUh3sRDX40v2KsqNEFM9Rqwx3 HLFFOh6tsM+MgbQohHKIIYAFOCGvBQLx4OUijNL6A+c17KEzJhKM2B1pPEyvgTn0B0tG 8tfiC+4N/MHJawsjkdPRqBF4MZnxMvR2nvcRUR+8IrDkwGl718GLc7Zo5r7qOTC0Uldr gq4w== 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=7vOAdIUmGMxdUp1gtYvPxRf9ED25yi+MPvUy63Nj+0E=; b=jg9cbOzRJHYEpPQkbPV+amRl0wwT9PW4IV5IR3KYGzeltSnuEA0tCIM89QqF9DrEDb ZupMY0xx2O5wJgNbGwcEA3Lfsjicu4sdhQWl0Jujqu3VDUqvY8MnPb5DtMQUpANrKtef PokCdYSl2WmJPYRpeu1XWlfDbGx8G7rZYTyoDxCGsk+RAISemJM3xjWkrBsp8zXHL5Lb /IesWcjiLrMhM3I/1hxVF7E1nPwxOwuCqzpAyqbpR3S6/IjEIIX2FErVPk2OQiZ78X1W b6v0zmwkqet+n/7azlNA4ETkgZD5SLKthbmJF1Vnw/xrfByiPDXr6lA5Btg4IZhKWK0Z avxQ== X-Gm-Message-State: ANoB5plkGrWXY/MB3YT/nmH0NMQdCLa+brQoa6KNHL50gdNf4uZfj+CM KjF+2L1mjSF4UVw9lIuJ3To8lA== X-Received: by 2002:adf:f606:0:b0:236:8a0:2d76 with SMTP id t6-20020adff606000000b0023608a02d76mr11305223wrp.28.1668531777805; Tue, 15 Nov 2022 09:02:57 -0800 (PST) Received: from localhost.localdomain ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id v21-20020a05600c215500b003c6c3fb3cf6sm15747090wml.18.2022.11.15.09.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 09:02:57 -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 1/3] arm64: dts: qcom: sc8280xp/sa8540p: add gpr node Date: Tue, 15 Nov 2022 17:02:40 +0000 Message-Id: <20221115170242.150246-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221115170242.150246-1-srinivas.kandagatla@linaro.org> References: <20221115170242.150246-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=ham 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?1749582576254792631?= X-GMAIL-MSGID: =?utf-8?q?1749582576254792631?= 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 | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index c32bcded2aef..e3cdd8bccb0c 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -12,6 +12,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -1152,6 +1153,45 @@ IPCC_MPROC_SIGNAL_GLINK_QMP label = "lpass"; qcom,remote-pid = <2>; + + gpr { + compatible = "qcom,gpr"; + qcom,glink-channels = "adsp_apps"; + qcom,domain = ; + #address-cells = <1>; + #size-cells = <0>; + qcom,intents = <512 20>; + + q6apm: q6apm { + reg = ; + compatible = "qcom,q6apm"; + #sound-dai-cells = <0>; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + #sound-dai-cells = <1>; + iommus = <&apps_smmu 0x0c01 0x0>; + }; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + }; + + q6prm: q6prm { + reg = ; + compatible = "qcom,q6prm"; + #clock-cells = <2>; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + q6prmcc: cc { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + + }; + }; };