xref: /freebsd-src/sys/contrib/device-tree/Bindings/regulator/samsung,s2mpa01.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/samsung,s2mpa01.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: Samsung S2MPA01 Power Management IC regulators
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
10*c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138cc087a1SEmmanuel Vadot  This is a part of device tree bindings for S2M and S5M family of Power
148cc087a1SEmmanuel Vadot  Management IC (PMIC).
158cc087a1SEmmanuel Vadot
168cc087a1SEmmanuel Vadot  The S2MPA01 provides buck and LDO regulators.
178cc087a1SEmmanuel Vadot
188cc087a1SEmmanuel Vadot  See also Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml for
198cc087a1SEmmanuel Vadot  additional information and example.
208cc087a1SEmmanuel Vadot
218cc087a1SEmmanuel VadotpatternProperties:
228cc087a1SEmmanuel Vadot  # 26 LDOs
238cc087a1SEmmanuel Vadot  "^LDO([1-9]|1[0-9]|2[0-6])$":
248cc087a1SEmmanuel Vadot    type: object
258cc087a1SEmmanuel Vadot    $ref: regulator.yaml#
268cc087a1SEmmanuel Vadot    unevaluatedProperties: false
278cc087a1SEmmanuel Vadot    description:
288cc087a1SEmmanuel Vadot      Properties for single LDO regulator.
298cc087a1SEmmanuel Vadot
308cc087a1SEmmanuel Vadot    required:
318cc087a1SEmmanuel Vadot      - regulator-name
328cc087a1SEmmanuel Vadot
338cc087a1SEmmanuel Vadot  # 10 bucks
348cc087a1SEmmanuel Vadot  "^BUCK([1-9]|10)$":
358cc087a1SEmmanuel Vadot    type: object
368cc087a1SEmmanuel Vadot    $ref: regulator.yaml#
378cc087a1SEmmanuel Vadot    unevaluatedProperties: false
388cc087a1SEmmanuel Vadot    description:
398cc087a1SEmmanuel Vadot      Properties for single BUCK regulator.
408cc087a1SEmmanuel Vadot
418cc087a1SEmmanuel Vadot    properties:
428cc087a1SEmmanuel Vadot      regulator-ramp-delay:
438cc087a1SEmmanuel Vadot        enum: [0, 6250, 12500, 25000, 50000]
448cc087a1SEmmanuel Vadot        default: 12500
458cc087a1SEmmanuel Vadot        description: |
468cc087a1SEmmanuel Vadot          May be 0 for disabling the ramp delay on BUCK{1,2,3,4}.
478cc087a1SEmmanuel Vadot
488cc087a1SEmmanuel Vadot          In the absence of the regulator-ramp-delay property, the default ramp
498cc087a1SEmmanuel Vadot          delay will be used.
508cc087a1SEmmanuel Vadot
518cc087a1SEmmanuel Vadot          Note: Some bucks share the ramp rate setting i.e. same ramp value
528cc087a1SEmmanuel Vadot          will be set for a particular group of bucks so provide the same
538cc087a1SEmmanuel Vadot          regulator-ramp-delay value for them.
548cc087a1SEmmanuel Vadot          Groups sharing ramp rate:
558cc087a1SEmmanuel Vadot            * buck{1,6},
568cc087a1SEmmanuel Vadot            * buck{2,4},
578cc087a1SEmmanuel Vadot            * buck{8,9,10}.
588cc087a1SEmmanuel Vadot
598cc087a1SEmmanuel Vadot    required:
608cc087a1SEmmanuel Vadot      - regulator-name
618cc087a1SEmmanuel Vadot
628cc087a1SEmmanuel VadotadditionalProperties: false
63