lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 2 May 2022 10:01:52 +0200
From:   Alexandre TORGUE <alexandre.torgue@...s.st.com>
To:     Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        <devicetree@...r.kernel.org>,
        <linux-stm32@...md-mailman.stormreply.com>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>
CC:     Oleksij Rempel <o.rempel@...gutronix.de>
Subject: Re: [PATCH 1/2] dt-bindings: arm: stm32: narrow DH STM32MP1 SoM
 boards

Hi krzysztof

On 4/25/22 16:04, Krzysztof Kozlowski wrote:
> The bindings for DH STM32MP1 SoM boards allows invalid combinations,
> e.g. st,stm32mp153 SoC on a dh,stm32mp157c-dhcom-som SoM.
> 
> Split the enums to properly match valid setups.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
>   .../devicetree/bindings/arm/stm32/stm32.yaml  | 37 +++++++++++--------
>   1 file changed, 22 insertions(+), 15 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> index fa0a1b84122e..2f83f2760e6a 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> @@ -14,21 +14,6 @@ properties:
>       const: "/"
>     compatible:
>       oneOf:
> -      - description: DH STM32MP1 SoM based Boards
> -        items:
> -          - enum:
> -              - arrow,stm32mp157a-avenger96 # Avenger96
> -              - dh,stm32mp153c-dhcom-drc02
> -              - dh,stm32mp157c-dhcom-pdk2
> -              - dh,stm32mp157c-dhcom-picoitx
> -          - enum:
> -     Applied on stm32-next.

Thanks.
Alex         - dh,stm32mp153c-dhcom-som
> -              - dh,stm32mp157a-dhcor-som
> -              - dh,stm32mp157c-dhcom-som
> -          - enum:
> -              - st,stm32mp153
> -              - st,stm32mp157
> -
>         - description: emtrion STM32MP1 Argon based Boards
>           items:
>             - const: emtrion,stm32mp157c-emsbc-argon
> @@ -65,6 +50,13 @@ properties:
>             - enum:
>                 - st,stm32mp135f-dk
>             - const: st,stm32mp135
> +
> +      - description: DH STM32MP153 SoM based Boards
> +        items:
> +          - const: dh,stm32mp153c-dhcom-drc02
> +          - const: dh,stm32mp153c-dhcom-som
> +          - const: st,stm32mp153
> +
>         - items:
>             - enum:
>                 - shiratech,stm32mp157a-iot-box # IoT Box
> @@ -79,6 +71,21 @@ properties:
>             - const: st,stm32mp157c-ed1
>             - const: st,stm32mp157
>   
> +      - description: DH STM32MP1 SoM based Boards
> +        items:
> +          - enum:
> +              - arrow,stm32mp157a-avenger96 # Avenger96
> +          - const: dh,stm32mp157a-dhcor-som
> +          - const: st,stm32mp157
> +
> +      - description: DH STM32MP1 SoM based Boards
> +        items:
> +          - enum:
> +              - dh,stm32mp157c-dhcom-pdk2
> +              - dh,stm32mp157c-dhcom-picoitx
> +          - const: dh,stm32mp157c-dhcom-som
> +          - const: st,stm32mp157
> +
>         - description: Engicam i.Core STM32MP1 SoM based Boards
>           items:
>             - enum:

Applied on stm32-next.

Thanks.
Alex

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ