Skip to content

RFC convert gpio-restart bindings to yaml

Sander Vanheule linux-devicetree linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: power: reset: Convert gpio-restart binding to schemaDocumentation/devicetree/bindings/power/reset/gpio-restart.txt Documentation/devicetree/bindings/power/reset/gpio-restart.yaml+92 -542 replies
2/3dt-bindings: power: reset: gpio-restart: Add -ms suffix to delaysDocumentation/devicetree/bindings/power/reset/gpio-restart.yaml+18 -92 replies
3/3dt-bindings: power: reset: gpio-restart: Correct default priorityDocumentation/devicetree/bindings/power/reset/gpio-restart.yaml+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH v1 0/3] convert gpio-restart bindings to yaml

This patch series first converts the gpio-restart bindings to the schema format, so device descriptions can be verified against the binding. Two smaller patches then follow: one to fix the documentation, and a one to add suffixes to values with implied units.

Open questions:
- Who should I add as maintainer for the binding, if not myself (patch 1)
- Should properties with names that don't match the guidelines be updated, or can the original names be kept? (patch 2, 3)
- Since the "priority" property is a Linux kernel specific thing, should it just deprecated entirely? (patch 3)

Sander Vanheule (3):
dt-bindings: power: reset: Convert gpio-restart binding to schema
dt-bindings: power: reset: gpio-restart: Add -ms suffix to delays
dt-bindings: power: reset: gpio-restart: Correct default priority

 .../bindings/power/reset/gpio-restart.txt     |  54 ----------
 .../bindings/power/reset/gpio-restart.yaml    | 101 ++++++++++++++++++
 2 files changed, 101 insertions(+), 54 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/power/reset/gpio-restart.txt
 create mode 100644 Documentation/devicetree/bindings/power/reset/gpio-restart.yaml
Signature · 1 line
2.33.1