zephyr/dts/bindings/regulator/cirrus,cp9314.yaml

38 lines
784 B
YAML
Raw Normal View History

# Copyright (c) 2024 Cirrus Logic, Inc.
# SPDX -License-Identifier: Apache-2.0
description: |
Cirrus CP9314 Buck Switched Cap DC/DC Converter
converter@72 {
compatible = "cirrus,cp9314";
reg = <0x72>;
cirrus,initial-switched-capacitor-mode = "2:1";
};
compatible: "cirrus,cp9314"
include:
- name: i2c-device.yaml
- name: regulator.yaml
property-allowlist:
- regulator-boot-on
properties:
reg:
required: true
cirrus,en-gpios:
type: phandle-array
description: GPIO tied to EN pin
cirrus,initial-switched-capacitor-mode:
type: string
enum:
- "2:1"
- "3:1"
description: |
Desired switched capacitor ratio set at initialization. This entry will overwrite
the selection set by the PROG resistor.