Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp511480rdb; Fri, 26 Jan 2024 02:28:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwjzcLfGzuFIhYOSQhUYuME9Qvp6Mbn2WeSfU1+8KB/CEXEqigKT3jBIWv2HLUxgZ1b/Az X-Received: by 2002:a05:620a:1585:b0:783:8046:7b73 with SMTP id d5-20020a05620a158500b0078380467b73mr1385645qkk.20.1706264913689; Fri, 26 Jan 2024 02:28:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706264913; cv=pass; d=google.com; s=arc-20160816; b=Wr8tXiXVZaXXrvQY0Dim1DIGhMfiP+NcS/lgsn/hhjwfO5EL/Eibwq+uX5gpihdGEk 7m90106Crqv/1ic4D5xyFp94LFN4dN/VHeeZxVNOPvTELyhTen4JQ3rbfEGKiODiqzCh Fm3RDpCQaxtRgwp+Oz3HBmMO/CtA0nPD9GpyVUf/WMoLVcfeuh676k6XzXXEDs31KuRd zyHtKCiR2KJsJScmsCxy4q9RN9eULiHXjGfyVxhn/s4UiGTiNknurQIHvo9jVf/vZbn+ kLXgNQW5Xl4+dOB3LpXm3bycwNwABlzhSmt/L+mUM2Qw5NqX8fGpBe3+5CzDxuxYyghR +zXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=EOMNM1cIuCUaGhFmJAiF8twDPA35g39fPAYJ946kJ00=; fh=KvaJsPjjy/nH1PcWvzpfRp4O8bLpxgiJHP1SzcQ8o5w=; b=SmNaYt8r0H7Vm5ThMuBVYBtDeK1k2MGKs89aGGA+Ye9jy3ZL2rqi4Vbv7JJf+wbnUL udj7tWQmzSJxS5a5uCKl/o+EF0ekPzRB0BHExuGCXipmMvWeDlg6gR/jAo8c2iM20UP1 gGatoKMgOZ8aNCldIy2leEnrAaa1466/CFkoXM+g89vAy/uWmucN8WL68Grtb75HoBxn eUVqhY3rk7LtunQYFDnTWxrGlixZtDjyTl9EqVuE1tnJOIv95exRFgqoshEnP+ocZD8G iPJTuGVlOIYgpJiAgy0P6EvfuuMQ7VQmwp5YZFjBcrYQ5MWCahax7Ok/fURN45sdRw93 vjyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oSsS4Hg5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-39971-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u20-20020a05620a023400b00781d12ac757si976433qkm.783.2024.01.26.02.28.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 02:28:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39971-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oSsS4Hg5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-39971-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3DA4C1C2E424 for ; Fri, 26 Jan 2024 10:24:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70ECE5BAE9; Fri, 26 Jan 2024 10:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oSsS4Hg5" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 843F75B200 for ; Fri, 26 Jan 2024 10:00:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706263243; cv=none; b=QToLzYadAD/In1JZKU+tOShR6ofw5r7clIF2mRV5gt+hSi3NUaKCUSiUJSw9vMqvG5wdNmZi6LHhTGyklT7raRg63vvCaadBJX49TL1VdSU2MHdZ541YVPBeCBUGo2jxkdb+qA2c5GwkpzvcI9cX4BiX4wWfUIB+AZoFi63LJpM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706263243; c=relaxed/simple; bh=9lrK39yGWz+mMVNX3fo7mSMQqmbiZ6p21a+lgh38MTs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aDZ8PY5/K7WHl22mszjlZtTBEpMh4LgxQyhkMTDHDtczjJyCOHiQELbvwIwWUZbPEY0EQHA+UsyBbF6wvdZq5FEaIg5/CEp6okJ50QU9CHM4PFzN3vuN/8V/CIWVfzq1H7IGbbx7D0BTiep/uJwYfTifkGa72lwluRUcOkQq6vk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oSsS4Hg5; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a318ccfe412so13939866b.1 for ; Fri, 26 Jan 2024 02:00:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706263240; x=1706868040; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EOMNM1cIuCUaGhFmJAiF8twDPA35g39fPAYJ946kJ00=; b=oSsS4Hg5tiNdjlELaIW98B1nKkcmFTaPlpNPmegu0diqlsTDZJKcPNnBuBgigkVWJv fRZar/ktnEqf2QQOfNlnaChyP/HcCVJX85s+CzfMjs4cctcyfGSIHneugr3qxTcMMeNr tiU5TDgu2NLRAy4nhL4lzE2VUjcTJRaPrL9mbliYdtxTKyl1dqnU56r0/ZZIXI6pdQRW F2ELBqUPYhzE+VkbF5Nqyl2tb+MhsGd57c3tXyed1miZQaqzclKJOmbL517CdmocJfrX 9qJNQ1qbSIax0uCNiPs8vi/X9UYrIcHSztPtZAZNqbdDgmiMtNdLGOlQ8vKeNzleYp+K EPUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706263240; x=1706868040; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EOMNM1cIuCUaGhFmJAiF8twDPA35g39fPAYJ946kJ00=; b=Le9bj1bE/o3FzeI1gh97QN+dkgEkwMd4t6dPsFUHLPqoVbfJG0S9qfQcH61AhOUd2Q i6WG4ALiGqzK3cyqp0xtqN0rnrwJdYdvvkdWejr5PWzVKiWAMCfKL9r/BAgUNBDuMTuc +ZjFWC+NNptXxNqAa4aMArSBGflanD5ukSE4cBpNKv1fWLviWbsSYZLABChMbFbHHqzV YnMk7TUsTcTpjidWZdZ7wjmANIT/qgB91zE9/nFNOnsO2Je7xX0kCxCtkF+BJJ+3zH2+ j5+OXa94vPVISjwYJr6lqlWPO1VTu9p+t+A2Hj4UZoQj9AppCi6p+a8BPDuhTggVx7GE b64Q== X-Gm-Message-State: AOJu0YzBV3fy4zfOr1xFjJMjkKOCsiD6pCsE8h5tebdiCs1FMrEjtGo5 M7Z7Wc5Jm36MJ/FLU3Ikj/r31wsIi+YSn9S7uWIn5UciRlTqQorDlJ/f/prPL8hfttMul6YmN3M R X-Received: by 2002:a17:906:13ca:b0:a2f:1466:a3e4 with SMTP id g10-20020a17090613ca00b00a2f1466a3e4mr496034ejc.25.1706263239779; Fri, 26 Jan 2024 02:00:39 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id ox27-20020a170907101b00b00a3221b95ce8sm448494ejb.77.2024.01.26.02.00.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 02:00:39 -0800 (PST) From: Abel Vesa Date: Fri, 26 Jan 2024 12:00:15 +0200 Subject: [PATCH v5 04/11] arm64: dts: qcom: x1e80100: Add ADSP/CDSP remoteproc nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240126-x1e80100-dts-missing-nodes-v5-4-3bb716fb2af9@linaro.org> References: <20240126-x1e80100-dts-missing-nodes-v5-0-3bb716fb2af9@linaro.org> In-Reply-To: <20240126-x1e80100-dts-missing-nodes-v5-0-3bb716fb2af9@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=3499; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=RU2sVakWDTM6FIOT1mP+9fDqahd9wnJzAdPildXmazk=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBls4K5hG4IiZx1wFkmb8aGH0l3jcqhrzb4XSnVC KVJEroux/iJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbOCuQAKCRAbX0TJAJUV VpxEEACktQWla4CcYyg90/64lfyIAzceYv7OdU3+sRNHB0sreUYRIh/1dThfAFB0JVZWBRBzSOS 2aHzxusCvIlVZ0zsPRQ8wy32w10xDDZYQDNCsChp+5qJadlUZqkY2EbU4GlHPf0dFKunT8fNyke E8Pxqy7oW8Fc+78QmiEWLbo6QP4mWyknnPMgi3FrrxBziQPpY/uxTiOwUbo8g4qGzA2tXIW9u49 X2SY4gLOrHWzgXZBup7/LLpxeVBr6DNBvU10T2QRdDWbXxEK1Z9EeQX2gizZeeznkd5ryeeSgUr r0kHB8bgdQ4HmPOvn2nNkhu7qdiyLUJrTuuSu4OiOOGuIVpWNmI6PlisFqLg7OJxyuB3C6uRlKx s5YMl27hL0ydg1cbGTvC3/IAlZBfg+lF+Wl70oSXDgSlJuyYDYMioNzlyb1kRWp0jd/sHL/o5ri njXLqj+0l0JHXg01QQRRRm0LYiPfWc+GXCC8GNYIVW6ZdDVAJOsd+BYwqoIktlUARZ6cSQ2t0Me MXCmLkotTWcX7eH8hpbE1z3RHR9ZkhOhBghsOFo+Ge8ygFroYYJYtJG9Ekjk1cnLxoL7ReUheza Bvfl18JRuX57dsQ+ODkZiwSUbesXfkvuP4uPDn87Ezw2AVXOjiYiDIMoIFfh4kHGDknXtNh68um K7lEOp7TOuoAaaA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE From: Sibi Sankar Add ADSP and CDSP remoteproc nodes on X1E80100 platforms. Signed-off-by: Sibi Sankar Reviewed-by: Konrad Dybcio Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 98 ++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 3790d99eb298..be69e71b7f53 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3590,6 +3590,104 @@ system-cache-controller@25000000 { "llcc_broadcast_base"; interrupts = ; }; + + remoteproc_adsp: remoteproc@30000000 { + compatible = "qcom,x1e80100-adsp-pas"; + reg = <0 0x30000000 0 0x100>; + + interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_LCX>, + <&rpmhpd RPMHPD_LMX>; + power-domain-names = "lcx", + "lmx"; + + interconnects = <&lpass_lpicx_noc MASTER_LPASS_PROC QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + + memory-region = <&adspslpi_mem>, + <&q6_adsp_dtb_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_adsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "lpass"; + qcom,remote-pid = <2>; + }; + }; + + remoteproc_cdsp: remoteproc@32300000 { + compatible = "qcom,x1e80100-cdsp-pas"; + reg = <0 0x32300000 0 0x1400000>; + + interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MXC>, + <&rpmhpd RPMHPD_NSP>; + power-domain-names = "cx", + "mxc", + "nsp"; + + interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + + memory-region = <&cdsp_mem>, + <&q6_cdsp_dtb_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_cdsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "cdsp"; + qcom,remote-pid = <5>; + }; + }; }; timer { -- 2.34.1