On Mon, Sep 16, 2019 at 2:54 AM Simon Horman <[email protected]> wrote:
>
> Convert Renesas HSPI bindings documentation to json-schema.
> Also name bindings documentation file according to the compat string
> being documented.
>
> As a side effect of this change all currently supported/used compat
> strings are listed while no while card compat string is documented.
> This, in my opinion, is desirable as only supported hardware should
> be documented.
>
> Signed-off-by: Simon Horman <[email protected]>
> ---
> Based on v5.3-rc1
> Tested using:
>   ARCH=arm make dtbs_check 
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/renesas,hspi.yaml
>
> v2
> - reference spi-controller.yaml# and thus do not document
>   #address-cells and #size-cells properties.
>   These properties are still listed as required.
> - Drop comment regarding pinctrl properties.
>   These are not needed as only one state, "default", is supported
> - Document clocks and power-domains properties.
>   The clocks property is required. Add these properties to the example.
> - Drop unnecessary interrupt-parent property from example.
> ---
>  .../devicetree/bindings/spi/renesas,hspi.yaml      | 57 
> ++++++++++++++++++++++
>  Documentation/devicetree/bindings/spi/sh-hspi.txt  | 26 ----------
>  2 files changed, 57 insertions(+), 26 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/spi/renesas,hspi.yaml
>  delete mode 100644 Documentation/devicetree/bindings/spi/sh-hspi.txt

Reviewed-by: Rob Herring <[email protected]>

Reply via email to