1# Copyright (c) 2024 Cirrus Logic, Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Cirrus CP9314 Buck Switched Cap DC/DC Converter
6
7  converter@72 {
8    compatible = "cirrus,cp9314";
9    reg = <0x72>;
10
11    cirrus,initial-switched-capacitor-mode = "2:1";
12  };
13
14compatible: "cirrus,cp9314"
15
16include:
17  - name: i2c-device.yaml
18  - name: regulator.yaml
19    property-allowlist:
20      - regulator-boot-on
21
22properties:
23  reg:
24    required: true
25
26  cirrus,en-gpios:
27    type: phandle-array
28    description: GPIO tied to EN pin
29
30  cirrus,pgood-gpios:
31    type: phandle-array
32    description: GPIO tied to PGOOD pin
33
34  cirrus,initial-switched-capacitor-mode:
35    type: string
36    enum:
37      - "2:1"
38      - "3:1"
39    description: |
40      Desired switched capacitor ratio set at initialization. This entry will overwrite
41      the selection set by the PROG resistor.
42
43  cirrus,hw-i2c-lock:
44    type: boolean
45    description: |
46      Indicate if the hardware write lock was enabled via the resistor value applied to
47      PGPIO2.
48