Re: [PATCH v4 2/3] dt-bindings: arm: stm32: document Odyssey compatible

From: Ahmad Fatoum
Date: Fri Jul 24 2020 - 05:20:29 EST


Hi,

On 7/23/20 9:37 PM, Marcin Sloniewski wrote:
> Document device tree bindings of Seeed SoM and carrier board.
>
> Signed-off-by: Marcin Sloniewski <marcin.sloniewski@xxxxxxxxx>
> Acked-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> index 790e6dd48e34..22b9aaa75eee 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> @@ -39,6 +39,8 @@ properties:
> - enum:
> - arrow,stm32mp157a-avenger96 # Avenger96
> - lxa,stm32mp157c-mc1
> + - seeed,stm32mp157c-odyssey
> + - seeed,stm32mp157c-odyssey-som

Did you run dtbs_check over it? I think this should fail.

You want something like:

# Odyssey SoM boards
- items:
- enum:
- seeed,stm32mp157c-odyssey
- const: seeed,stm32mp157c-odyssey-som
- const: st,stm32mp157

(Note 3 items vs 2 in yours)

> - shiratech,stm32mp157a-iot-box # IoT Box
> - shiratech,stm32mp157a-stinger96 # Stinger96
> - st,stm32mp157c-ed1
>

--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |