diff --git a/bindings/soc/qcom/qcom,power-state.yaml b/bindings/soc/qcom/qcom,power-state.yaml new file mode 100644 index 00000000..8a786b8a --- /dev/null +++ b/bindings/soc/qcom/qcom,power-state.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,power-state.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Power State Management Device + +maintainers: + - Maulik Shah + +description: | + This binding describes the Qualcomm Technologies, Inc. Power State Management device. + This device helps with various Qualcomm SoC level Power state like deep sleep and + hibernation and user space management for subsystem and SoC low power states. + +properties: + compatible: + const: qcom,power-state + + qcom,subsys-name: + description: subsystem names supported + + qcom,rproc-handle: + description: phandle to subsys defined in subsys-name. + +required: + - compatible + - qcom,subsys-name + - qcom,rproc-handle + +additionalProperties: false + +examples: + - | + qcom,power-state { + compatible = "qcom,power-state"; + qcom,subsys-name = "adsp", "modem"; + qcom,rproc-handle = <&adsp_pas>, <&modem_pas>; + }; +...