From 9759eb59d154405ba6a606c90f2067c052fa7f1d Mon Sep 17 00:00:00 2001 From: David Collins Date: Fri, 21 Jul 2023 18:19:47 -0700 Subject: [PATCH] dt-bindings: soc: qcom: add bindings for QTI PBS devices Qualcomm Technologies, Inc. (QTI) Programmable Boot Sequence (PBS) devices help triggering certain PBS on QTI PMICs when available for APPS. Change-Id: I9148ff20220b998b1634fb9c26d462b2a25d6586 Signed-off-by: David Collins --- bindings/soc/qcom/qcom,qpnp-pbs.yaml | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 bindings/soc/qcom/qcom,qpnp-pbs.yaml diff --git a/bindings/soc/qcom/qcom,qpnp-pbs.yaml b/bindings/soc/qcom/qcom,qpnp-pbs.yaml new file mode 100644 index 00000000..cf67442f --- /dev/null +++ b/bindings/soc/qcom/qcom,qpnp-pbs.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,qpnp-pbs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Programmable Boot Sequencer + +maintainers: + - Anjelique Melendez + +description: | + The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS) supports + triggering power up and power down sequences for clients upon request. + +properties: + compatible: + const: qcom,qpnp-pbs + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + pmic@0 { + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pbs@7300 { + compatible = "qcom,qpnp-pbs"; + reg = <0x7300>; + }; + };