From patchwork Wed Jun 19 16:42:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13704291 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 8A0E55C8FC; Wed, 19 Jun 2024 16:54:26 +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=1718816068; cv=none; b=s6zksxkPr76FauuO7E33KMaB7cPRH7OiAl3OXDPR+JzWP1KOYb0XOHncO92vhGbXQvbQSdSnZdwTE16BNljFixAO0nLfsudRwo3bJUlgvOOswgAcN799CAvU7mdV0hf06iyLH7vnAfo5ZWG7eRDJGSrTceZ7dhafoQnOhPU3/Es= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718816068; c=relaxed/simple; bh=/02P1251JBeKc3cVsZQGagO6CFxC/8yXaNFlnkg+NjI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oKSUCZ5ksBpNuJZCwLk22GmdQEjdOOg3OOEQyLta/6UOPXKZky+K5a6yvzYer/jD48HsvjZoGMFWCmAuk5dD+KTYf9rXoROVuAmxt6gxy2vcFWIwST3uDhlVSKG2PTToddT1WP2/sUxNl+yIflImzXZo/hoyo1a/VJCorwQr6Cs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=pakniau2; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="pakniau2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1718815509; bh=/02P1251JBeKc3cVsZQGagO6CFxC/8yXaNFlnkg+NjI=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=pakniau2Gbj5dCKpsQ5na/R0scG0xi25htTwf3G5sel19hjbNO5ZrM0ogQ1Cg4zmJ LmB1SFSonHMYltiV6t/Q4dOr8iXque+07f+7OBBEDar3DSqvYj1ftLnJS/Hs0DKKmi pwB8c7DOH3p72C7OoWyVKwNP+3XuEpDV7x08W34w= From: Luca Weiss Date: Wed, 19 Jun 2024 18:42:27 +0200 Subject: [PATCH 1/5] ARM: dts: qcom: msm8974: Use mboxes in smsm node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240619-smsm-mbox-dts-v1-1-268ab7eef779@lucaweiss.eu> References: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> In-Reply-To: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=784; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=/02P1251JBeKc3cVsZQGagO6CFxC/8yXaNFlnkg+NjI=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmcwsQxj1xeibLazV71AcOA21pOPVhT+ro8iFj8 jdRZ+Sh3sOJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZnMLEAAKCRBy2EO4nU3X VjCFEACxT4rYdko/asJUn3hXvf5woIG5MncmScRVWkAhAFx6pvs2g1yUUAtabJq1B2wRzC+TCEv 4a0miNbPgSVwcItJ1zXUa3ul3HCbtdX8xDot47UmGnHLyV9ntKmZI8INzOqX3NcR1eB+THA0m8S 5Tmq4MtrfzxLqB2LwWPzRjAthEBB3CVsTZL01JAQMAwxXznfdzvoDNkEEzsgFYOEJEtzgs2db5K /pZrGflsxx4oaP4lBMvey83ASCAzqXs+AnVuy0sEUhKUyFUbMSDpTuSLxZ2tlQN+9fxqgSCGpBn ZJ8E7IpZxVMGlVGA5taVq3aYuhKOubtv6mqlIv8Csqtuy9QBm8XMCC0EbYtMDCfc7adAqyyJEBn LIzZK4QG2Q7lrYolotcoeGYXgzcr4XSzm3hjxiAy1McprGbTq8CuhYo6dwMJaBnknYnv4piu4nq 7W2ZK8S3xv2kknPQA0lxxrpFoQDpeVyLci9xv3w4RwFL0HS4AbwH8aBBDsovm/YD7GXn8rB06eE bKOqqHomAdKrQ06m+Rzs2MoZKTd3YUuOpL4ppo7gaJAjM4IYBHoZ31yU160TPqhoc4lgHgp6iRy mNXggscod7ovJC5YERZG8kFg1ttzacwMWL0OuijfEDUYocRZZDDG+2regTP1fr4BXCjjjByyQMd MpXEULtjCBZdH8g== X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD With the smsm bindings and driver finally supporting mboxes, switch to that and stop using apcs as syscon. Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi index 1bea3cef4ba7..18b6a7c77996 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi @@ -294,9 +294,7 @@ smsm { #address-cells = <1>; #size-cells = <0>; - qcom,ipc-1 = <&apcs 8 13>; - qcom,ipc-2 = <&apcs 8 9>; - qcom,ipc-3 = <&apcs 8 19>; + mboxes = <0>, <&apcs 13>, <&apcs 9>, <&apcs 19>; apps_smsm: apps@0 { reg = <0>; From patchwork Wed Jun 19 16:42:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13704292 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 CD11B15530B; Wed, 19 Jun 2024 16:54:26 +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=1718816068; cv=none; b=BU9Gs2lZPsmae0v0XWkL4ppVPTKLtdqk6txxVuwsKevE7MuayMdZlz7q+MaxXVzJLsQzv7RKqNOghGPXJqF5USX+xtReed0QvrzBYfa8mSM2H0uocOA4Ldx9P/kqpBltMPka3lf18nxOzA//odKFqzNwAgxPaxcgzxW/zqm8LVk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718816068; c=relaxed/simple; bh=Ekl8nsWE1QqQW0cy53Cm/B/0aYqmX5RnlMjgQQIQf/8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RTe16eGo3elbCK7yMX6kbpKUXX3gvazJ/unU9hiwDu2q8lMGRLAUOjN3FAtIJGI+ODEi83MkUdsVDqWtCrBO6EcC3l8pgWODoUSFT0dMmSH2ndlC16nO9N68K/aYFyVWFoPOfaloMbBd+mXC748HV4vWLZhRHrsiw9kZAF8rO30= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=4xeZFVYJ; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="4xeZFVYJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1718815509; bh=Ekl8nsWE1QqQW0cy53Cm/B/0aYqmX5RnlMjgQQIQf/8=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=4xeZFVYJPBgvWIjUT9p4+VeY9NdRJWm9CJziKmk+agSG9jjuHK3JeyP45FVJKFHYz jVprD3fScmIjUCrblDyMgrm28OdYCLS7HUOc0yytvn5ymGlA/ExrckXwutieyLrSyQ WZCWVJzKVILLP8MlDUAeQ4mGzxOE+A8kqCU8okM8= From: Luca Weiss Date: Wed, 19 Jun 2024 18:42:28 +0200 Subject: [PATCH 2/5] arm64: dts: qcom: msm8916: Use mboxes in smsm node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240619-smsm-mbox-dts-v1-2-268ab7eef779@lucaweiss.eu> References: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> In-Reply-To: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=732; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=Ekl8nsWE1QqQW0cy53Cm/B/0aYqmX5RnlMjgQQIQf/8=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmcwsRnJcv5+5wGplQBfoX/3tp3XF1hcc3dm2ZS K624W1mRnuJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZnMLEQAKCRBy2EO4nU3X Vsb8EACibiO7lDVUy/mVlqbXbQ2W/aBt1pw8lviUItdiQaFPAno4e/5LCSJbJIi+W+Z/WAUJFXC mIrB08YDaWT4Q+Lskhmr8dheZgGc2SikoBu7L981y+1QhdXUVLBKRUZsjBOj0/o/4BYR8nAHwXg ftBPjWdFR00g80sGtk4FzYL+6HIqe4UxPpijTm59PF3Cf0Dt013ZZpX/2rD7MRDLVpwguLNKXbx TU3mkljlGkapz+siOS+phOndNHBTaL0Qjszd525zx7fIKdxaFgVfmL/s1+hzZvtgK0ifrwP6Y0Q I2Aoetj7aZGRRlag2adLhWKfe7hnsVEn7yAnFrcpc6goRPTsmJn12NBcpzdlt+qGBsWw6EWiHCr exZT7/iLHP6QBQ0/EB6Z/pysKQch1xrm6bbAjYLytGVDjoy+oFKoT43U/oKBFmL/EYLL857HFbC w4eJRfF4HvPOSbHfPr91bVZtJNs+hTM7IZjtutXyw7SEdaN6gCT4/Gxguu/2pQrMNYkjVy+TNho Sr/gSBnjHgijUibdL1Q+Yfkjj0OlrcU9E0RPOZ42IqGdYUfCRbpTd9vMH9H9H3ibxC6uAxTcTHq hZBbtuv3bszTtcEMG2rYSPYB7dljO2XIotYpOhyXUuFPmQT2prrZPYO08m8NHn7nB0uvkJfbkR/ JRpZQ5LTHUTvVMw== X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD With the smsm bindings and driver finally supporting mboxes, switch to that and stop using apcs as syscon. Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index bdedbcdc36d3..7383bcc603ab 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -410,8 +410,7 @@ smsm { #address-cells = <1>; #size-cells = <0>; - qcom,ipc-1 = <&apcs 8 13>; - qcom,ipc-3 = <&apcs 8 19>; + mboxes = <0>, <&apcs 13>, <0>, <&apcs 19>; apps_smsm: apps@0 { reg = <0>; From patchwork Wed Jun 19 16:42:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13704290 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 982BD154C10; Wed, 19 Jun 2024 16:54:26 +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=1718816068; cv=none; b=etD8lv2J2oWqL31r4wJZeeXIKtH53qKnk0Ytx8gavKDDfTTooIp77SV69XrFzYFuOn+RqozEh/sNxp9EUZNOhmNaRruwRWiwaVb81MlFYsguBQyCYB10OrAPGGY/PhVfOKhh+mcd9vBo6iH8t1kdso1TYRBVBg9ipYEjW3eJYso= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718816068; c=relaxed/simple; bh=0D+UB1kVXwAQOenN2+8F6NzA+AoKGa6bvJ93lTW+NVk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VMFBKQ153iZwZsdME/hI1kWEAwuJn1UVzO9ycskYhh58FJpzIZKbAah7zXgPLe9Lo+xYrhBA5wWTNyDrRFTr2vrXmZ589/uZ5wOPkRbk57nY9uUzEjA1QzqzkVR00HiGinekkpvgZLPlJ4H3Kzytet7KI00h3CitcRtcLe/Ba8Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=fTaVMi2e; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="fTaVMi2e" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1718815510; bh=0D+UB1kVXwAQOenN2+8F6NzA+AoKGa6bvJ93lTW+NVk=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=fTaVMi2elo0CuFj44jz3SrA3qOoD+c01zcnT4L79cTeLZbi4fxAzwJKhmmz9/lJmR 6s/jdA2vDDuv70xvLzYWlVJ2w1msZ6jtu/gi9sbAHhZgL0OywgMuQFDDk2tkTdbh3/ cp0YkvCUCR6AOUqFNclu5Sc5kkKpY7sPHvWGUSnk= From: Luca Weiss Date: Wed, 19 Jun 2024 18:42:29 +0200 Subject: [PATCH 3/5] arm64: dts: qcom: msm8939: Use mboxes in smsm node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240619-smsm-mbox-dts-v1-3-268ab7eef779@lucaweiss.eu> References: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> In-Reply-To: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=756; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=0D+UB1kVXwAQOenN2+8F6NzA+AoKGa6bvJ93lTW+NVk=; b=kA0DAAgBcthDuJ1N11YByyZiAGZzCxKh3Zi8nYxVUdJ9KyTZp/rFbQamDaRewU93RNsv82F8Z okCMwQAAQgAHRYhBDm60i8ILNqRuhWP+nLYQ7idTddWBQJmcwsSAAoJEHLYQ7idTddWic4P/3a6 HEMgi5FJ914FgQVF4Y2hhAJ6iCT8+HRPx0M1PH8Y0W3miDV/03AKBYGkMdYtxCiM5ijIanW1KAH oSJV/JJyDDikw1uZfW9DNUYCu9k7br0NiavJ11ZNuDds7BvWqluKE8i78qoe1OoOIPuAnniNZwZ 4FwfMbnud7fXwW3hd0yBoyg4YiHgYlg+fth/F3UH/8XjVREUdeKdTyLxruAIBaNSct+z2ucE3/c SIxklcb6Nt8F6L/4CN3+qo2r2bEt9DA7W0be1gnMTucxhojWYVzkFOYHfBU0wMOG8jqV4n8fEBI 0huw8p83YF8GnhBh7VzG7GhLPZJXt9z9hQM1KJ4BP0cl5vDExcFCuDNS+k0sEhR+ZVIc2HDh5tR 8NFKYWxsiieu4R5aeVyTS3N8GPlBPfI2LA04ArQdSXvwUMKQr/Yu5tTF0NNIhBcwFJE6KvBFYA1 LqDYFRa+/jd3TFcxnE/kP1QYnts49oHvjllTDf93QBKisyhkesTFrYzGkiTdG9F2vd2oWppl+dq VbJAA6UvRizrZb0Jz1+eHxbkHroUpSEo6i1hhZjU8VLHAM0LI5WjHoQnKaoYtIKN1GU02CQk6ar HFryQQm5OclJE49V134kXSFx6KN/7Jho7Gn9w4egtMUiZsE9XapqXckR50DaSzoIYArHO/fJhUR j3QAs X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD With the smsm bindings and driver finally supporting mboxes, switch to that and stop using apcs as syscon. Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index e309ef909ea7..46d9480cd464 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -443,8 +443,7 @@ smsm { #address-cells = <1>; #size-cells = <0>; - qcom,ipc-1 = <&apcs1_mbox 8 13>; - qcom,ipc-3 = <&apcs1_mbox 8 19>; + mboxes = <0>, <&apcs1_mbox 13>, <0>, <&apcs1_mbox 19>; apps_smsm: apps@0 { reg = <0>; From patchwork Wed Jun 19 16:42:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13704289 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 8A132137747; Wed, 19 Jun 2024 16:54:26 +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=1718816068; cv=none; b=cFzoukCE5VQLX/4cvtI+xW3lKioIOr23G8iadcQ7J2PAo0GexA6heIJrnIyD28jRRq7DAIieBVNxY0m0VfVKQCqdEmJXQU9Qj4cXeHzL1PvhCTsQvyHa841ws2Drf14hXUG7DVbWEu7Za4nASdv0TTIxqwArv6mc9u9IyiBy/lY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718816068; c=relaxed/simple; bh=gk+KVnKD8bjZxiM/P8uQSXYWMGzx+sSUbwEhyTCCLUY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Orcg+nBiD3/DzIFHDCm8KcoSe/uMvySeLh14wdY0TrQFrrwpxDajfayBv5i5RyS5Hq4juggUZWpKixlNjWHsQx4RKMo3Cbh3Jdh7dr8yi7ecnd2p9a4dsz+8wT0bQgqFl6P/HjDxxuRtiWrpe0bwRaR0o2Nv4XnbmWSZfGbkVQY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=2Tc/YWf1; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="2Tc/YWf1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1718815510; bh=gk+KVnKD8bjZxiM/P8uQSXYWMGzx+sSUbwEhyTCCLUY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=2Tc/YWf1qO6wpjJZ1ckwX3CnNQRk+f5eGYLsWAidh6kZBrBAGq9YjQkY9FFiLEZ22 yLgj8LeLHYboQcHSGgdUyvQm64wb3BmhSsuh1Ko8oAEBXDFtoyTRoyUqUON/enfhT+ SQxmwAX++5joAd/B5/dnOQrHxmd7uCUlPkKxHldg= From: Luca Weiss Date: Wed, 19 Jun 2024 18:42:30 +0200 Subject: [PATCH 4/5] arm64: dts: qcom: msm8953: Use mboxes in smsm node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240619-smsm-mbox-dts-v1-4-268ab7eef779@lucaweiss.eu> References: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> In-Reply-To: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=732; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=gk+KVnKD8bjZxiM/P8uQSXYWMGzx+sSUbwEhyTCCLUY=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmcwsT/tYwMqgqHVcHILwd+wpB0YusTPcjZiIFH wq+yk8zuDqJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZnMLEwAKCRBy2EO4nU3X VrKXD/9yb33t6L1COmkK4OuFQt79jKSjUz1GJYBB+t6menoIfi83T+F7xWlXI74xkpyatidmlaA +kclLGppcbkGqF8KnthOnx12JkLGVUEnegxbHWgUT7+RSCTWlI7YcEkee48cRgfHZZ1gzwMq44D nKbPMcGk7VXazsBS5keNvWcoJWZEVfRBFBQtLskaq2/0W92dheARZQ1sWKp/HuTnJdDrPCJA5ju SylEUU2Q4Mav4IBz2972/LirIHiw+52TNrwG/BRjWC9GyTytdkBKsqVrFX1HmM3SzIixiKq1TkY XbqJAjnLw5Ppqs8hxsJytniddRFSrm2rtYfEdENK9Ue5WrAqQNcCaIUAqLHoPoQ7h56uuz732Zl D91TmXNFIbeGKvaLo3vSLSJO/O3eGBkGWqgqE72gm9d9TgnypnVOTB/Kt6+Xk6wBBkoX1xvEIMZ 9Zis/86en+JBaThujKe0+Xf8xaPSPmT8jQsEr466qEs06ICj7NJdyVSuDdZxaucH2hhYde9BiCO /5zfW97/KQTjpgRPXi2HWshwQJlRNVpef2Gn1ivceelqtzpEpeJVVQm/rSj72kxOAu478vQn2Cd Y2QYfqG40daARcNSfK+qe7O9r2sd5tTTU3Y37QyYb4wPXcosanu/qhe0ZIl3+DGXJzMbp9UfRT/ 4JEEzMWZYddm6Jw== X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD With the smsm bindings and driver finally supporting mboxes, switch to that and stop using apcs as syscon. Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index 1b61a63710a6..a4bfb624fb8a 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -411,8 +411,7 @@ smsm { #address-cells = <1>; #size-cells = <0>; - qcom,ipc-1 = <&apcs 8 13>; - qcom,ipc-3 = <&apcs 8 19>; + mboxes = <0>, <&apcs 13>, <0>, <&apcs 19>; apps_smsm: apps@0 { reg = <0>; From patchwork Wed Jun 19 16:42:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13704286 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 87D7E1CA92; Wed, 19 Jun 2024 16:45:18 +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=1718815520; cv=none; b=UCovuaeCeJHSaZpPf49Oa0qqfDOA0asEh4swJZJhLRY21kqIHDCfYIBqklAjWBvozVOPq9oHLHyIU45CMwkOSaXj21HUhyn2MlYVUHJSVmHlUTKhlpIfGliRuJIwRCLBJ6xDKy8F+TEeKQh5FT6XsfuMc12UQ0mOAOg8who7rqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718815520; c=relaxed/simple; bh=qvVridwWwQmob31TyZVDbjKXPWXa87Ibcv2ivGGEZoQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Jxowu8YJFbtXipWpJrpnWBWLeanArW7O6FzLnSrNe+g9QhrlVcqJ+ruCbrQbRJTY0D2i1Puy40zccZrYJBlgzbx5s6AuocyjzE/34EJTqhA+tRb0D/+6dBQHkzhItleuUZt6RKgvPcV0MITRUFeJ0RKPzxBpZZp0OaO/hrV8ED8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=bRc4s9TG; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="bRc4s9TG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1718815510; bh=qvVridwWwQmob31TyZVDbjKXPWXa87Ibcv2ivGGEZoQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=bRc4s9TGmBdnvHyTSe1m0SNC5qq5gEodlXzjnVFL7lOwj25+wNWW1ptl4p2p/NwxT i56foqtE6oXSF/5aiIDOkuWvYGUkwsT3UKHcuFtb9BiZwVIsNFlnY7UVXjE6CKl1y1 BzkhiU8A72XCwZUeGpaFQOEHwAhzPdEX62o3Vj7I= From: Luca Weiss Date: Wed, 19 Jun 2024 18:42:31 +0200 Subject: [PATCH 5/5] arm64: dts: qcom: msm8976: Use mboxes in smsm node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240619-smsm-mbox-dts-v1-5-268ab7eef779@lucaweiss.eu> References: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> In-Reply-To: <20240619-smsm-mbox-dts-v1-0-268ab7eef779@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=769; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=qvVridwWwQmob31TyZVDbjKXPWXa87Ibcv2ivGGEZoQ=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBmcwsUDLw3yV8gKY79ruCKuzpYguejuRsxbBHOl xHzwilmhmSJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZnMLFAAKCRBy2EO4nU3X VnXcD/9+mIzqYuSxhA4VBRwhVSVsoK/QkX06RzREXNuUvml0w4U1xc099Pnn3NJOQs/R/z2OnFN iFYm9WzFGE5VMSWOd3fzgwHzIGesUtm2gZnVkntoI8+a1yD0XBubXqxxJEybiavqLDuQXPWl42S jCnUX5U6rmKfHV7ZaD7UGAzwbZPBgxz37kP0MF0R6xOx08cspZlOCne4pV3BTFMxAun1FTFmCqM 1uEdaGAILohyrprMw9Sld0QqpiZJpTWRxt9kgmqMoS2hV+GpRhdjPBQulfAQxDL2t/Bj00XnCwq YL+JXKuudGYEo9AjYniybQSj3CvTtvMhuEK2ovvscA3GtmIwcQunk3UsH+13W3yW8BgjnLcv6Nx 6RSYX6RcJOiBtAkOb7wDnbnFkSBvsXrZugClXZQ3NYmlorVPYUBgKA1WhF8ntlYZEPLBPD1z8SG udPh899ddMdJnRqS/qbCnRovnvAmNpT5EiYGELD8mFq4rQHxgJBB6/XvWenjII/yTWQW2MrxUXX aS7v4y52StANLIqn14gmpgstC8R9lXlv0eBbF/roIgVrHa3WNJbIlXpt8lXfY2lo/F+GjetorlI xSigWcpB5/rBDenOi2CCDPwxx6J9foefJzdP30cWbNrNxtCBXu2POcnN4+u6P0vcvj7EtL4QVVo uQYKBpz+078/nXw== X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD With the smsm bindings and driver finally supporting mboxes, switch to that and stop using apcs as syscon. Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8976.dtsi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi index e299d42c5d98..d62dcb76fa48 100644 --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi @@ -439,9 +439,7 @@ smsm { #address-cells = <1>; #size-cells = <0>; - qcom,ipc-1 = <&apcs 8 13>; - qcom,ipc-2 = <&apcs 8 9>; - qcom,ipc-3 = <&apcs 8 19>; + mboxes = <0>, <&apcs 13>, <&apcs 9>, <&apcs 19>; apps_smsm: apps@0 { reg = <0>;