Re: [PATCH 1/2] dt/bindings: mips: Document Ingenic SoCs binding

From: Rob Herring
Date: Mon Aug 12 2019 - 19:43:11 EST


On Mon, Jul 22, 2019 at 01:55:47PM -0400, Paul Cercueil wrote:
> Document the available properties for the root node and the cpu nodes of
> the devicetree for the Ingenic SoCs.
>
> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/mips/ingenic-socs.txt | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mips/ingenic-socs.txt

Please convert this to DT schema.

> diff --git a/Documentation/devicetree/bindings/mips/ingenic-socs.txt b/Documentation/devicetree/bindings/mips/ingenic-socs.txt
> new file mode 100644
> index 000000000000..fea2e6ec10a3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mips/ingenic-socs.txt
> @@ -0,0 +1,14 @@
> +Bindings for Ingenic JZ47xx family of SoCs
> +
> +Required properties for root node:
> +- compatible: One of:
> + * ingenic,jz4740
> + * ingenic,jz4725b
> + * ingenic,jz4770
> + * ingenic,jz4780
> +
> +Required properties for CPU nodes:
> +- compatible: One of:
> + * ingenic,xburst-d0
> + * ingenic,xburst-d1
> + * ingenic,xburst-e1

Root node and cpu bindings should be separate files. The CPU nodes
should have much more than just a compatible string.

Rob