From patchwork Mon Nov 14 15:21:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 625710 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 C4DD9C4321E for ; Mon, 14 Nov 2022 15:21:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235643AbiKNPVk (ORCPT ); Mon, 14 Nov 2022 10:21:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236209AbiKNPVj (ORCPT ); Mon, 14 Nov 2022 10:21:39 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 860741FFBE for ; Mon, 14 Nov 2022 07:21:37 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id bp15so19755518lfb.13 for ; Mon, 14 Nov 2022 07:21:37 -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=IjhZ9MEeglzsQ2bcky4g3TTffUyDa0flXvW2nHAxvv4=; b=b2pm7YlDH6UxHHsHH78plJxWFwDGPSoneGRU/2fLafIdJJ36u34MPf9qf2GIL9EgqA jaF+iYnFJfH82G1qiqlI7ut7qKJu8nK5O4UO4irXdSlNr/48QO1VN60mo8lkMNbid9Cc n09bbiEZgauaDET1oCQkn3ODm2HhYLKruYOQ4uDZRnlvOf9c6ayg+ckvUkXii3+GWFAF dQ3kLm9P4TJo3nHQXy604Q+ZpNWrErZKC0wcbwm+XM67XXqWHTxknZR3zZ1s/7XyWHXP 98KuPc9lgiLfJ8kKseFJU2DYHrDFOo9In0BSLBz5CQ6mju+bDi374CnmD7//2NFJ1spz lW8w== 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=IjhZ9MEeglzsQ2bcky4g3TTffUyDa0flXvW2nHAxvv4=; b=w0oUZHcV0QRjH1arjvHlsxBzpeF6s/oC3EPhuSE24Y8zQ6Esr9yPardGTUUC0gNSum b3kLHy0Zs/ZW851qQxoC+MJbUq8nVygCz9VqzJksHHIIEs9UnJKKZg5S8o0bELTp3jkz +a6P6+q7VlCLoG460zPR2XUXZcEK4UDIlQ7B78NKQRXz3pcMwZ8miSq5/CX5vph+bJ/X PfRZPRsJzvDTq55ayv51tZSyokSdlGZTg7ZjiGrcM6zcW63IO1E3zqum6kIRf/h4s05R L7KhtM4typsfFlIL2dtXMZxXqjLH9yTXTVteE0m+bmFUa8dAB9tUV7bJ7HKSAdwT+z50 lrLQ== X-Gm-Message-State: ANoB5pmp1cW+h8bXOkWuh92TcQKCtXENeMFXEr62asQaiT0q3gDCr2NT O9iJlPW6eOHJ+TS/SO1dwuE8Dg== X-Google-Smtp-Source: AA0mqf4vywHCW4LlpFFdE6kAHCo/1hwKQbK4HFVyjvb4UNaOf4TVPQuDHWIXcPKHV/XYLpmn/dd4KA== X-Received: by 2002:a05:6512:77:b0:4af:cd2:f8df with SMTP id i23-20020a056512007700b004af0cd2f8dfmr4126539lfo.586.1668439295857; Mon, 14 Nov 2022 07:21:35 -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 n5-20020a056512388500b00492ea54beeasm1854268lft.306.2022.11.14.07.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 07:21:35 -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 1/3] arm64: dts: qcom: sm8450: add GPR node Date: Mon, 14 Nov 2022 16:21:28 +0100 Message-Id: <20221114152130.385871-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221114152130.385871-1-krzysztof.kozlowski@linaro.org> References: <20221114152130.385871-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 --- 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";