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

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

File Facts

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

title: Maxim MAX8998, National/TI LP3974 Power Management IC

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>

description:
  The Maxim MAX8998 is a Power Management IC which includes voltage/current
  regulators, real time clock, battery charging controller and several other
  sub-blocks. It is interfaced using an I2C interface. Each sub-block is
  addressed by the host system using different i2c slave address.

properties:
  compatible:
    enum:
      - maxim,max8998
      - national,lp3974
      - ti,lp3974

  reg:
    maxItems: 1

  interrupts:
    minItems: 1
    items:
      - description: Main interrupt
      - description: Power-on/-off interrupt

  max8998,pmic-buck1-dvs-gpios:
    maxItems: 2
    description:
      Two host gpios used for buck1 DVS.

  max8998,pmic-buck2-dvs-gpio:
    maxItems: 1
    description:
      Host gpio used for buck2 DVS.

  max8998,pmic-buck1-default-dvs-idx:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1, 2, 3]
    default: 0
    description:
      Default voltage setting selected from the possible 4 options selectable
      by the DVS gpios.

  max8998,pmic-buck2-default-dvs-idx:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]
    default: 0
    description:
      Default voltage setting selected from the possible 2 options selectable
      by the DVS GPIOs.

  max8998,pmic-buck-voltage-lock:
    type: boolean
    description:
      If present, disallows changing of preprogrammed buck DVS voltages.

  max8998,pmic-buck1-dvs-voltage:
    $ref: /schemas/types.yaml#/definitions/uint32-array
    maxItems: 4
    description:
      Four voltage values in microvolts for buck1 regulator that can be
      selected using DVS GPIO.

Annotation

Implementation Notes