Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/regulator/silergy,sy8106a.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Silergy SY8106A Voltage Regulator |
| 8 | |
| 9 | maintainers: |
| 10 | - Ondrej Jirman <megous@megous.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: regulator.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: silergy,sy8106a |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | silergy,fixed-microvolt: |
| 23 | description: > |
| 24 | The voltage when I2C regulating is disabled (set by external resistor |
| 25 | like a fixed voltage) |
| 26 | |
| 27 | required: |
| 28 | - compatible |
| 29 | - reg |
| 30 | - silergy,fixed-microvolt |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | i2c { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
| 40 | regulator@65 { |
| 41 | compatible = "silergy,sy8106a"; |
| 42 | reg = <0x65>; |
| 43 | regulator-name = "sy8106a-vdd"; |
| 44 | silergy,fixed-microvolt = <1200000>; |
| 45 | regulator-min-microvolt = <1000000>; |
| 46 | regulator-max-microvolt = <1400000>; |
| 47 | regulator-boot-on; |
| 48 | regulator-always-on; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | ... |