From patchwork Wed Nov 16 10:13:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 625631 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 619E2C4332F for ; Wed, 16 Nov 2022 10:14:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233656AbiKPKOQ (ORCPT ); Wed, 16 Nov 2022 05:14:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233131AbiKPKOD (ORCPT ); Wed, 16 Nov 2022 05:14:03 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDEA02AE0F for ; Wed, 16 Nov 2022 02:13:21 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id l8so21155636ljh.13 for ; Wed, 16 Nov 2022 02:13:21 -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=ukq1OU31XUM1NiJzaWbXw075WRYYfPEMEB+p/dVIpHA=; b=WR72wIAwBjbsMXpmb6lFyYndgkyG6U18VUqYJmQcNyknd+6xzG2rAvtIY6kyjDxeJs 32kl6I28et5aAWwZLoGzUi2Pls2JEQhW0cXFB5ic3ajfHYMM4fi3rLPpBjDza1YFS14F KnAn4V0A07KPd071lDY3FlOJeWKH4uiAG6lZO56sw4kynug/uEwj1NuDW6SQFcWh9KU+ sjQk9ZPjedz/xXEqgT+dlbkmyJYWBc08FevLHOn38dXt4t0HnLEJh+YRUBQuLsjOhOar fc8/Q/7WxBkhq8sObqRhZKCuxg++wtln0M5Vcxy+oTNrhopZN5BZ2PIHz0HXDnZyB732 N4nQ== 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=ukq1OU31XUM1NiJzaWbXw075WRYYfPEMEB+p/dVIpHA=; b=w0BOLZUHD1cNuOgTRzkZOJTdce/JF6qwsyfxRB8lW6KMZcgS0EHyzW5nnHTYSRJr9Q i0Y1+nOCNRWw4zqqTCrnRX7bDstNu2qwlmJWCwBFi89+YC/FpxPK1IgAMfCYMWeWzN6t h4uU++1ok/OWwxMN3eNt1nh5Y7Al3+fJ6L9rwjEPmRrrZJir3avWg5Pjyu2wVhpMxMVI F2lA3blD4+zOXME+E0vb/+Jmd6XGsTlx0dfx61hxewqKS0B9BKd7Pi7rrWuu31qaJe2p FY7uv6ciP5xZbveymQEz0PYlCN6c7dzbEBNTZwd8It4JssciPh5u8WI2GoZwJWUFwjko w3Hw== X-Gm-Message-State: ANoB5plKe3GmMST/Ev2UYRQEuEdxVbK7Hrp8aklK9HUUcs8MYbTHcMG2 g8asCSRWN8J5j8d1fnwTdhsu1Q== X-Google-Smtp-Source: AA0mqf4IXpwnZwNsGxPAeEyNkDOZyMwVJ5AFgbBgfd7B3ykSvW2g5H4m9pxonROyRgDHp0wfjJRm5g== X-Received: by 2002:a2e:9cc4:0:b0:277:4275:a837 with SMTP id g4-20020a2e9cc4000000b002774275a837mr7774174ljj.393.1668593600137; Wed, 16 Nov 2022 02:13:20 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id a10-20020a056512020a00b004a45f2e49b1sm2514432lfo.273.2022.11.16.02.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:13:19 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Srinivas Kandagatla , Krzysztof Kozlowski Subject: [PATCH v3 1/3] arm64: dts: qcom: sm8450: add GPR node Date: Wed, 16 Nov 2022 11:13:12 +0100 Message-Id: <20221116101314.52887-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221116101314.52887-1-krzysztof.kozlowski@linaro.org> References: <20221116101314.52887-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Srinivas Kandagatla Add Generic Packet Router (GPR) device node with ADSP services. Signed-off-by: Srinivas Kandagatla Co-developed-by: Krzysztof Kozlowski Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 46f9576f786f..4b0a1eee8bd9 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -2134,6 +2135,45 @@ 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 { + reg = ; + compatible = "qcom,q6apm"; + #sound-dai-cells = <0>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1801 0x0>; + }; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + }; + + q6prm: service@2 { + reg = ; + compatible = "qcom,q6prm"; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + }; + fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp";