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: 13642163 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>;