| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/mfd/samsung,s2dos05.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Samsung S2DOS05 Power Management IC |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Dzmitry Sankouski <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
This is a device tree bindings for S2DOS family of Power Management IC (PMIC). |
| 14 |
|
| 15 |
The S2DOS05 is a companion power management IC for the panel and touchscreen |
| 16 |
in smart phones. Provides voltage regulators and |
| 17 |
ADC for power/current measurements. |
| 18 |
|
| 19 |
Regulator section has 4 LDO and 1 BUCK regulators and also |
| 20 |
provides ELVDD, ELVSS, AVDD lines. |
| 21 |
|
| 22 |
properties: |
| 23 |
compatible: |
| 24 |
const: samsung,s2dos05 |
| 25 |
|
| 26 |
reg: |
| 27 |
maxItems: 1 |
| 28 |
|
| 29 |
regulators: |
| 30 |
patternProperties: |
| 31 |
"^buck|ldo[1-4]$": |
| 32 |
type: object |
| 33 |
$ref: /schemas/regulator/regulator.yaml# |
| 34 |
unevaluatedProperties: false |
| 35 |
|
| 36 |
required: |
| 37 |
- regulator-name |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
required: |
| 42 |
- compatible |
| 43 |
- reg |
| 44 |
- regulators |
| 45 |
|
| 46 |
additionalProperties: false |
| 47 |
|
| 48 |
examples: |
| 49 |
- | |
| 50 |
i2c { |
| 51 |
#address-cells = <1>; |
| 52 |
#size-cells = <0>; |
| 53 |
|
| 54 |
pmic@60 { |
| 55 |
compatible = "samsung,s2dos05"; |
| 56 |
reg = <0x60>; |
| 57 |
|
| 58 |
regulators { |
| 59 |
ldo1 { |
| 60 |
regulator-active-discharge = <1>; |
| 61 |
regulator-min-microvolt = <1500000>; |
| 62 |
regulator-max-microvolt = <2000000>; |
| 63 |
regulator-name = "ldo1"; |
| 64 |
}; |
| 65 |
|
| 66 |
ldo2 { |
| 67 |
regulator-active-discharge = <1>; |
| 68 |
regulator-boot-on; |
| 69 |
regulator-min-microvolt = <1800000>; |
| 70 |
regulator-max-microvolt = <1800000>; |
| 71 |
regulator-name = "ldo2"; |
| 72 |
}; |
| 73 |
|
| 74 |
ldo3 { |
| 75 |
regulator-active-discharge = <1>; |
| 76 |
regulator-boot-on; |
| 77 |
regulator-min-microvolt = <3000000>; |
| 78 |
regulator-max-microvolt = <3000000>; |
| 79 |
regulator-name = "ldo3"; |
| 80 |
}; |
| 81 |
|
| 82 |
ldo4 { |
| 83 |
regulator-active-discharge = <1>; |
| 84 |
regulator-min-microvolt = <2700000>; |
| 85 |
regulator-max-microvolt = <3775000>; |
| 86 |
regulator-name = "ldo4"; |
| 87 |
}; |
| 88 |
|
| 89 |
buck { |
| 90 |
regulator-active-discharge = <1>; |
| 91 |
regulator-min-microvolt = <850000>; |
| 92 |
regulator-max-microvolt = <2100000>; |
| 93 |
regulator-name = "buck"; |
| 94 |
}; |
| 95 |
}; |
| 96 |
}; |
| 97 |
}; |
| 98 |
|
| 99 |
... |