From patchwork Wed Apr 24 16:23:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 791623 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 DCD42168B19; 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=dt3dUWTe7pcWWYVz8rxFOAqwMaRjWGTZrE76C13dKXKgWH+pDeMrYF8Kj63St2WL4KyDTjjOLx5Dks3FGr84GLIqWDIYLgd8LaCj2kSF1k44ZwMR2ki7P5RTNUK3dSPOHLp7kz97cE2AqTew9Z8+Q0gitmRtM6lYtEbPpeOwrKc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713976464; c=relaxed/simple; bh=p2PUgz4UgDN8BhScJ63ELIredxmJ/DvCqJRgoSHMeDo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uCDnRNbN7Am+uMqGPa9BzQtOOPRoGWfM/9j6nNlv4HNL6mGBV9wbPulv3AK2KXGB+sBLzqbSCg3hvqRgNWeM/yh7bCvxT1Cgrfmrt3SlWmHERp3QjBkY5OVrPFLsIYj7hQuG+nx657lLAwqj4f0tGJFg1Ku+hD0kMHZE1TpAABc= 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=6kn+VP/v; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="6kn+VP/v" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1713975863; bh=p2PUgz4UgDN8BhScJ63ELIredxmJ/DvCqJRgoSHMeDo=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=6kn+VP/v+dbj4SdAnqsUXx71Y/AU2mCbogNdQBMdFXuKdOrLLBhJqyQuA6EYmznsi YY4BRBsFAhmhyLRzKJT359m3cPTBg7UQFRypLgRiZglB0Wsv7iBEMncxrb+kDjKDdh ETiUn/jV3uE+fSQRfFKqBj/X80xvkwHL1VjizLew= From: Luca Weiss Date: Wed, 24 Apr 2024 18:23:54 +0200 Subject: [PATCH 1/7] rpmsg: qcom_smd: Don't print error during probe deferral Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240424-apcs-mboxes-v1-1-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=777; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=p2PUgz4UgDN8BhScJ63ELIredxmJ/DvCqJRgoSHMeDo=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmKTIw9U3i3ifxXoB2YYegdlbUJfpWug3VH2uRt LK5g9RZ1wCJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZikyMAAKCRBy2EO4nU3X VrieEADJB9pzIZlaDFuRe/vXpra2hrFROLAG5HRcJXybeMt9Nkd8kjzo7PVsEKIhkoINCcS5820 S5+vccc5lPl2qH2FNdsZLztBU/zGXL3YdtFw3lTypYL3lrkSxlUBM4tuFw39A8xlM1nhjN1+3kS kEyreDlbDjxlZa3CUoRqq5r078IgCLeSI70WEPABz3Q6nRqCQjOhKQj4zaeiwM5Xk+B3j7KiInK GWLl1Msv+2iAgll72uxiBmjfEWT/i5b6YOYkULrRo2wGI3vmUtc3+aGlJdFMj9rZpZ2J0nKbZF1 CcgmPw/MLfr0b409kczG3XFvwFMplsnfC8ZecKlqBfgonHZx70RkzSobm6udXaEjrabHPmrEEuG ypLdloqUH4i4Rddzj6BHmK595/AQjJJd8Xx4PrdtqyBlMhFh/8zgrT6m4sAIPrDv7unqtkr6C/R ye2zvxcFt8icTI7WlxEP6+D9tlXZ/RzyTXZtQnV6fOTKnQku3ykFcXHZw3l+WtGgfp3CLNh/G3g KAUtientfBEBq6C8qw+Wukf71M+IQoLs+ZkkuERyMX2lCC5n6aB71IiZnMxdV9MXrL7ekv+dbzv BOpQ+u1Rp+hlHmc87CzyX8FPtZ/hk1J8rDmXDyLFhfjqch0n9YkqvXTsFc3BITP7/aGHwFtysoz rOYI1xREmOfEoTA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD When the mailbox driver has not probed yet, skip printing the error message since it's just going to confuse users. Signed-off-by: Luca Weiss --- drivers/rpmsg/qcom_smd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index 43f601c84b4f..6fc299657adf 100644 --- a/drivers/rpmsg/qcom_smd.c +++ b/drivers/rpmsg/qcom_smd.c @@ -1502,7 +1502,8 @@ struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent, ret = qcom_smd_parse_edge(&edge->dev, node, edge); if (ret) { - dev_err(&edge->dev, "failed to parse smd edge\n"); + if (ret != -EPROBE_DEFER) + dev_err(&edge->dev, "failed to parse smd edge\n"); goto unregister_dev; } From patchwork Wed Apr 24 16:23:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 791622 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 DCD8416C848; 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=1713976466; cv=none; b=Ew5WSy3PJ83gUiwPMHzOUsKX51Pd/aIqnIp6xmgszYO2O6EugjHKaXBvxRziWPq5/LXHCpoJNyNrKo/Qct+YKwsENcigxrm9WGWVkNX5kDn1s1kbUhCHsIzyJ6qXqO+PeVia31Xo2RbSTzHomdkTVT6v6p/HJ1LROB9gs9KRBWc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713976466; c=relaxed/simple; bh=T/HcisR2UIcbgArGuXsZIfK+Cy4lJBfreWW6I7UuzJg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LKTVd2fWkufEo+HTWvorANdlrIgKZW9NGROKMMmrFd6dpAd6WpgT8ibZSeBOk8TdUj2iRJkkxA3tuoq5hxzUNG2W+cM3VA5nx5++CYeHWDWlsDnqlJM76axEjDQ3PeVZ3Sz927Uu4Phy+BSHNzoN41J18md5V6ddifCCvzW3VYo= 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=bfZsS8xB; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="bfZsS8xB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1713975864; bh=T/HcisR2UIcbgArGuXsZIfK+Cy4lJBfreWW6I7UuzJg=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=bfZsS8xBUZ8n09cljicZ9F7WgkbE0KzMTFLKT1IADiSWVn7Ey3vqoWw33+BpjGIDA 5u7oB2EEGnFzZF1HIOxh72+OEVb8SMU/Gdsku7XuXrPksr9LZlkabKyccFr3s1P7Ll uZC5/MCQxrqMHJtVLjWhGaI8Ozp0aIPn9somfq+Q= From: Luca Weiss Date: Wed, 24 Apr 2024 18:23:55 +0200 Subject: [PATCH 2/7] ARM: dts: qcom: msm8974: Use mboxes properties for APCS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240424-apcs-mboxes-v1-2-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=2125; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=T/HcisR2UIcbgArGuXsZIfK+Cy4lJBfreWW6I7UuzJg=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmKTIx82l/iOWVQcYwyxo2ipCDEb1hZTih+NxHs gP1/0HBDnGJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZikyMQAKCRBy2EO4nU3X VgJFEADG3tSW6vL6ozetJ/js5B1C2Du/4KIimBN3lOMvC2aY0e4bXCFi2CKweDtIBJTHa0G5MVg Dpbm7ipWytLVEiQrkxQWUXE+CT2GuOoEXIR1jI17uDPiTiL9yX7a3dK3jvkJPomjSW5AnVrRq4L 4jeMasg/YTs4YKxvXFnIPH38T13KFLwW5A5K4NkYRd8uUb0wwl1mQKT5izHIA0qLUM/8KBtKNqA SW+t5lITCZ6VPCtyBS9B3qk0GOdbHt+2vAbD1VzTa1AQrO7DtqkapL3xoYuPvTNIhh1znStl3jn vL1WOCl6aerSW7iKiKc1MeGmUeTQeA/pH4rul60iD1hcZJ5r3Sua4VPgqGYGVBPwIsAAOaDPIB5 P7bCSvBd/dPBy8aoi8WrCh5vGJ3s5NS84mxJpYL8YNoAoJZ7pMkD4byahcWyHn7QMbyW09DGLj4 NnVrUifEJkCPDZhNZHat5MvK5iikQGbftSGB4KPonXyhuatmGGzINLtUiEP8AOp7WY/MwL6j7Ae hfH5TLFLG9a1c6GAR0W0UHmgpkyVWV2BbRwfPUNKVklbaO1gSXZEeu245x95TFBLBy5bT8MzjSU LH4l3vV2FCUUwMzDKFnXGXWCcIGEOTXUZ0Y/E7mLLp2jZ3xHJ9mkWlpMDgPoJcpA2pW/YhSadVw +K9z18JknPvuZ8A== 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 Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi index 20958c47ff3a..0f1dc4355c7a 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi @@ -130,7 +130,7 @@ master-stats { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 0>; + mboxes = <&apcs 0>; qcom,smd-edge = <15>; rpm_requests: rpm-requests { @@ -217,7 +217,7 @@ smp2p-adsp { interrupt-parent = <&intc>; interrupts = ; - qcom,ipc = <&apcs 8 10>; + mboxes = <&apcs 10>; qcom,local-pid = <0>; qcom,remote-pid = <2>; @@ -242,7 +242,7 @@ smp2p-modem { interrupt-parent = <&intc>; interrupts = ; - qcom,ipc = <&apcs 8 14>; + mboxes = <&apcs 14>; qcom,local-pid = <0>; qcom,remote-pid = <1>; @@ -267,7 +267,7 @@ smp2p-wcnss { interrupt-parent = <&intc>; interrupts = ; - qcom,ipc = <&apcs 8 18>; + mboxes = <&apcs 18>; qcom,local-pid = <0>; qcom,remote-pid = <4>; @@ -757,7 +757,7 @@ iris { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 17>; + mboxes = <&apcs 17>; qcom,smd-edge = <6>; wcnss { @@ -1576,7 +1576,7 @@ bam_dmux: bam-dmux { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 12>; + mboxes = <&apcs 12>; qcom,smd-edge = <0>; label = "modem"; @@ -2213,7 +2213,7 @@ remoteproc_adsp: remoteproc@fe200000 { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 8>; + mboxes = <&apcs 8>; qcom,smd-edge = <1>; label = "lpass"; }; From patchwork Wed Apr 24 16:23:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 793130 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 DCDCD16C84F; 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=XmWIIlbqrztx+KQ7ylot8ZLuCCQCzpigksA3HUCkBW3/eCxe7wNebZvr5pGzX23alo3EKFPKLwOmD0JCAnQEHu1g70TNpjOIUIUptIthlTN6WyKaBBlay+kub6hSxcR+ASgjihfo1O0gJazeJTBC+mGv4e7TgblQ4Jb1L1KpnIo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713976464; c=relaxed/simple; bh=IDBt5vHgqYpgIEZTqspSr+mLLR+HWHE8TJ/PpluCFfo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oqywv5zc0gFxgEtbN92DE/lGIJee2BgusuTPPtjkDXX3ofwBwGjWPSSz6FyiJ/SrOmD7FIJ+YYIcecO1Wd8bww23G7IgqHYkNn0wpdeNYN6wheFfDvRbdbFBBfyGo/ftK6jOFJh+f7ZOFCTneYIFtzar3D7cG7+AHx/l6+upLSQ= 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=8G/ghwxu; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="8G/ghwxu" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1713975864; bh=IDBt5vHgqYpgIEZTqspSr+mLLR+HWHE8TJ/PpluCFfo=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=8G/ghwxumS352eOhK1gr9Nnd3K00bjD/KBKfDSiP3txrS+JjWqd+D+x5kNgMezux/ O3JagZNSJfRodUKGJwRUbjSkTAL03L/lVgsPoGIRymVnDTZOC0b4E5OPmntD6UtVbK HkqDKuicKf1RRRd4ODplj/D9AtuLSonZyHjWwctM= From: Luca Weiss Date: Wed, 24 Apr 2024 18:23:56 +0200 Subject: [PATCH 3/7] arm64: dts: qcom: msm8916: Use mboxes properties for APCS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240424-apcs-mboxes-v1-3-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=1605; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=IDBt5vHgqYpgIEZTqspSr+mLLR+HWHE8TJ/PpluCFfo=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmKTIyHa29KSABFJSlT7LBcuwPT9whJfontd75z uMIxo7mTW+JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZikyMgAKCRBy2EO4nU3X VgG7EACATNO/wLs0GXJihe3epk8vvBXvSeZw4JZV1qm/zi5ySjssnfvSS3CSy0oXvFrabbpg6vO X/FGhhbaFN2A4ABSmOHkFzy5U2huxGdlAydX+FvX2mbtAk4W+k+38MKU9i39E4nLckhCWdA6woZ frIRt0nP/Qfk8U8PrZkAjSI9+XIXFo3nwgf8hDbTGSat4R825jBp295Xl5nkFdUlJLbwsghYbMZ BMZaLyfnal1gGrA7PZ6mFCmXyDuTdg39CwhjyeZhsP+W1fiwtqctkhuvfap4fgBCVEZuynjpZxJ JZ9ESSzpxmsu1AVYClXfmoMI5w6GF74wUhXpKGU6vWy+7jZBXMPGUBM70wvItD6fIyuKupgQCVK 22dr+Qm0aF+73g2pLW4sYMz89W/dbBTXJqlTLQAC7y70ITiuhRWoB5lahUfxSF32QEz+YfW0MEn cBBOmPFySOqBTGPRKPingwwh6syIdYPCUqwJect36oAjorEqn77PvKQ4y7kJtf5QZHvSmQ2tcZY t4b30zaTdeZ/HRgFiw7Mj6fJIElWPxEHjov7qeDeoQUz8HIpOY3NsbvkEBeG+8FwjlKEPIgxAuX KTkGaBCvO2GFITN1ARMqfaT9dAKXDkRmWT/Vor98cbHKK9Kl8CixOzZsCUQV1E5JmhqpdGWDoTB sb4BrbSAoVyx3tA== 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/msm8916.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index cedff4166bfb..46bb322ae133 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -308,7 +308,7 @@ rpm: remoteproc { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 0>; + mboxes = <&apcs 0>; qcom,smd-edge = <15>; rpm_requests: rpm-requests { @@ -360,7 +360,7 @@ smp2p-hexagon { interrupts = ; - qcom,ipc = <&apcs 8 14>; + mboxes = <&apcs 14>; qcom,local-pid = <0>; qcom,remote-pid = <1>; @@ -385,7 +385,7 @@ smp2p-wcnss { interrupts = ; - qcom,ipc = <&apcs 8 18>; + mboxes = <&apcs 18>; qcom,local-pid = <0>; qcom,remote-pid = <4>; @@ -1978,7 +1978,7 @@ smd-edge { interrupts = ; qcom,smd-edge = <0>; - qcom,ipc = <&apcs 8 12>; + mboxes = <&apcs 12>; qcom,remote-pid = <1>; label = "hexagon"; @@ -2459,7 +2459,7 @@ wcnss_iris: iris { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 17>; + mboxes = <&apcs 17>; qcom,smd-edge = <6>; qcom,remote-pid = <4>; From patchwork Wed Apr 24 16:23:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 791624 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="KxZb4Ihh" 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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Reviewed-by: Konrad Dybcio --- 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>; From patchwork Wed Apr 24 16:23:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 793131 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 B64A415EFD6; Wed, 24 Apr 2024 16:24:32 +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=1713975875; cv=none; b=EBawF0FmbG6ZFwrgbE+GNKt3t5fJaBpL1ZpD9/56C1NNqjh7TiOC2+oPpcYvpqK7pEBGaCWTmGc6+fYn0pHlO0HPjBybqQMP0iTap6m++PxNeK8SwGJUZllzdM2dCJqNa/uv7ljNpQp4UFbxatAGFV/nTW7MO82XhYJpDl8xQWc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713975875; c=relaxed/simple; bh=JUbWmHCb3T8yAcfb7RyjaJZbwwO7FX02lWGqRfiyVjA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cywogibpLb809xXDkbDXkKHf+BLoY2Tw3edPiPPRjGfwFiI4gpNK5hoCD3rKkAo/DXkKPmqVkKBroHYz0Zu5BPA/i9rk4nxmlKGMWgo8QXP3FOnVSRUEv6lxowZ9q0Tq88trRHWTiomwwYssGdTy/iV3YUtgOyCH5moKMvlFQmo= 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=YDK5LxJn; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="YDK5LxJn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1713975865; bh=JUbWmHCb3T8yAcfb7RyjaJZbwwO7FX02lWGqRfiyVjA=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=YDK5LxJnXBBoPpxKs7uvgcUNCts+ONzAhWhTHU8xA3PnLYgvO1sedTV+oAqGoKIBG 6/bJ9AvI0RaKFO8eMC611uqFTqc39Qgq9w4TFd5X5kdAwfACshbAY4SlCcM5d00FWX 5QZA48N55xhak71234M+9bvGTGLIj6uJVRnxhOd4= From: Luca Weiss Date: Wed, 24 Apr 2024 18:23:58 +0200 Subject: [PATCH 5/7] arm64: dts: qcom: msm8953: Use mboxes properties for APCS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240424-apcs-mboxes-v1-5-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=1601; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=JUbWmHCb3T8yAcfb7RyjaJZbwwO7FX02lWGqRfiyVjA=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmKTI0Y/jMRq3mMIsHqHHAQytZXu+YvdQ2Gu627 rlO70/NOA+JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZikyNAAKCRBy2EO4nU3X VpBJD/wNe5X40OAsGLaI63X5nBWbFcAv+qQ/OAWs0Gdy9ypN39JJtYkTujY3kOLk6DDbJtqWuB6 qoO1Qs+fqbyHCX6guzbYCpGJFLgJ+OD27aYWcGe3ljvkA0KydQ1rDSX/49c41z3Zz5dKkSZnswA mAmK7CSUxfa8uadmoIZ/3P0KycO7x+LWWGLuTVpabH7um/KOlmlYO0faX5m8s8g/PcrtzEP//fJ aQfS6P4A1D8H1F/dw2xX697a9oBh1rbTnLJJRWgwpLb5NVKlYkr13GEseIT+0XOpZubSpzGjg+/ GW19dUt09NWCbSZ4KDUF49LRTlNvFXSiwB+ytP+W5ICf9xwIE3hSeCCnTCD5UO9VaolrR+ukNc7 NJtene0LCDJ9qBUDWJeT6nFoFI6I9OYmNfK49pABA2G9b8nGDQ4FHvZMTdL9uCGKec5A7N1DHT+ G6GI40q6ySc9lw/iuFXuHum+Ayp2rIvB9hvcaUeO37hsgUvmTYqxD0NhghJqX0KB0+B0e7KSsLF HvhveBnQDXVK90Dfxbm2Xt2YN4F863rxeJxfu8fETWSfaau9ygCmq+SyI0t1z4XdG4uU8+zxZCH 5d3Knet+w6jKp1Ede6kwx7MlbXrolXrvbGNiIFJ9HOZ+Q8MounaaFvjjcMg0CJ6u8Ag06g4eUmh FCYFh5gE9L1TVtw== 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/msm8953.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index f1011bb641c6..650ad75923f8 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -195,7 +195,7 @@ rpm: remoteproc { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 0>; + mboxes = <&apcs 0>; qcom,smd-edge = <15>; rpm_requests: rpm-requests { @@ -361,7 +361,7 @@ smp2p-modem { interrupts = ; - qcom,ipc = <&apcs 8 14>; + mboxes = <&apcs 14>; qcom,local-pid = <0>; qcom,remote-pid = <1>; @@ -386,7 +386,7 @@ smp2p-wcnss { interrupts = ; - qcom,ipc = <&apcs 8 18>; + mboxes = <&apcs 18>; qcom,local-pid = <0>; qcom,remote-pid = <4>; @@ -1267,7 +1267,7 @@ smd-edge { interrupts = ; qcom,smd-edge = <0>; - qcom,ipc = <&apcs 8 12>; + mboxes = <&apcs 12>; qcom,remote-pid = <1>; label = "modem"; @@ -1734,7 +1734,7 @@ wcnss_iris: iris { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 17>; + mboxes = <&apcs 17>; qcom,smd-edge = <6>; qcom,remote-pid = <4>; From patchwork Wed Apr 24 16:23:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 793132 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 B64ED161314; Wed, 24 Apr 2024 16:24:32 +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=1713975874; cv=none; b=I4fDQb95A+ZT256hTfDRqpkmFVwgmd7nU2tfo+oEdNJgQgLAtFhazveBTn2MMX/kqUsnqJntrZMtgz3tqAxZzbyFVpd17T4XQ+amcrlpkX297saLOPPi0rEvkh6G5QPqTkOLqEzRnw0V+LnXfcJ0YLHgJC8d0qRz5lMW7cBJ3oo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713975874; c=relaxed/simple; bh=VF5IKVYD1Jky+tckvrVMe82GoXHAOuk4n3wijFv2Qoo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gDFWYkeDZ3VPhXh7Jqw/TdfZmNlSBSoYbmbMmQPN37LpPIuWbLpzLI81Iur4pOGs4d3lI+knCgUI42ys0ESxFh5L6HDzFtg05dxI2rIxCArXhVXEpAqeBlfFm68R/h1/4uuR9CeZV9dyi1dHV8DQz7J1R8LlAbdlCe7e29Nnjjs= 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=i8rvFTW+; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="i8rvFTW+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1713975865; bh=VF5IKVYD1Jky+tckvrVMe82GoXHAOuk4n3wijFv2Qoo=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=i8rvFTW+jf2yLB6sigAWhUhByu0z/hBT4OvBKx9HTmlPFxyjHuECqbF8QObVcN8qy Fs0Wu9PgiTlqqbcOtoYao9LpbtQ+sdgKAIWt6j8VTlxKK5EUoE2cO2OnZxKXoQ6r2P 6L76hoTmTA3nc9NxSP7dP7vriBg1HJTx2YN9l5d4= From: Luca Weiss Date: Wed, 24 Apr 2024 18:23:59 +0200 Subject: [PATCH 6/7] arm64: dts: qcom: msm8976: Use mboxes properties for APCS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240424-apcs-mboxes-v1-6-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=1504; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=VF5IKVYD1Jky+tckvrVMe82GoXHAOuk4n3wijFv2Qoo=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmKTI1sGwYu5apSYgnnIwAzRat1FrEffAKvKfnk NixfBEVgE2JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZikyNQAKCRBy2EO4nU3X VjJ2D/0TzkFQY8jBf1QIJN/2SgS9IBOLpvUPkbBAbCUih5X0hAioEtEsfzCHvZPCTWhPIXIW26R PMI/ujVCMPHvUMAMYgiWdRqkfZtH1WqDCfTWwPy3e0cuNxf9hFetBqRd9ND2Z7Fb1JAi79VENID GmBNNK+uMEB4EO4ZS3ccFvJ7X+Uy38N0nD7H8a+l7KrmtirdJf9mQel6kWM5RE7c5Hhdnq2TnqB XIv3QWM6HSigmRiPclYzXlveNvbyJglUiNWFltTFJrJ35uO9WEeYbISuRI/6/HurGkm9oWUsm7L pAdS+6pCZtwIBFvm816r34NzNJMev5QIMF8u6bzijEJSq2lTGuZpSWLX3MYY4YIdrUfTT5GD/BV ymRD+Jo/C0XHSoiWX5O1RfBHYiqbS+cvdybpe4ocgdxQ797KYShg2AvuxcbmM990hegyc4Yg9oo yfVCtp1xIBrQAvnZVAhIloXa2uDmgIvaverkA1acya9IFkxg+t/M8CjsZyi+tBgPpsCu1kqUrmH Fz9vFs9WbyzKjHYbqV9ITaO+ewWOXLYnMEZSlP1COVGtej3yZ+fpEU4xx455obztFPaw5c0UqcO ecKE0zQesDOsOQIk7JT00P+NmqT7ADW/QztPfrWnpLRugHGlkizG84fIXMTxLoc0CpzqOTnmvLr U29WxEbs+vra5Mw== 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/msm8976.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi index d2bb1ada361a..9ca0867e45ba 100644 --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi @@ -237,7 +237,7 @@ rpm: remoteproc { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 0>; + mboxes = <&apcs 0>; qcom,smd-edge = <15>; rpm_requests: rpm-requests { @@ -361,7 +361,7 @@ tz-apps@8dd00000 { smp2p-hexagon { compatible = "qcom,smp2p"; interrupts = ; - qcom,ipc = <&apcs 8 10>; + mboxes = <&apcs 10>; qcom,local-pid = <0>; qcom,remote-pid = <2>; @@ -384,7 +384,7 @@ adsp_smp2p_in: slave-kernel { smp2p-modem { compatible = "qcom,smp2p"; interrupts = ; - qcom,ipc = <&apcs 8 14>; + mboxes = <&apcs 14>; qcom,local-pid = <0>; qcom,remote-pid = <1>; @@ -407,7 +407,7 @@ modem_smp2p_in: slave-kernel { smp2p-wcnss { compatible = "qcom,smp2p"; interrupts = ; - qcom,ipc = <&apcs 8 18>; + mboxes = <&apcs 18>; qcom,local-pid = <0>; qcom,remote-pid = <4>; From patchwork Wed Apr 24 16:24:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 791625 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 C3C39159576; Wed, 24 Apr 2024 16:24:33 +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=1713975875; cv=none; b=p85qfAsesuxrUmqEY9gQq/lfJeVSrhq9Kk8CxMQGRNahUlIBzb+ksyVuFm0fDdsqM84hoYchfcCPHfvvw1fVvw7zgOORgJ8mxpmeWn3WK74nZ71WfbcGpRoiZ8X+LbMyLyrbTOGYA80YjJdLTXX30meGkSbwVsnoheNfTN2Alq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713975875; c=relaxed/simple; bh=oX04eyGErTHRKLRur7Q5Tg7x7vhHJ8z9GyzxxFQ0iuo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VCLoctU/xos1wwYliJ8yolM8JXBNG3JGKqpcC2dTs526j6VniBpvm40S+uoUSRpGExiF6tquNdqDFRex8iX+KKIMhQeBKuhkgtLNw+vnhKUFShQVYliVK0pIoPTcBQNY4JwiuyFz6WKTE4t+OLL43loZpJlnHPhMGoBFhazkbjw= 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=hWf87drk; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="hWf87drk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1713975866; bh=oX04eyGErTHRKLRur7Q5Tg7x7vhHJ8z9GyzxxFQ0iuo=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=hWf87drkeD2wI6cruZ7feSx2INRquwT38zBrjEI4UpNtEkHiLl9WF7dGwQfakfSJ/ HtTYGlyUUNjwxBE631TBmi02Flz2OzvAqNVx8JB8J5PqZ4WgsJ7YxPPcZjQhPat9Rb rHp89xqFg64j3/KDRslOpqoQMmmF4BRd2zWoGVFM= From: Luca Weiss Date: Wed, 24 Apr 2024 18:24:00 +0200 Subject: [PATCH 7/7] arm64: dts: qcom: msm8994: Use mboxes properties for APCS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240424-apcs-mboxes-v1-7-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=1155; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=oX04eyGErTHRKLRur7Q5Tg7x7vhHJ8z9GyzxxFQ0iuo=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmKTI2E/+v0OEhDxT1CwZbo1Vh0lx+xECLqQE5E Nf5DIqqXLWJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZikyNgAKCRBy2EO4nU3X Vo91EADDMu543O5Imvlf6dlmSzSqFbE3C3NXz7IW/OPLCqJnlU8i3u/k3uO192GgmoEJdhd6Wtw yNqI0JWAmQfc2ljSlIob45tnbuevuA996qPWIH6KgSj+Tmnrfx1B/H+dQl3irFtzO0CAmpYfN0X Fvn3SjuxyYjUE/rRkOfgnu28EnHqio+zRvKzvfh0SMmvYRLkxSxb2FZcCk4Goru2XfV5q7AAqLR jf/RjzBJNrG9J8M2dIWPx+KN4TdGijmvPcrR8og0JDJBYchYPDRNhNE986lqNuZhAydSioarl2L NRbS+BHjZ4BvyfGLz6LXdEFkdtaQ6Oh0mmW6I/xpUCqfM3zJDfbvrqIEEnd2pMV4HeZTUNIQrsz +moCDlkGdGI+3yvPFq/bch78rooj8VjmW/ld6D3j6T6aEs5/c1ZfOzj8f4Eo8z1+171NMmTZHLW YaIHtcCgQEFJb75JSpl+BS128inIS/velVscecR2NVk93pKYZ4KYIgKDyZNXr7cEGQ0S761Jzn1 e9M13W8drNR8ctdUHPLSSkITXarNKi1DVB9WWJEoG6Iogus1QfLRoK9xVzb7vQ0XmxVZ/wjO0rD 3sguBhXXLZR3fh19R3j+24yPoPuwW26IDUllEt1kFAD8BOsy9mO1/myvWTSZbz4PKUOCzYNh1UO zQMS3OmuUL+CP+A== 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 Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 695e541832ad..9949d2cd23d8 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -183,7 +183,7 @@ rpm: remoteproc { smd-edge { interrupts = ; - qcom,ipc = <&apcs 8 0>; + mboxes = <&apcs 0>; qcom,smd-edge = <15>; qcom,remote-pid = <6>; @@ -300,7 +300,7 @@ smp2p-lpass { interrupts = ; - qcom,ipc = <&apcs 8 10>; + mboxes = <&apcs 10>; qcom,local-pid = <0>; qcom,remote-pid = <2>; @@ -325,7 +325,7 @@ smp2p-modem { interrupt-parent = <&intc>; interrupts = ; - qcom,ipc = <&apcs 8 14>; + mboxes = <&apcs 14>; qcom,local-pid = <0>; qcom,remote-pid = <1>;