From patchwork Fri Dec 2 15:20:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 632506 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 1899CC4708E for ; Fri, 2 Dec 2022 15:21:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233422AbiLBPVG (ORCPT ); Fri, 2 Dec 2022 10:21:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233412AbiLBPVF (ORCPT ); Fri, 2 Dec 2022 10:21:05 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 372BDCCFDD for ; Fri, 2 Dec 2022 07:21:03 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id cf42so2102328lfb.1 for ; Fri, 02 Dec 2022 07:21:03 -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=x0n8g0BV6J4JcAA7y+mPLeAuofFOkUHpwPQF99DaEQ8=; b=WvQEbvHUFWMSd514qb2p1tmbVdJ6cQieaPoRFEuiuRgPJ0kgsJmUwC1a5zftII59Js xpICVE1QJp+YsscWpOSUoD6OPNemeYUI13fOTLxbQTWuoXGMKuDDfDB0H3xjhxn+vtvp IjnWojE/eo7JHYfX8IVD/iF3jxFPQH/Z68XmgRlTVT9ubA54t+tR+ey9MKitoQowUcLn ZtWULxGpyp+hAUcSntQgz6E2F6wUrQ9PIZ4mpMzUxPgYioa4asi8Sm96fcw7UqP8ahde xPoNsfStzByy6hGsIAC/2iDNX0IHK9kGpvZ5wYyoFn1B4T3csZCnv3/cjl12TqOfZrcu YzdA== 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=x0n8g0BV6J4JcAA7y+mPLeAuofFOkUHpwPQF99DaEQ8=; b=IhcT+BVX5XFO2oV8jDKPAKLD2IyFVcM8njeGi3+O/jQQEh0/oUQK4NtNaykSAwudwS BKfdqK8cVkou0yllN1PLorC0s/inP8760VFTu+sPfmlCi1nDQCahppvvG2VGHsvnS6aX r21EScyjOIotc/w6NuXmiLowq7RgxYl1xo8zVY9bhy4PtbNXn4auqm5In7qMaYw9/KK6 ti3dFU3TYn7uuDWJEHjRdctZQZn3tvcC94Cf34fnUKl73IL3yZXJnNnc4KEPRGnozUvq 9IHXrg7588whnWGxE2U0abdUSY3iwpda9Yss6wUO/706UNQVJVHJPgRdn5MiP9ZaxDBY o8LQ== X-Gm-Message-State: ANoB5pn90u41lXMQmgnejzCLI2zi3LObfAWVPVIqe4bbWz+7i67ry3LV c48YwMqfhiwrritMGVLmVfigaw== X-Google-Smtp-Source: AA0mqf4l5/IRVWXoix1LyIDKcQjUiOLc0kG1fiTfy0/h1d+Mr+9vVfAmhEe9ESsOwJXvQ+CtCZAiZw== X-Received: by 2002:ac2:46cc:0:b0:4b4:f43d:6b4d with SMTP id p12-20020ac246cc000000b004b4f43d6b4dmr12930778lfo.251.1669994461586; Fri, 02 Dec 2022 07:21:01 -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 l16-20020ac24310000000b00498f871f33fsm1043273lfh.86.2022.12.02.07.21.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 07:21:01 -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 v6 1/3] arm64: dts: qcom: sm8450: add GPR node Date: Fri, 2 Dec 2022 16:20:52 +0100 Message-Id: <20221202152054.357316-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221202152054.357316-1-krzysztof.kozlowski@linaro.org> References: <20221202152054.357316-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 --- Changes since v5: 1. None Changes since v4: 1. None Changes since v3: 1. Re-order reg. --- 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 f20db5456765..7b63c56ff2f4 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 @@ -2127,6 +2128,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 { + 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 0x1801 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-cells = <2>; + }; + }; + }; + fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp";