Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp543268lqd; Wed, 24 Apr 2024 09:35:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVk0zAi/NiusKQM5l0pvLE4jo/8/WrTHvuz13PQJitjk0K78Aj3GWiFRdpcQCuD9oDPoT1OLpO9+C7WeXUK7b4WiNPtQg8ogF1BovZqCg== X-Google-Smtp-Source: AGHT+IG8JH0SIgbzBUnn+0S3h4cHn+XPC7FtfG57ZFDZ/Q7qKb9jljNZS8xy+9sbZNN8CtjSfa9Z X-Received: by 2002:a17:90b:4c50:b0:2ab:b842:9870 with SMTP id np16-20020a17090b4c5000b002abb8429870mr2701861pjb.4.1713976509453; Wed, 24 Apr 2024 09:35:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713976509; cv=pass; d=google.com; s=arc-20160816; b=s9BiKqWz0LjvrbayQMtpFcXFjIBYyomsdglxfL9jHMMoQAIpn+TjqqUvhmzblxkKlD 6hhDHdanpsPkO0HPGrhU5W4xr4dBSErhOTy79e2i3Xb4R2zhG87MyVB4rKzsbZh6Zvf/ juw9F8x80JCJQIevWNqK+gzCFWxM4vWp6srdvGtCXTLg8FTc00ndHPSmt8ojifbLLwFs r4glnLCKdLM1SPkJc6NVX8OdIXdW00qMM2BSQtMks0PvopDOm1xE/WTn7OYM+fULihAP gOEYAyMHHWQdSU9WccqxsKrpgOXSBLPKvn2S/He5nsWtnMxeYGeoKiiLbHcXnEwHfMDt WE4Q== 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=4jNZKBM3e0SxTj2S4degFuQAjwwA76j7ME0nTklYmVc=; fh=pWMaV3noCv4uWDq9qpKNdqAadYmgiCkOk7emndAdy1w=; b=jkF1hKQYe20dfaIOO7MxaMmOed0WPceVhgOCc0cJFigaOJdXs981w2tGdfffE0yiiZ yJ5AWJorYpOPZANcrKVu/+1TrfyJ81Ht+Ozi5zIlV4ayfTEyUWx4zYsL2MKXfmH8kABD Rwe7qcPOxKyWZzillQQccZoDUeP+T7LVJk289UyAeMfep1OhnoLJvgRQ3Odal3yDwEn4 DXjX0UU3JOX8ZwwIfugdcWtNJKhvPnNfHc1Wlaj5X4nbX1g9O5CHy/KMm5PuxFKzSXsV 56Grc6vkBuX5yIVGLIC9f6h85yQ9f0Z7z50NyZoyyt5emlGQPF9T6JQwn0ZCElcNWe1I cYKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=KxZb4Ihh; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-157330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l2-20020a17090ad10200b002a85806f6e1si11556212pju.172.2024.04.24.09.35.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 09:35:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=KxZb4Ihh; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-157330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 525F0286C06 for ; Wed, 24 Apr 2024 16:34:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0891E16D326; Wed, 24 Apr 2024 16:34:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="KxZb4Ihh" Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (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 DCCB01598EA; Wed, 24 Apr 2024 16:34:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713976464; cv=none; b=fDMRoPwQOwDlREYs5CfoF1GLx7eWfjt12AaaS3RY8x2hzfW6IXcPg18WrYg11JQZqiyXDMFgt7Wj0+y07MgJkB8Pvq7zNnTYiTHxdJUh8TD8fOsN4Tz7v/ltSZFafYcWC2UA7eq4NihAfr/iHiqZOGdo2B7q7sh6dqPf4njadQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713976464; c=relaxed/simple; bh=R1dglupSB88KtRABHMa3LWVRmrMi6PYIteYLYg2xY+0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Te4JUAU12sja+UevVDKK8x9JG2OmmGJ6+TV3Scmx7bgJ3q3ftCYSJH2liPjWM/gpL52Fow1dZV6RZqP5dAxGwNkSH+mhRjHaCxcHGt5GZ5FQdIkGTfAmLEjM54QaEdm+7yIDa2wQVJdIiVi5Ulo5Cb1vIzqSJbJXudAKZQAAnQ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=KxZb4Ihh; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1713975865; bh=R1dglupSB88KtRABHMa3LWVRmrMi6PYIteYLYg2xY+0=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=KxZb4Ihh7f2RXuDcs3j0c/g04nu5+VbFZWkjxS9DNmfIpAh/r/i8aHoUYATXxMNe3 s3obQQLRiK/F3LODLd4fLvtFZEiH5CziRCDHYwSKFPxktzsmvXt+P0B0SoAKu69/lr ehg53I055DqvOCzsoWMnkmY5ltlT4Mfp3eCSN2XI= From: Luca Weiss Date: Wed, 24 Apr 2024 18:23:57 +0200 Subject: [PATCH 4/7] arm64: dts: qcom: msm8939: Use mboxes properties for APCS 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: <20240424-apcs-mboxes-v1-4-6556c47cb501@z3ntu.xyz> References: <20240424-apcs-mboxes-v1-0-6556c47cb501@z3ntu.xyz> In-Reply-To: <20240424-apcs-mboxes-v1-0-6556c47cb501@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Mathieu Poirier , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=980; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=R1dglupSB88KtRABHMa3LWVRmrMi6PYIteYLYg2xY+0=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmKTIzWeuJ0gzE/BH7sEN/gEOMejEaQZPoSYJI5 KKQOWZ6VouJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZikyMwAKCRBy2EO4nU3X Vi0XD/9hVUYVPLwAml4TsfZ6UZA6upU5mk4Eh7M6UUeTup4mwq3PSxOI5vq0TSBnboTRf0mHLgS XB6Lg2bmKJEafrmxHvO9NLfKO7+OTSUxUOGehvVKtwUswMhQWY+QzGmsQl2vkH6MgGs52E92IB7 tmXrzc432OBFJg9r9zZxGjNee5tKLkL862lmLNcokI4Nw21ShFaBQAoosCNZ6PPJGBs9rBIO8D9 rfBkmJy3/T6ZhObqppZihXUsUdClXsLiRxoolq0aV4CMg+zEoRsafNQg8va8u6SZfMrK7Jcsxy2 gwqtMPV1t1rZilfmVrNMrkCg2DjvJpdUX74IyelVMkvJbKNANdfL8xb3ZkiQgSKvEeCCqphp98d pcTRJeyttUM5DILmqjpdOvvfCsa4b5+/+r+9LtRMZ+To62tJ9EgLKAju2qWjKaTIiBhgkokbNR9 ex1A4AaLtAlta3zhiamEjK8WDQx4J6P/DI5cfUAIzNseWogdxoTFPPAW2k6UMcIT+YOQr+h9rwb NW6OMN8njgplCSIUfETNLdFUr5lQ6tvK/Rfl1R+SU1Aj6H86xL/4aRaxaHlLXtRwDoH/rB30Hub GKTEP6qrJJi93iqLVlIK8DPysx3lgzZEB5QaAzRL2uo9PKHjk1bF4gbfkcnobOlOl2361g+aSyI kWHYbOc6ktu7nTg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Instead of passing the syscon to the various nodes, use the mbox interface using the mboxes property. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index dd45975682b2..95487de2ca6a 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -248,7 +248,7 @@ rpm: remoteproc { smd-edge { interrupts = ; - qcom,ipc = <&apcs1_mbox 8 0>; + mboxes = <&apcs1_mbox 0>; qcom,smd-edge = <15>; rpm_requests: rpm-requests { @@ -2067,7 +2067,7 @@ wcnss_iris: iris { smd-edge { interrupts = ; - qcom,ipc = <&apcs1_mbox 8 17>; + mboxes = <&apcs1_mbox 17>; qcom,smd-edge = <6>; qcom,remote-pid = <4>; -- 2.44.0