Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: pwm: describe the cells in #pwm-cells in pwm.yaml

When commit 89650a1e3b6f ("dt-bindings: pwm: Convert PWM bindings
to json-schema") converted the pwm provider section of the text binding
to dt-schema it also updated all references to pwm.txt in pwm provider
bindings to pwm.yaml.

Most pwm provider bindings had a reference to pwm.txt as it contains a
description of what the cells in #pwm-cells are, albeit in the consumer
section of the document. Only information in the provider section of the
document was moved to the yaml binding, and it contains no information
about the cell format, making all references to it for the cell format
unhelpful.

Fixes: 89650a1e3b6f ("dt-bindings: pwm: Convert PWM bindings to json-schema")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240517-patient-stingily-30611f73e792@spud
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

authored by

Conor Dooley and committed by
Uwe Kleine-König
32207e9d 7346e7a0

+4 -2
+4 -2
Documentation/devicetree/bindings/pwm/pwm.yaml
··· 16 16 pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$" 17 17 18 18 "#pwm-cells": 19 - description: 20 - Number of cells in a PWM specifier. 19 + description: | 20 + Number of cells in a PWM specifier. Typically the cells represent, in 21 + order: the chip-relative PWM number, the PWM period in nanoseconds and 22 + optionally a number of flags (defined in <dt-bindings/pwm/pwm.h>). 21 23 22 24 required: 23 25 - "#pwm-cells"