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:
parent
43d830082c
commit
a4713be4eb
1 changed files with 37 additions and 0 deletions
37
dts/bindings/regulator/cirrus,cp9314.yaml
Normal file
37
dts/bindings/regulator/cirrus,cp9314.yaml
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue