From patchwork Tue Dec 12 12:56:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 753159 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WDjIcpHB" Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 237FAED for ; Tue, 12 Dec 2023 04:56:40 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40c2d50bfbfso27317135e9.0 for ; Tue, 12 Dec 2023 04:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702385798; x=1702990598; darn=vger.kernel.org; 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=nOoLwF5XJDBfdZ6CvX/x1eieyE1PCtohRICTvTJgudc=; b=WDjIcpHBPYN18RxwcgonCTwYOOEhqrT4jDt3TKdX/iI/tnrH/IVqYdolLhgdefo9CJ qJRGqBRbulkAVf6o3BZpSdtKlZV+J1NJ+3SctME3kEgLBR9Kz8MOaHEJE/+TLNBYBGaV wCLF6LP0paqZNkJUWcMcxvXHKABQWcUKAlz75QAaAPpJ9PBcONKG3gNNLcaAi+Zw8ltB p5XPThy9gty5LYCxmP7XQq0Fh5a22UN0bsjX0a0bADS95m1mbv6z8FdUH2jfoR5JoyYT HIr6JgW9gDj8LMYawKXSYe4fi3j3CQqIcCGlosAZx3N/zpxRFMpClnw4TBca0SpW9jrX 14Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702385798; x=1702990598; 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=nOoLwF5XJDBfdZ6CvX/x1eieyE1PCtohRICTvTJgudc=; b=iTYc/KPHvoLAkIYRepNc3O+TXP1En51KJFAeMirgu6AaFdn9G8pBkFToyx8uzsnzD8 z4DoTW868cCwfHgzX8dkcK51vRxyFqO36bVOvyxpcxsV+3zTDXhRxylGZK4PmWEtAx0h y7MgATGdWdPeqG8ZmMBVPQCiW28JuSydX2VlfZZbHNH78tuZDjaL9oWIg4YRhmteTZFt PWPRSrqAxFLNUVx/fCrR4UfrzYjkQbppPoCSyWZH9Fki7z5Q9PymAt88JHTMiaJNo5n+ xpDnHwp3OesjzzhQ586LaBkvOAahY0ck4Mt7znsKsHWkflMvNVf5TAUlasrXjJQRzK/W 0hWQ== X-Gm-Message-State: AOJu0YyL09aZlmC0uEfpAPoBgkFUl3AiFaECpLAsYm46C783/efIQVgV 0B9r1K1aaJq+7s3hW3deIVzjBQ== X-Google-Smtp-Source: AGHT+IF/J3hR/hN9b8w94baKx+pgg0NaO5bJ7firGokHYaiVeUmMcjwyjkCRuM+KDCx7NL6MYvrHsA== X-Received: by 2002:a05:600c:22ca:b0:40b:5e4a:2342 with SMTP id 10-20020a05600c22ca00b0040b5e4a2342mr3315048wmg.68.1702385798414; Tue, 12 Dec 2023 04:56:38 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id e12-20020a05600c4e4c00b0040b398f0585sm16820693wmq.9.2023.12.12.04.56.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 04:56:38 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Abel Vesa Subject: [PATCH 1/2] arm64: dts: qcom: x1e80100: add ADSP GPR Date: Tue, 12 Dec 2023 13:56:31 +0100 Message-Id: <20231212125632.54021-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212125632.54021-1-krzysztof.kozlowski@linaro.org> References: <20231212125632.54021-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the ADSP Generic Packet Router (GPR) device node as part of audio subsystem in Qualcomm X1E80100 SoC. Cc: Abel Vesa Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 61cc36554eab..aee3dbe753b1 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -16,6 +16,7 @@ #include #include #include +#include #include / { @@ -4741,6 +4742,46 @@ 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"; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1001 0x80>, + <&apps_smmu 0x1061 0x0>; + }; + }; + + 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>; + }; + }; + }; }; };