dts: regulator: Adds bindings for CP9314 Buck

Adds devicetree bindings for the Cirrus CP9314 Switched
Capacitor 3:1/2:1 DC/DC converter.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
This commit is contained in:
Ricardo Rivera-Matos 2023-07-13 15:16:26 -05:00 committed by Alberto Escolar
commit a4713be4eb

View file

@ -0,0 +1,37 @@
# 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.