From: Alexandre TORGUE <alexandre.torgue@foss.st.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
<devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: Re: [PATCH 1/2] dt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards
Date: Mon, 2 May 2022 10:01:52 +0200 [thread overview]
Message-ID: <0018dfe2-8279-fbdb-1c99-7c73570e2000@foss.st.com> (raw)
In-Reply-To: <20220425140436.332467-1-krzysztof.kozlowski@linaro.org>
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@linaro.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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2022-05-02 8:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-25 14:04 [PATCH 1/2] dt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards Krzysztof Kozlowski
2022-04-25 14:04 ` [PATCH 2/2] dt-bindings: arm: stm32: correct blank lines Krzysztof Kozlowski
2022-04-26 18:15 ` Rob Herring
2022-05-02 8:31 ` Alexandre TORGUE
2022-04-26 18:15 ` [PATCH 1/2] dt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards Rob Herring
2022-05-02 8:01 ` Alexandre TORGUE [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0018dfe2-8279-fbdb-1c99-7c73570e2000@foss.st.com \
--to=alexandre.torgue@foss.st.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=o.rempel@pengutronix.de \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).