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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
> 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@xxxxxxxxxx>



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux