Documentation/devicetree/bindings/mfd/maxim,max77759.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mfd/maxim,max77759.yaml
Extension
.yaml
Size
2622 bytes
Lines
114
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/maxim,max77759.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Maxim Integrated MAX77759 PMIC for USB Type-C applications

maintainers:
  - André Draszik <andre.draszik@linaro.org>

description: |
  This is a part of device tree bindings for the MAX77759 companion Power
  Management IC for USB Type-C applications.

  The MAX77759 includes Battery Charger, Fuel Gauge, temperature sensors, USB
  Type-C Port Controller (TCPC), NVMEM, and a GPIO expander.

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

properties:
  compatible:
    const: maxim,max77759

  interrupts:
    maxItems: 1

  interrupt-controller: true

  "#interrupt-cells":
    const: 2

  reg:
    maxItems: 1

  gpio:
    $ref: /schemas/gpio/maxim,max77759-gpio.yaml

  nvmem-0:
    $ref: /schemas/nvmem/maxim,max77759-nvmem.yaml

  chgin-otg-regulator:
    type: object
    description: Provides Boost for sourcing VBUS.
    $ref: /schemas/regulator/regulator.yaml#
    unevaluatedProperties: false

required:
  - compatible
  - interrupts
  - reg

unevaluatedProperties: false

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

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

        pmic@66 {
            compatible = "maxim,max77759";
            reg = <0x66>;
            interrupts-extended = <&gpa8 3 IRQ_TYPE_LEVEL_LOW>;

            interrupt-controller;
            #interrupt-cells = <2>;

Annotation

Implementation Notes