Re: [PATCH 2/2] dt-bindings: arm: renesas: Add HopeRun RZ/G2[M] boards

From: Rob Herring
Date: Wed May 15 2019 - 09:44:21 EST


On Wed, May 15, 2019 at 6:45 AM Fabrizio Castro
<fabrizio.castro@xxxxxxxxxxxxxx> wrote:
>
> This patch adds board HiHope RZ/G2M (the main board, powered by
> the R8A774A1) and board HiHope RZ/G2 EX (the expansion board
> that sits on top of the HiHope RZ/G2M). Both boards are made
> by Jiangsu HopeRun Software Co., Ltd. (a.k.a. HopeRun).
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx>
> Reviewed-by: Chris Paterson <Chris.Paterson2@xxxxxxxxxxx>
>
> ---
> Useful links:
> http://hihope.org/product/detail/rzg2
> https://item.taobao.com/item.htm?spm=a2oq0.12575281.0.0.6bcf1debQpzkRS&ft=t&id=592177498472
> http://www.hoperun.com/Cn/news/id/379
>
> We already know that the HiHope RZ/G2 EX will also sit on the
> HiHope RZ/G2N, even though the HiHope RZ/G2N doesn't exist just
> yet.

Seems like useful into to put in the commit msg.

> ---
> Documentation/devicetree/bindings/arm/renesas.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml
> index 19f3798..95302b9 100644
> --- a/Documentation/devicetree/bindings/arm/renesas.yaml
> +++ b/Documentation/devicetree/bindings/arm/renesas.yaml
> @@ -106,6 +106,14 @@ properties:
>
> - description: RZ/G2M (R8A774A1)
> items:
> + - enum:
> + - hoperun,hihope-rzg2m # HopeRun HiHope RZ/G2M platform
> + - const: renesas,r8a774a1
> +
> + items:

Did you run this thru the checks because this isn't valid json-schema.
You can't have same keyword twice. This 'items' needs to be another
list entry (i.e. add a '-').

> + - enum:
> + - hoperun,hihope-rzg2-ex # HopeRun expansion board for HiHope RZ/G2 platforms
> + - const: hoperun,hihope-rzg2m
> - const: renesas,r8a774a1
>
> - description: RZ/G2E (R8A774C0)
> --
> 2.7.4
>