Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
Extension
.yaml
Size
10283 bytes
Lines
422
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
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: X-Powers AXP PMIC

maintainers:
  - Chen-Yu Tsai <wens@csie.org>

allOf:
  - if:
      properties:
        compatible:
          contains:
            enum:
              - x-powers,axp152
              - x-powers,axp202
              - x-powers,axp209

    then:
      properties:
        regulators:
          properties:
            x-powers,dcdc-freq:
              minimum: 750
              maximum: 1875
              default: 1500

    else:
      properties:
        regulators:
          properties:
            x-powers,dcdc-freq:
              minimum: 1800
              maximum: 4050
              default: 3000

  - if:
      properties:
        compatible:
          contains:
            enum:
              - x-powers,axp152
              - x-powers,axp202
              - x-powers,axp209

    then:
      properties:
        x-powers,drive-vbus-en: false

  - if:
      not:
        properties:
          compatible:
            contains:
              const: x-powers,axp806

    then:
      properties:
        x-powers,self-working-mode: false
        x-powers,master-mode: false

  - if:
      not:
        properties:
          compatible:
            contains:
              enum:

Annotation

Implementation Notes