zephyr/dts/bindings/pwm/atmel,sam-pwm.yaml
Ulf Magnusson 2934ee2cda dts: bindings: Remove 'title:' and put all info. into 'description:'
Add any useful information from 'title:' to the 'description:' strings
(e.g. explanations of acronyms), and remove 'title:' as well as any
copy-pasted "this binding gives a ..." boilerplate.

Also clean some description strings up a bit.

Some other things could probably be cleaned up (replacing 'GPIO node'
with 'GPIO controller' on controllers for consistency, for example), but
I kept things close to the original to avoid accidentally messing up.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-18 11:52:45 +01:00

39 lines
689 B
YAML

# Copyright (c) 2019, Aurelien Jarno
# SPDX-License-Identifier: Apache-2.0
description: Atmel SAM PWM
compatible: "atmel,sam-pwm"
include: [pwm-controller.yaml, base.yaml]
properties:
reg:
required: true
interrupts:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
prescaler:
type: int
required: true
description: Clock prescaler at the input of the PWM (0 to 10)
divider:
type: int
required: true
description: Clock divider at the input of the PWM (1 to 255)
"#pwm-cells":
const: 2
pwm-cells:
- channel
# period in terms of nanoseconds
- period