Skip to contentSkip to conversation

dt-bindings: mailbox: Add Seca IPCC and CPUCP mailbox compatibles

PATCH New Yadu M G 1 participant 3 messages Dec 2

Subsystems (5)
lore
Share & tools
lore

Yadu M G

author
#0 lore raw

v2 cover dt-bindings: mailbox: Add Seca IPCC and CPUCP mailbox compatibles

Seca is a Qualcomm automotive SoC. On its SecaAU variant, resources of several peripherals (clocks, regulators, PHYs, resets) are managed by firmware and exposed to Linux over SCMI. Those firmware-managed controllers use qcom,secaau-* compatibles, while blocks managed by Linux use qcom,seca-*.

Document the IPCC and the CPUCP mailbox on Seca.

The Seca SoC device tree using these compatibles will be posted separately, once the bindings are in place.

Changes in v2:
- Send the IPCC and CPUCP patches together (Krzysztof)
- Use the qcom-ipcc and qcom,cpucp-mbox subject prefixes

v1: https://lore.kernel.org/r/1a2010d7c4f4ae5d4629d2709157d7d47c20b3ea.1795517600.git.yadu.mg@oss.qualcomm.com
v1: https://lore.kernel.org/r/5bfd311f596ea5945b7c2251199d2d0ccff41133.1795517617.git.yadu.mg@oss.qualcomm.com

This series was prepared with help from an AI coding assistant (Claude). It assisted with review on the device tree, bindings and driver (formatting and alignment fixes), rewording commit messages, and running the validation steps (checkpatch, dt_binding_check, dtbs_check and W=1 builds). All changes were reviewed and tested on the Seca Ride board.

Yadu M G (2):
dt-bindings: mailbox: qcom-ipcc: Document Seca IPCC
dt-bindings: mailbox: qcom,cpucp-mbox: Document Seca CPUCP mailbox

 Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml | 3 +++
 Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml       | 1 +
 2 files changed, 4 insertions(+)

base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c

Signature · 1 line
2.43.0
author
#1 lore raw

PATCH v2 1/2 dt-bindings: mailbox: qcom-ipcc: Document Seca IPCC

Add qcom,seca-ipcc compatible string for the Inter-Processor Communication Controller in Qualcomm Seca SoC.

---
 Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml +1 -0
index a378fe8c7148..5734ac79024b 100644
@@ -39,6 +39,7 @@ properties:
           - qcom,sc7280-ipcc
           - qcom,sc8280xp-ipcc
           - qcom,sdx75-ipcc
+          - qcom,seca-ipcc
           - qcom,sm6350-ipcc
           - qcom,sm6375-ipcc
           - qcom,sm8250-ipcc
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH v2 2/2 dt-bindings: mailbox: qcom,cpucp-mbox: Document Seca CPUCP mailbox

In reply to Yadu M G

Add qcom,seca-cpucp-mbox compatible for the CPUSS Control Processor (CPUCP) mailbox on the Qualcomm Seca SoC. The Seca CPUCP mailbox is programming compatible with the Nord one, including its channel count, so describe it with qcom,nord-cpucp-mbox as its fallback.

---
 Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml +3 -0
index 2185920e1b5d..4e0527203e5b 100644
@@ -16,6 +16,9 @@ description:
 properties:
   compatible:
     oneOf:
+      - items:
+          - const: qcom,seca-cpucp-mbox
+          - const: qcom,nord-cpucp-mbox
       - items:
           - enum:
               - qcom,glymur-cpucp-mbox
Signature · 1 line
2.43.0