Add pwm yml file. TIMER0/1/2/3 support pwm, LPTIMER0/1 not. LPTIMER0/1 provide 16bits out that not meet pwm requirement. Co-authored-by: Mert Vatansever <mert.vatansever@analog.com> Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
23 lines
363 B
YAML
23 lines
363 B
YAML
# Copyright (c) 2023-2024 Analog Devices, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: ADI MAX32 PWM
|
|
|
|
compatible: "adi,max32-pwm"
|
|
|
|
include: [base.yaml, pwm-controller.yaml, pinctrl-device.yaml]
|
|
|
|
properties:
|
|
pinctrl-0:
|
|
required: true
|
|
|
|
pinctrl-names:
|
|
required: true
|
|
|
|
"#pwm-cells":
|
|
const: 3
|
|
|
|
pwm-cells:
|
|
- channel
|
|
- period
|
|
- flags
|