From: David Heidelberg <[email protected]> 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 <[email protected]> --- .../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 <[email protected]> + +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

