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,sy8827n.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: silergy sy8827n PMIC |
| 8 | |
| 9 | maintainers: |
| 10 | - Jisheng Zhang <jszhang@kernel.org> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | enum: |
| 15 | - silergy,sy8827n |
| 16 | |
| 17 | reg: |
| 18 | maxItems: 1 |
| 19 | |
| 20 | enable-gpios: |
| 21 | description: GPIO to enable/disable the regulator. |
| 22 | maxItems: 1 |
| 23 | |
| 24 | silergy,vsel-state-high: |
| 25 | type: boolean |
| 26 | description: |
| 27 | Indicates if the VSEL pin is set to high. |
| 28 | If this property is missing, assume the VSEL pin is set to low. |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | i2c { |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <0>; |
| 41 | regulator@60 { |
| 42 | compatible = "silergy,sy8827n"; |
| 43 | reg = <0x60>; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | ... |