From 71e75ace0d39aa6b344a39684e78321c032b9ff2 Mon Sep 17 00:00:00 2001 From: Rajkumar Patel Date: Fri, 28 Mar 2025 10:45:10 +0530 Subject: [PATCH] dt-bindings: Add power-state dt-bindings Add bindings of power-state device in yaml format. Change-Id: I7abd870f0a0f46b5bf293f15d4215fff3e85e70f Signed-off-by: Rajkumar Patel --- bindings/soc/qcom/qcom,power-state.yaml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 bindings/soc/qcom/qcom,power-state.yaml 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>; + }; +...