| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/mfd/dlg,da9052.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Dialog DA9052/53 Power Management Integrated Circuit (PMIC) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
oneOf: |
| 15 |
- enum: |
| 16 |
- dlg,da9053-aa |
| 17 |
- dlg,da9053-ab |
| 18 |
- dlg,da9053-bb |
| 19 |
- dlg,da9053-bc |
| 20 |
- dlg,da9052 |
| 21 |
|
| 22 |
reg: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
interrupts: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
dlg,tsi-as-adc: |
| 29 |
type: boolean |
| 30 |
description: |
| 31 |
if set the X+, X-, Y+, Y- touchscreen input lines are used as general |
| 32 |
purpose analogue input. |
| 33 |
|
| 34 |
tsiref-supply: |
| 35 |
description: The reference voltage for the TSIREF pin. |
| 36 |
|
| 37 |
regulators: |
| 38 |
type: object |
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
patternProperties: |
| 42 |
"^(ldo([1-9]|10)|buck[1-4])$": |
| 43 |
type: object |
| 44 |
$ref: /schemas/regulator/regulator.yaml# |
| 45 |
unevaluatedProperties: false |
| 46 |
|
| 47 |
required: |
| 48 |
- compatible |
| 49 |
- reg |
| 50 |
- regulators |
| 51 |
|
| 52 |
allOf: |
| 53 |
- $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 54 |
|
| 55 |
unevaluatedProperties: false |
| 56 |
|
| 57 |
examples: |
| 58 |
- | |
| 59 |
i2c { |
| 60 |
#address-cells = <1>; |
| 61 |
#size-cells = <0>; |
| 62 |
|
| 63 |
pmic@48 { |
| 64 |
compatible = "dlg,da9053-aa"; |
| 65 |
reg = <0x48>; |
| 66 |
|
| 67 |
regulators { |
| 68 |
buck1 { |
| 69 |
regulator-min-microvolt = <500000>; |
| 70 |
regulator-max-microvolt = <2075000>; |
| 71 |
}; |
| 72 |
|
| 73 |
buck2 { |
| 74 |
regulator-min-microvolt = <500000>; |
| 75 |
regulator-max-microvolt = <2075000>; |
| 76 |
}; |
| 77 |
|
| 78 |
buck3 { |
| 79 |
regulator-min-microvolt = <925000>; |
| 80 |
regulator-max-microvolt = <2500000>; |
| 81 |
}; |
| 82 |
|
| 83 |
buck4 { |
| 84 |
regulator-min-microvolt = <925000>; |
| 85 |
regulator-max-microvolt = <2500000>; |
| 86 |
}; |
| 87 |
}; |
| 88 |
}; |
| 89 |
}; |