Documentation/devicetree/bindings/mfd/samsung,s2dos05.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mfd/samsung,s2dos05.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mfd/samsung,s2dos05.yaml
Extension
.yaml
Size
2647 bytes
Lines
100
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/samsung,s2dos05.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung S2DOS05 Power Management IC

maintainers:
  - Dzmitry Sankouski <dsankouski@gmail.com>

description:
  This is a device tree bindings for S2DOS family of Power Management IC (PMIC).

  The S2DOS05 is a companion power management IC for the panel and touchscreen
  in smart phones. Provides voltage regulators and
  ADC for power/current measurements.

  Regulator section has 4 LDO and 1 BUCK regulators and also
  provides ELVDD, ELVSS, AVDD lines.

properties:
  compatible:
    const: samsung,s2dos05

  reg:
    maxItems: 1

  regulators:
    patternProperties:
      "^buck|ldo[1-4]$":
        type: object
        $ref: /schemas/regulator/regulator.yaml#
        unevaluatedProperties: false

        required:
          - regulator-name

    additionalProperties: false

required:
  - compatible
  - reg
  - regulators

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        pmic@60 {
            compatible = "samsung,s2dos05";
            reg = <0x60>;

            regulators {
                ldo1 {
                    regulator-active-discharge = <1>;
                    regulator-min-microvolt = <1500000>;
                    regulator-max-microvolt = <2000000>;
                    regulator-name = "ldo1";
                };

                ldo2 {
                    regulator-active-discharge = <1>;
                    regulator-boot-on;
                    regulator-min-microvolt = <1800000>;
                    regulator-max-microvolt = <1800000>;

Annotation

Implementation Notes