devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR DRC Compact
@ 2022-06-13  9:53 Marek Vasut
  2022-06-16 17:58 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2022-06-13  9:53 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Alexandre Torgue, Maxime Coquelin, Patrice Chotard,
	Patrick Delaunay, Rob Herring, devicetree, linux-stm32

Add DT compatible string for DH electronics STM32MP15xx DHCOR on DRC Compact
carrier board into YAML DT binding document. This system is a general purpose
DIN Rail Controller design.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
---
 Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
index 8b31565fee591..17366d9cf15bf 100644
--- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
@@ -61,8 +61,12 @@ properties:
 
       - description: DH STM32MP153 SoM based Boards
         items:
-          - const: dh,stm32mp153c-dhcom-drc02
-          - const: dh,stm32mp153c-dhcom-som
+          - enum:
+              - dh,stm32mp153c-dhcom-drc02
+              - dh,stm32mp153c-dhcor-drc-compact
+          - enum:
+              - dh,stm32mp153c-dhcom-som
+              - dh,stm32mp153c-dhcor-som
           - const: st,stm32mp153
 
       - items:
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/7] dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR DRC Compact
  2022-06-13  9:53 [PATCH 1/7] dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR DRC Compact Marek Vasut
@ 2022-06-16 17:58 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-06-16 17:58 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-arm-kernel, Alexandre Torgue, Maxime Coquelin,
	Patrice Chotard, Patrick Delaunay, devicetree, linux-stm32

On Mon, Jun 13, 2022 at 11:53:22AM +0200, Marek Vasut wrote:
> Add DT compatible string for DH electronics STM32MP15xx DHCOR on DRC Compact
> carrier board into YAML DT binding document. This system is a general purpose
> DIN Rail Controller design.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Alexandre Torgue <alexandre.torgue@st.com>
> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
> Cc: Patrice Chotard <patrice.chotard@st.com>
> Cc: Patrick Delaunay <patrick.delaunay@st.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: devicetree@vger.kernel.org
> Cc: linux-stm32@st-md-mailman.stormreply.com
> To: linux-arm-kernel@lists.infradead.org
> ---
>  Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> index 8b31565fee591..17366d9cf15bf 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> @@ -61,8 +61,12 @@ properties:
>  
>        - description: DH STM32MP153 SoM based Boards
>          items:
> -          - const: dh,stm32mp153c-dhcom-drc02
> -          - const: dh,stm32mp153c-dhcom-som
> +          - enum:
> +              - dh,stm32mp153c-dhcom-drc02
> +              - dh,stm32mp153c-dhcor-drc-compact
> +          - enum:
> +              - dh,stm32mp153c-dhcom-som
> +              - dh,stm32mp153c-dhcor-som

Seems like dh,stm32mp153c-dhcor-som should be a new entry? Unless that 
plus dh,stm32mp153c-dhcom-drc02 is valid?

>            - const: st,stm32mp153
>  
>        - items:
> -- 
> 2.35.1
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-16 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-13  9:53 [PATCH 1/7] dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR DRC Compact Marek Vasut
2022-06-16 17:58 ` Rob Herring

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).