Skip to content

dt-bindings: renesas,tpu: Improve and json-schema conversion

Geert Uytterhoeven linux-devicetree linux-pwm linux-renesas-soc lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Keep additionalProperties, as pwm.yaml doesn't add any other properties,
- Drop unneeded "'#pwm-cells': true" from "select" section in renesas,tpu-pwm.yaml,
- Add Reviewed-by.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: pwm: renesas,tpu-pwm: Improve json-schemaDocumentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml+17 -02 replies
2/2dt-bindings: timer: renesas,tpu: Convert to json-schemaDocumentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml Documentation/devicetree/bindings/timer/renesas,tpu.txt Documentation/devicetree/bindings/timer/renesas,tpu.yaml+65 -212 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob HerringYoshinori Sato
1/2A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] dt-bindings: renesas,tpu: Improve and json-schema conversion

Hi all,

There are two different device tree bindings defined for the Renesas Timer Pulse Unit:
- one for using the TPU as a PWM controller (used on ARM), already using json-schema, and
- a second one for using the TPU as a clock source (used on H8/300).
The first has already been converted to json-schema.

This series improves the former, and converts the latter to json-schema. As both bindings using "renesas,tpu", both bindings are marked with the appropriate "select" logic, to check for the presence respectively absence of the "#pwm-cells" property.

Changes compared to v1:
- Keep additionalProperties, as pwm.yaml doesn't add any other properties,
- Drop unneeded "'#pwm-cells': true" from "select" section in renesas,tpu-pwm.yaml,
- Add Reviewed-by.

Thanks for your comments!

Geert Uytterhoeven (2):
dt-bindings: pwm: renesas,tpu-pwm: Improve json-schema
dt-bindings: timer: renesas,tpu: Convert to json-schema

 .../bindings/pwm/renesas,tpu-pwm.yaml         | 26 +++++++++
 .../devicetree/bindings/timer/renesas,tpu.txt | 21 -------
 .../bindings/timer/renesas,tpu.yaml           | 56 +++++++++++++++++++
 3 files changed, 82 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/renesas,tpu.txt
 create mode 100644 Documentation/devicetree/bindings/timer/renesas,tpu.yaml
Signature · 12 lines
2.25.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds