Documentation/devicetree/bindings/regulator/motorola,cpcap-regulator.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/regulator/motorola,cpcap-regulator.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/regulator/motorola,cpcap-regulator.yaml
Extension
.yaml
Size
1216 bytes
Lines
48
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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/motorola,cpcap-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Motorola CPCAP PMIC regulators

maintainers:
  - Svyatoslav Ryhel <clamor95@gmail.com>

description:
  This module is part of the Motorola CPCAP MFD device. For more details
  see Documentation/devicetree/bindings/mfd/motorola,cpcap.yaml. The
  regulator controller is represented as a sub-node of the PMIC node
  on the device tree.

properties:
  compatible:
    enum:
      - motorola,cpcap-regulator
      - motorola,mapphone-cpcap-regulator
      - motorola,mot-cpcap-regulator
      - motorola,xoom-cpcap-regulator

  regulators:
    type: object

    patternProperties:
      "^(SW[1-6]|V(CAM|CSI|DAC|DIG|FUSE|HVIO|SDIO|PLL|RF[12]|RFREF|WLAN[12]|SIM|SIMCARD|VIB|USB|AUDIO))$":
        $ref: /schemas/regulator/regulator.yaml#
        type: object

        required:
          - regulator-name
          - regulator-enable-ramp-delay
          - regulator-min-microvolt
          - regulator-max-microvolt

        unevaluatedProperties: false

required:
  - compatible

additionalProperties: false

...

Annotation

Implementation Notes