Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml

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

File Facts

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

title: MediaTek MT6357 PMIC

maintainers:
  - Flora Fu <flora.fu@mediatek.com>
  - Alexandre Mergnat <amergnat@baylibre.com>

description: |
  MT6357 is a power management system chip containing 5 buck
  converters and 29 LDOs. Supported features are audio codec,
  USB battery charging, fuel gauge, RTC

  This is a multifunction device with the following sub modules:
  - Regulator
  - RTC
  - Keys

  It is interfaced to host controller using SPI interface by a proprietary hardware
  called PMIC wrapper or pwrap. This MFD is a child device of pwrap.
  See the following for pwrap node definitions:
  Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml

properties:
  compatible:
    const: mediatek,mt6357

  interrupts:
    maxItems: 1

  interrupt-controller: true

  "#interrupt-cells":
    const: 2

  mediatek,hp-pull-down:
    description:
      Earphone driver positive output stage short to
      the audio reference ground.
    type: boolean

  mediatek,micbias0-microvolt:
    description: Selects MIC Bias 0 output voltage.
    enum: [1700000, 1800000, 1900000, 2000000,
           2100000, 2500000, 2600000, 2700000]
    default: 1700000

  mediatek,micbias1-microvolt:
    description: Selects MIC Bias 1 output voltage.
    enum: [1700000, 1800000, 1900000, 2000000,
           2100000, 2500000, 2600000, 2700000]
    default: 1700000

  regulators:
    type: object
    $ref: /schemas/regulator/mediatek,mt6357-regulator.yaml
    unevaluatedProperties: false
    description:
      List of MT6357 BUCKs and LDOs regulators.

  rtc:
    type: object
    $ref: /schemas/rtc/rtc.yaml#
    unevaluatedProperties: false
    description:
      MT6357 Real Time Clock.

Annotation

Implementation Notes