Thread (3 messages) 3 messages, 3 authors, 2020-09-12

Re: [PATCH v3] dt-bindings: pinctrl: sh-pfc: Convert to json-schema

From: Rob Herring <robh@kernel.org>
Date: 2020-08-28 22:08:28
Also in: linux-gpio, linux-renesas-soc

On Fri, 21 Aug 2020 13:22:08 +0200, Geert Uytterhoeven wrote:
Convert the Renesas Pin Function Controller (PFC) Device Tree binding
documentation to json-schema.

Document missing properties.
Drop deprecated and obsolete #gpio-range-cells property.
Update the example to match reality.
Drop consumer examples, as they do not belong here.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Notes:
  - "interrupts-extended" is used explicitly, because dt-schema does not
    apply the related fixup when "required: interrupts" is conditional,
  - "phandle: true" is needed because dt-schema does not add it
    automatically to subnodes.

To be queued in sh-pfc for v5.10.

v3:
  - Enable "drive-strength" and "power-source" enum checks, now
    dt-schema applies fixups correctly,
  - Refer to child schema instead of duplicating everything for
    grandchild nodes,
  - Use "pinctrl" generic node name,
  - Replace sh73a0 example by r8a7740 and r8a77951 examples,
  - Add child and grandchild example nodes to exercise all schema
    classes,

v2:
  - Add missing "input" property for subnodes,
  - Rebase on top of:
      - "dt-bindings: pinctrl: sh-pfc: Document r8a7742 PFC support",
      - "dt-bindings: pinctrl: sh-pfc: Document r8a774e1 PFC support",
  - Describe pin configuration subnodes.
---
 .../bindings/pinctrl/renesas,pfc-pinctrl.txt  | 188 -----------------
 .../bindings/pinctrl/renesas,pfc.yaml         | 193 ++++++++++++++++++
 2 files changed, 193 insertions(+), 188 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
Reviewed-by: Rob Herring <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help