[PATCH RFC 1/4] dt-bindings: soc: google: Add modemsmem
From: David Heidelberg via B4 Relay
Date: Sat Sep 05 2026 - 20:42:10 EST
From: David Heidelberg <david@xxxxxxx>
The modem firmware on Google Pixel 3 - 5a devices expects the application
processor to publish SoC platform information in a vendor-defined SMEM
item before the modem boots.
Assisted-by: LLM
Signed-off-by: David Heidelberg <david@xxxxxxx>
---
.../bindings/soc/google/google,modemsmem.yaml | 39 ++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/google/google,modemsmem.yaml b/Documentation/devicetree/bindings/soc/google/google,modemsmem.yaml
new file mode 100644
index 0000000000000..a5214a8093ba0
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/google/google,modemsmem.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: GPL-2.0-only
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/google/google,modemsmem.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Google Modem Shared Memory
+
+maintainers:
+ - Richard Acayan <mailingradian@xxxxxxxxx>
+
+description:
+ The modem firmware on Google Pixel devices (Pixel 3 through Pixel 5a)
+ expects the application processor to publish SoC information (platform
+ type and revision) in a vendor-defined Qualcomm Shared Memory (SMEM)
+ item before the modem boots.
+
+properties:
+ compatible:
+ const: google,modemsmem
+
+ qcom,smem-id:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ Identifier of the SMEM item the SoC information is written to. Google
+ firmware uses the first vendor-reserved item.
+
+required:
+ - compatible
+ - qcom,smem-id
+
+additionalProperties: false
+
+examples:
+ - |
+ modemsmem {
+ compatible = "google,modemsmem";
+ qcom,smem-id = <134>;
+ };
--
2.55.0