From patchwork Sun Mar 31 21:10:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 784776 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 6C2121487E2 for ; Sun, 31 Mar 2024 21:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711919448; cv=none; b=YKUFPxss/aiEWVCvmy8MdwVglaiuvJvIJyI+O2W3voVaG8uAko9Fi0teNd1YVw9M/PPVFcFL3e+NADDige77PZcRQg0HdZqkt+F/7bkkr2hWPc/QfGCZ53qZaxNsDkHIfJTDL7qg240sv1vybZVxRgJtDjD//4TS1hc7AbnNQiU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711919448; c=relaxed/simple; bh=+monmzdqaDuGF+91NgZ2OzAyov6DJsof4fu61GAW+E4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=c/awKTeG/N0gDOTOhjPKyXU1hzeU2h5q1m1Wd7xmUUvImwuDVWMFhzbZya+auX2ZMIJfvqYjcJTevJvhhd3uJtEUCK7R9E/cBNI1YE8aPrB1j9REbZ4RJCUZ0nHCsjHmZWW+T5TUfl9RuWZm7YlaEUsZFT1UR7G8MLCTIBzP5zE= 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=SC+40ww/; arc=none smtp.client-ip=209.85.167.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SC+40ww/" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-513e134f73aso4491473e87.2 for ; Sun, 31 Mar 2024 14:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711919444; x=1712524244; 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=Wh00IZ4XaNzJ01D9sGevctvSevNDF/uBs0GVWtGKSA4=; b=SC+40ww/QaITJUTw1R6HQl+2cNPNtBddGW4Eyl+PhIfhL5bCotPWD71mE40HoSq+FR /D/VoU5UuBf/9/e8Nn4nfn+/JJpjngTm72wt8Zubxzex6VGPRphyqaH0pC4/k5NADX1s UrCR6A4N+78C8Zhgc+PzvvlN1Q7eu1GOyJi090rW/zct3WJj/ec0lwIDYXUAEQfPIewn S8ngo5YgRfvOs/ER4PBh6F0wN4knzztpg6b5qdTGEe2w+ktiA2NF7CS2e3k7Drt1oBAv 1P/A07TVFPBwRmr1+kxzllwzIkBNGWcMuSubjhr99bBsQ0nt2coofrYOIElrszmMYm/d BHQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711919444; x=1712524244; 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=Wh00IZ4XaNzJ01D9sGevctvSevNDF/uBs0GVWtGKSA4=; b=w/C0Fdbn+Mv7GSC0XZzbK9cInf4RMpzBa3rPjC+2EWaFuB/wVEx+hTbnYFs2fw7IOM h/XXijmLTc9nYbOxIJ8i8CNuaSgCTbuZKKM+e69m3QaHOpljruGYN1vY35a80OtnVomO bMd49k7wje9dgkrqzL9JrLvyFGLiqGB+cBaWxyDP9bqxYYuP6429UCxruJ8SSLqdqqWZ AjHmhiX76AwutFjtAqI5zBTuJ384msosH0Hxy1GypU8E3S9NtT5C18deXBKJj0qDi4rb rfY/Z1JsDtUuGJD3MUSae2bVtKAN3RIB7DdzVebBCc7qtUQWtQb2Rf/8JBFPP65uO7Xb LGug== X-Gm-Message-State: AOJu0YxkdXavFtMPRmK/ecl/LpMKLWIuHXN14QeZomHwyPDPScjA4k3E J2+7xjU5jmkwmB1axQmokOqNb9GxkF5xlI/CRYQRO8G9UXi71TwHXK0lnxsysaA= X-Google-Smtp-Source: AGHT+IFt8FdYLoAb7m1w/IZp2TCwGPaIlGE+lQIq6cHWMX0LD+g6P261WhyUH/jTgtg6qTcxBkyOeg== X-Received: by 2002:a19:5e19:0:b0:515:d2f1:1cbc with SMTP id s25-20020a195e19000000b00515d2f11cbcmr5140423lfb.28.1711919444555; Sun, 31 Mar 2024 14:10:44 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id i1-20020a0565123e0100b00515cd1d5c99sm1033553lfv.85.2024.03.31.14.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 14:10:44 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 01 Apr 2024 00:10:43 +0300 Subject: [PATCH 2/3] arm64: dts: qcom: msm8996: add glink-edge nodes Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240401-msm8996-remoteproc-v1-2-f02ab47fc728@linaro.org> References: <20240401-msm8996-remoteproc-v1-0-f02ab47fc728@linaro.org> In-Reply-To: <20240401-msm8996-remoteproc-v1-0-f02ab47fc728@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mathieu Poirier , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1856; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=+monmzdqaDuGF+91NgZ2OzAyov6DJsof4fu61GAW+E4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmCdFSD/mfhrrDqt+bZbH8YWUTQeVVLed4W/B23 XdRoMkFiVyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZgnRUgAKCRCLPIo+Aiko 1SSOB/42UABi2MQUOuV1HAREycJq3MYMD+dBv1P72Dr2HbR/A7e9jXDWIEyg4/LaNhuPPXEYHgE xslCSuhmi5+bYJVcO/uPhl0UYZJwyrHH7/2aFyV24Et6j6DgKItB3XwldMcbgBc27vIQPwsGFbQ UqV1+NBd5oI3ykd2ieXkwXh5fOM+9fSuqBZ8bqp8J1cigzOHZ7pOBA2etR4g7288CylEbwUhvLk MZBU03r3fr2mr1Q2RJrVTy/0bLBUXvAP/ddBSnmAh+RAArcRhMBTjKSX1GlLD8OX3kc+gfP5BaL g7m40BRPQaI8Pf1dgysWdFGiC+l1eLZIYxBbMWtrx97Q8UiY X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A MSM8996 provides limited glink support, so add corresponding device tree nodes. For example the following interfaces are provided on db820c: modem: 2080000.remoteproc:glink-edge.LOOPBACK_CTL_MPSS.-1.-1 2080000.remoteproc:glink-edge.glink_ssr.-1.-1 2080000.remoteproc:glink-edge.rpmsg_chrdev.0.0 adsp: 9300000.remoteproc:glink-edge.LOOPBACK_CTL_LPASS.-1.-1 9300000.remoteproc:glink-edge.glink_ssr.-1.-1 9300000.remoteproc:glink-edge.rpmsg_chrdev.0.0 Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 1601e46549e7..7ae499fa7d91 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2453,6 +2453,13 @@ slpi_pil: remoteproc@1c00000 { status = "disabled"; + glink-edge { + interrupts = ; + label = "dsps"; + qcom,remote-pid = <3>; + mboxes = <&apcs_glb 27>; + }; + smd-edge { interrupts = ; @@ -2522,6 +2529,13 @@ metadata { memory-region = <&mdata_mem>; }; + glink-edge { + interrupts = ; + label = "modem"; + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 15>; + }; + smd-edge { interrupts = ; @@ -3467,6 +3481,14 @@ adsp_pil: remoteproc@9300000 { status = "disabled"; + glink-edge { + interrupts = ; + label = "lpass"; + qcom,remote-pid = <2>; + mboxes = <&apcs_glb 9>; + }; + + smd-edge { interrupts = ;