# 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 <quic_amelende@quicinc.com>

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 <dt-bindings/spmi/spmi.h>

    pmic@0 {
      reg = <0x0 SPMI_USID>;
      #address-cells = <1>;
      #size-cells = <0>;

      pbs@7300 {
        compatible = "qcom,qpnp-pbs";
        reg = <0x7300>;
      };
    };
