Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/regulator/silergy,sy8824x.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: silergy sy8824c,sy8824e,sy20276 and sy20278 PMIC |
| 8 | |
| 9 | maintainers: |
| 10 | - Jisheng Zhang <jszhang@kernel.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: regulator.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - silergy,sy8824c |
| 19 | - silergy,sy8824e |
| 20 | - silergy,sy20276 |
| 21 | - silergy,sy20278 |
| 22 | |
| 23 | reg: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | required: |
| 27 | - compatible |
| 28 | - reg |
| 29 | |
| 30 | unevaluatedProperties: false |
| 31 | |
| 32 | examples: |
| 33 | - | |
| 34 | i2c { |
| 35 | #address-cells = <1>; |
| 36 | #size-cells = <0>; |
| 37 | regulator@60 { |
| 38 | compatible = "silergy,sy8824c"; |
| 39 | regulator-min-microvolt = <800000>; |
| 40 | regulator-max-microvolt = <1150000>; |
| 41 | reg = <0x60>; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | ... |