Documentation/devicetree/bindings/pwm/marvell,berlin-pwm.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/pwm/marvell,berlin-pwm.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/pwm/marvell,berlin-pwm.yaml
Extension
.yaml
Size
754 bytes
Lines
45
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/pwm/marvell,berlin-pwm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Berlin PWM controller

maintainers:
  - Jisheng Zhang <jszhang@kernel.org>
  - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

properties:
  compatible:
    const: marvell,berlin-pwm

  reg:
    maxItems: 1

  "#pwm-cells":
    const: 3

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

allOf:
  - $ref: pwm.yaml#

unevaluatedProperties: false

examples:
  - |
    pwm@f7f20000 {
        compatible = "marvell,berlin-pwm";
        reg = <0xf7f20000 0x40>;
        clocks = <&chip_clk 12>;
        #pwm-cells = <3>;
    };

Annotation

Implementation Notes