zephyr/dts/bindings/pwm/nordic,nrf-sw-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

38 lines
940 B
YAML

description: nRFx S/W PWM
compatible: "nordic,nrf-sw-pwm"
include: [pwm-controller.yaml, base.yaml]
properties:
timer-instance:
type: int
description: Timer instance to use for generating the PWM output signals
required: true
channel-count:
type: int
description: Number of PWM channels. Limited by timer instance compare registers minus 1.
required: true
clock-prescaler:
type: int
description: Clock prescaler for timer used for generating the PWM output signals with frequency = 16 MHz / 2^prescaler
required: true
ppi-base:
type: int
description: PPI base used for PPI index calculation used for PWM output generation
required: true
gpiote-base:
type: int
description: GPIOTE base used for GPIOTE index calculation used for PWM output generation
required: true
"#pwm-cells":
const: 1
pwm-cells:
- channel