xref: /freebsd/sys/contrib/device-tree/Bindings/soc/qcom/qcom,pbs.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*01950c46SEmmanuel Vadot%YAML 1.2
3*01950c46SEmmanuel Vadot---
4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/soc/qcom/qcom,pbs.yaml#
5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*01950c46SEmmanuel Vadot
7*01950c46SEmmanuel Vadottitle: Qualcomm Technologies, Inc. Programmable Boot Sequencer
8*01950c46SEmmanuel Vadot
9*01950c46SEmmanuel Vadotmaintainers:
10*01950c46SEmmanuel Vadot  - Anjelique Melendez <quic_amelende@quicinc.com>
11*01950c46SEmmanuel Vadot
12*01950c46SEmmanuel Vadotdescription: |
13*01950c46SEmmanuel Vadot  The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS)
14*01950c46SEmmanuel Vadot  supports triggering power up and power down sequences for clients
15*01950c46SEmmanuel Vadot  upon request.
16*01950c46SEmmanuel Vadot
17*01950c46SEmmanuel Vadotproperties:
18*01950c46SEmmanuel Vadot  compatible:
19*01950c46SEmmanuel Vadot    items:
20*01950c46SEmmanuel Vadot      - enum:
21*01950c46SEmmanuel Vadot          - qcom,pmi632-pbs
22*01950c46SEmmanuel Vadot      - const: qcom,pbs
23*01950c46SEmmanuel Vadot
24*01950c46SEmmanuel Vadot  reg:
25*01950c46SEmmanuel Vadot    maxItems: 1
26*01950c46SEmmanuel Vadot
27*01950c46SEmmanuel Vadotrequired:
28*01950c46SEmmanuel Vadot  - compatible
29*01950c46SEmmanuel Vadot  - reg
30*01950c46SEmmanuel Vadot
31*01950c46SEmmanuel VadotadditionalProperties: false
32*01950c46SEmmanuel Vadot
33*01950c46SEmmanuel Vadotexamples:
34*01950c46SEmmanuel Vadot  - |
35*01950c46SEmmanuel Vadot    #include <dt-bindings/spmi/spmi.h>
36*01950c46SEmmanuel Vadot
37*01950c46SEmmanuel Vadot    pmic@0 {
38*01950c46SEmmanuel Vadot      reg = <0x0 SPMI_USID>;
39*01950c46SEmmanuel Vadot      #address-cells = <1>;
40*01950c46SEmmanuel Vadot      #size-cells = <0>;
41*01950c46SEmmanuel Vadot
42*01950c46SEmmanuel Vadot      pbs@7400 {
43*01950c46SEmmanuel Vadot        compatible = "qcom,pmi632-pbs", "qcom,pbs";
44*01950c46SEmmanuel Vadot        reg = <0x7400>;
45*01950c46SEmmanuel Vadot      };
46*01950c46SEmmanuel Vadot    };
47