Documentation/devicetree/bindings/mfd/samsung,s2mu005-pmic.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mfd/samsung,s2mu005-pmic.yaml
Extension
.yaml
Size
2869 bytes
Lines
121
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-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/samsung,s2mu005-pmic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung S2MU005 Power Management IC

maintainers:
  - Kaustabh Chakraborty <kauschluss@disroot.org>

description: |
  The S2MU005 is a companion power management IC which includes subdevices for
  a charger controller, an MUIC (Micro USB Interface Controller), and flash and
  RGB LED controllers.

allOf:
  - $ref: /schemas/power/supply/power-supply.yaml#

properties:
  compatible:
    const: samsung,s2mu005-pmic

  flash:
    $ref: /schemas/leds/samsung,s2mu005-flash.yaml#
    description:
      Child node describing flash LEDs.

  interrupts:
    maxItems: 1

  muic:
    $ref: /schemas/extcon/samsung,s2mu005-muic.yaml#
    description:
      Child node describing MUIC device.

  multi-led:
    type: object

    allOf:
      - $ref: /schemas/leds/leds-class-multicolor.yaml#

    properties:
      compatible:
        const: samsung,s2mu005-rgb

    required:
      - compatible

    unevaluatedProperties: false

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    #include <dt-bindings/leds/common.h>

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

        pmic@3d {

Annotation

Implementation Notes