Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1113367lqb; Wed, 17 Apr 2024 23:45:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWO4jsBRvCcVRaTB24hGUQJ/LObSGVT5eq/uPymLUVn7pPo3n4ky6x3QNO/v3IqXWthAwfY1XI7C8HHymKQrKiP/jILLI9DU8km8DK/MA== X-Google-Smtp-Source: AGHT+IEwSk71mcliQMMNjhEjOYmaSrr+xFIgwwmunPTmK0+9ipE8ciBcp8cJRsotoABgwyp6dGws X-Received: by 2002:a05:6870:cb88:b0:235:478:db05 with SMTP id ov8-20020a056870cb8800b002350478db05mr2495334oab.27.1713422745961; Wed, 17 Apr 2024 23:45:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713422745; cv=pass; d=google.com; s=arc-20160816; b=YTvRShIR7T70P3HNzQ11vNNNrZ1nvcM3Z77wChTW0m288ztQrTHfcRSGgUp09ESlzw vQPTtS3suK9Sw8zmerK+IeKcstb7y2iC4ZTVmDeT5BDtSpgz19Cguq6YJfDl7U3QP2Hd Qk1ghjacRHsnLWtaue7YTJ7DhC4kyQavKDjlTsFBcX65rmF0gN3ztVuEefwzTNNuWX4a EQc9TOln2OmdYt0Zl9wMsNMPWXVJkRWk1mxu+P0yTf+QTbNviBu4DZVGxCtB+0NKGmMl SQa4AgXkIFm9rhOpZiid1lg1MB3DABrWMc8TmaH2VtmSYNbBTu716yoN4I9Bm8+Ih7F1 RJUQ== 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=VjXAvADX9JoZN7Qlhb8cp4sVDIR5f7n51dedJ+CYLug=; fh=JtYrlhplDBbSk++9RhZcKDe/qtblvjyAxM5QyPzNUNA=; b=ZHe/jUffUSG1flplTBa/9PrHzdwm48hElk7PaqSU2QxBwyPOch1oyYRiDbruQzHxnp ZpgRvOZBiUXdITV8cWzykNngTUNV8/n6PgKD5D8hvHB2YVyB3o8P2GeroKoGD+iJVctM LcaA8fM86wx7b1L9pFULIi0727cUUhlVIhw3WOjTyx+agETjUTTDxKDZB3nnflX8kjqW /OAa2NV+E6A3B9KQib/dpP4F2T5rpfwaSeXUCDDGVQnFIhEVmaszwiQGJ7CIXv+VHcj2 lzVflwA/heCJeqNwMVIyS+JMjzL2KxkiQhD0pTlKKUduldfQZ9Z3jFO0e58WFCHce2Rl AmJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1NcfIKl; 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-149606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j15-20020aa78dcf000000b006ea93dd9239si881119pfr.144.2024.04.17.23.45.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:45:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1NcfIKl; 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-149606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149606-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E5334B20F47 for ; Thu, 18 Apr 2024 06:44:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88FF621373; Thu, 18 Apr 2024 06:44:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="s1NcfIKl" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 0693A2E3F7 for ; Thu, 18 Apr 2024 06:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422669; cv=none; b=catcV6GRWEeyAz3I185hYgjq5yT1qHztBkvmSApqVl3ApwOg4AuwELXBgzJDa7/sttA08V7wCp84cSDOjO72iiJilKvvftJf9/YOfnVtwm4cgHfi1CsNMXR/mOi8kIkOlUj0yFP+sZGDlIit81+Oaeyk1vG48fpAbHlj5Pjcz38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422669; c=relaxed/simple; bh=70pmiyDT7BQXXFJR+o3WuyoVAvuck37NZMstmDFqk+Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ybm/atgsa9rm/GErIkx0TrBLkfHFnMbit1CCXVgjQd84CElt7Ja7QdOB6wfKacoxu6FfRdut2rwGQpfI7/UtrvHaiyzydgJr7Nna9Q+rKI/HnWcJPI0cjarQ5WmTukEvllfMymOGbTC/ZiKr7eqrR2pFHAkH+GVOknsyd9gxDX0= 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=s1NcfIKl; arc=none smtp.client-ip=209.85.208.180 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-lj1-f180.google.com with SMTP id 38308e7fff4ca-2dae975d0dcso16607881fa.1 for ; Wed, 17 Apr 2024 23:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713422666; x=1714027466; 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=VjXAvADX9JoZN7Qlhb8cp4sVDIR5f7n51dedJ+CYLug=; b=s1NcfIKlMU5iuRYd3hE1lDjynkvNUhUHDHEiyoCceZPPvZUg8/fPN5O0Rs/EXTDNMa 7ubHnHGgtmmXZoEGkbQXTs8vzHZtYnsd3aY/HG1QxxO6Hm1oWoMCsRXIz9RjviAyoexa aCi6uMoBhSpj3FPSJ+SHO1jBmXwXTqbeLc9W/ehgXGOAZogLLFz9p2BC1UD7z4bSTUO7 TiURa6EIM6ucT7aJTLp5Sua/gxDv6y4YK94OqrtLYgIgbxVRRw4YhSCSmjKTraydJh+z rUEZ0a0Bqo7CQ/gokjKVT2hfJo9Ue3rbufQBIaDKL1iZZSW+BBzWgKMGJtcLkB93Z4wS fzzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713422666; x=1714027466; 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=VjXAvADX9JoZN7Qlhb8cp4sVDIR5f7n51dedJ+CYLug=; b=FaJVzy5vJPst7VnglXAKdP9iMr0sslYXtNLOcCpAIqefwB6gDEaG1AWB+aY1K0MOee rwbzY8lwvJ+/KI2JmfEsE4yzwp6fIxTKGpvc+WB8pUhog/p0mcEFQnmoMqE2e/bLw+6C GZvgWG7TMbgw4Nv17qe2DBk8i4L7EECMssdssaORRp9KpmXsbOTKIgdA5zBbMxk9P7/w bjhx1vLkSlv9GTKAnBhaQzpEBgq0izQihFD/v2FxzW3HeH+6UU6H+nLI265kjkYv8Qpg Oa8+1LLL5ksP8gXf6LlVt0Oq/3cdaVnJuMAo8u8zsBp0WgRoi+jnnPR6atWJfX5oYwnr RtMA== X-Forwarded-Encrypted: i=1; AJvYcCX5lP3hs6CmZUC/j0NitSnJcq+/7JDsuHquDxruwaCTicZGG4fukENb6cgYxkH54qXwfUe7efMzNUTnkvLl038dEotfDYjyguPeGPoG X-Gm-Message-State: AOJu0Yw88BxxnjKX8wcNvSmlJjmCACJx3MdSd6Kdqsney8Ar1HTnWMEA mJrMLXFw2ta+a3NulIiV8kX3Tl2a8BMuAsDW9iUyuzVCCv/Ci1+0lDjX1GKFpk0N+rJJkO8s4Ia 4 X-Received: by 2002:a19:7716:0:b0:518:a315:26c8 with SMTP id s22-20020a197716000000b00518a31526c8mr324766lfc.11.1713422666337; Wed, 17 Apr 2024 23:44:26 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id b9-20020a0565120b8900b0051898448680sm122122lfv.261.2024.04.17.23.44.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:44:26 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 18 Apr 2024 09:44:21 +0300 Subject: [PATCH v2 2/3] arm64: dts: qcom: msm8996: add glink-edge 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: <20240418-msm8996-remoteproc-v2-2-b9ae852bf6bc@linaro.org> References: <20240418-msm8996-remoteproc-v2-0-b9ae852bf6bc@linaro.org> In-Reply-To: <20240418-msm8996-remoteproc-v2-0-b9ae852bf6bc@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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1911; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=70pmiyDT7BQXXFJR+o3WuyoVAvuck37NZMstmDFqk+Q=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmIMFIWv09H+1I7VKKUR/kqm1pmuT+GAUq0Ay1Q yd7pkjh4rOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZiDBSAAKCRCLPIo+Aiko 1ZHkCACCa4m/C2IKHd3a/G+i9SuOx6ebGFdaXDqWLCrYUuBrsIvoGHFHcmOMlsjRy+Q6pIaUDLO XjoZR3+Kx1W/a2Y0KpN8KQkuPHy2GQ19zUB/xv/F0uj8tsAXFAXEX4VvIoBWDYXZviYj4XPK5CC 3XeQon6IQX8i/9qMnd7B2emXEWQ2aigGNrCAo++QZ+ZNkAD13ytGSwWinoQyNd8rLeAkufexb2v CUswFAlSJ2883SROQPgy23dZIjUMNsaQy8hSsUtZp1KLaNAPdixbN+ZsDXNTe5EoBoOLAJ5yq66 2J5SwTZPVjFo9byobDjhMUXRvToIdDjSmwBJNizakRgs80Hy 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 Reviewed-by: Konrad Dybcio 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 = ; -- 2.39.2