Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
Extension
.yaml
Size
3575 bytes
Lines
178
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/st,stm32-lptimer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STMicroelectronics STM32 Low-Power Timers

description: |
  The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
  functions
   - PWM output (with programmable prescaler, configurable polarity)
   - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
   - Several counter modes:
     - quadrature encoder to detect angular position and direction of rotary
       elements, from IN1 and IN2 input signals.
     - simple counter from IN1 input signal.

maintainers:
  - Fabrice Gasnier <fabrice.gasnier@foss.st.com>

properties:
  compatible:
    oneOf:
      - items:
          - const: st,stm32mp25-lptimer
          - const: st,stm32-lptimer
      - items:
          - const: st,stm32-lptimer

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: mux

  interrupts:
    maxItems: 1

  "#address-cells":
    const: 1

  "#size-cells":
    const: 0

  wakeup-source: true

  access-controllers:
    minItems: 1
    maxItems: 2

  power-domains:
    maxItems: 1

  pwm:
    type: object
    additionalProperties: false

    properties:
      compatible:
        oneOf:
          - items:
              - const: st,stm32mp25-pwm-lp
              - const: st,stm32-pwm-lp
          - items:
              - const: st,stm32-pwm-lp

Annotation

Implementation Notes