2022-04-22 20:08:23

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: arm: stm32: Add compatible strings for Protonic T1L boards

This boards are based on STM32MP151AAD3 and use 10BaseT1L for
communication.

- PRTT1C - 10BaseT1L switch
- PRTT1S - 10BaseT1L CO2 sensor board
- PRTT1A - 10BaseT1L multi functional controller

Signed-off-by: Oleksij Rempel <[email protected]>
---
Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
index fa0a1b84122e..9628383a4779 100644
--- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
@@ -78,6 +78,12 @@ properties:
- const: st,stm32mp157c-ev1
- const: st,stm32mp157c-ed1
- const: st,stm32mp157
+ - items:
+ - enum:
+ - prt,prtt1a # Protonic PRTT1A
+ - prt,prtt1c # Protonic PRTT1C
+ - prt,prtt1s # Protonic PRTT1S
+ - const: st,stm32mp151

- description: Engicam i.Core STM32MP1 SoM based Boards
items:
--
2.30.2


2022-04-22 22:45:03

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: arm: stm32: Add compatible strings for Protonic T1L boards

On 22/04/2022 09:10, Oleksij Rempel wrote:
> This boards are based on STM32MP151AAD3 and use 10BaseT1L for
> communication.
>
> - PRTT1C - 10BaseT1L switch
> - PRTT1S - 10BaseT1L CO2 sensor board
> - PRTT1A - 10BaseT1L multi functional controller
>
> Signed-off-by: Oleksij Rempel <[email protected]>
> ---
> Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> index fa0a1b84122e..9628383a4779 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> @@ -78,6 +78,12 @@ properties:
> - const: st,stm32mp157c-ev1
> - const: st,stm32mp157c-ed1
> - const: st,stm32mp157
> + - items:
> + - enum:
> + - prt,prtt1a # Protonic PRTT1A
> + - prt,prtt1c # Protonic PRTT1C
> + - prt,prtt1s # Protonic PRTT1S
> + - const: st,stm32mp151

The entries look a bit unordered, maybe you could put it somewhere
ordered by st compatible?


Best regards,
Krzysztof