Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml

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

File Facts

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

title: Freescale MC13xxx Power Management Integrated Circuits (PMIC)

maintainers:
  - Alexander Kurz <akurz@blala.de>

description: >
  The MC13xxx PMIC series consists of the three models MC13783, MC13892
  and MC34708 and provide regulators and other features like RTC, ADC,
  LED, touchscreen, codec and input buttons.

  Link to datasheets
    https://www.nxp.com/docs/en/data-sheet/MC13783.pdf
    https://www.nxp.com/docs/en/data-sheet/MC13892.pdf
    https://www.nxp.com/docs/en/data-sheet/MC34708.pdf

properties:
  compatible:
    enum:
      - fsl,mc13783
      - fsl,mc13892
      - fsl,mc34708

  reg:
    description: I2C slave address or SPI chip select number.
    maxItems: 1

  spi-max-frequency: true

  spi-cs-high: true

  system-power-controller: true

  interrupts:
    maxItems: 1

  buttons:
    type: object
    properties:
      "#address-cells":
        const: 1

      "#size-cells":
        const: 0

    patternProperties:
      "^onkey@[0-2]$":
        $ref: /schemas/input/input.yaml#
        unevaluatedProperties: false
        type: object

        properties:
          reg:
            description: |
              One of
              MC13783 BUTTON IDs:
                0: ONOFD1
                1: ONOFD2
                2: ONOFD3

              MC13892 BUTTON IDs:
                0: PWRON1
                1: PWRON2
                2: PWRON3

Annotation

Implementation Notes