zephyr/dts/bindings/pwm/nordic,nrf-pwm.yaml
Andrzej Głąbek 791ba98e7a dts: bindings: nordic: Require pinctrl-names together with pinctrl-0
... so that a clear devicetree error is reported when the pinctrl-names
property is missing, not a quite cryptic compilation error about an
undeclared PINCTRL_STATE_*_UPPER_TOKEN symbol in pinctrl.h.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-08-02 03:29:30 -04:00

27 lines
432 B
YAML

description: nRF PWM
compatible: "nordic,nrf-pwm"
include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml, memory-region.yaml]
properties:
reg:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
center-aligned:
type: boolean
description: Set this to use center-aligned (up and down) counter mode.
"#pwm-cells":
const: 3
pwm-cells:
- channel
- period
- flags