Skip to contentSkip to conversation

dt-bindings: arm: fsl: Add DHCOM PicoITX and DHCOM DRC02 boards

PATCH Superseded Christoph Niedermaier 5 participants 10 messages May 25, 2021 – Jul 14, 2021 Device tree bindings

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: arm: fsl: Add DHCOM PicoITX and DHCOM DRC02 boards

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +12 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
           - const: dfi,fs700e-m60
           - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6DL Gateworks Ventana Boards
         items:
           - enum:
@@ -458,6 +464,12 @@ properties:
           - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
           - const: fsl,imx6dl
 
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6SL based Boards
         items:
           - enum:
Signature · 1 line
2.11.0
maintainer
#1 lore raw
Quoted 33 lines · Christoph Niedermaier

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
           - const: dfi,fs700e-m60
           - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6DL Gateworks Ventana Boards
         items:
           - enum:

Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 471

Quoted 8 lines
Documentation/devicetree/bindings/arm/fsl.yaml +5 -0
@@ -458,6 +464,12 @@ properties:
           - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
           - const: fsl,imx6dl
 
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl

fsl,imx6s?

Quoted 6 lines
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
+
       - description: i.MX6SL based Boards
         items:
           - enum:
Signature · 1 line
2.11.0
#2 lore raw

Send reply also to Rob Herrings +dt email address:

From: Rob Herring <[email protected]>
Sent: Wednesday, June 2, 2021 9:50 PM

Quoted 37 lines · Christoph Niedermaier
Quoted 36 lines

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
           - const: dfi,fs700e-m60
           - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6DL Gateworks Ventana Boards
         items:
           - enum:
@@ -458,6 +464,12 @@ properties:
           - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
           - const: fsl,imx6dl
 
Quoted 7 lines

Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 471

Quoted 5 lines
Documentation/devicetree/bindings/arm/fsl.yaml +5 -0
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl

fsl,imx6s?

In the first version I had here an additional line with "fsl,imx6s", but currently the kernel isn't supporting that compatible. The i.MX6 Solo is currently supported by "fsl,imx6dl". So my idea was to add both "fsl,imx6dl" and "fsl,imx6s" to match it maybe on a later kernel version. If there is no match with the Solo now, it will fall back to the i.MX6 DualLite. That is why I had both fsl,imx6s and fsl,imx6dl in that order. On Fabio's advice, I removed the line with "fsl,imx6s" in version 2.
Is this what you meant by your comment?

Quoted 7 lines
Quoted 7 lines
Documentation/devicetree/bindings/arm/fsl.yaml +1 -1
+
       - description: i.MX6SL based Boards
         items:
           - enum:
--

2.11.0

Regards
Christoph

#3 lore raw
Quoted 50 lines · Christoph Niedermaier

Send reply also to Rob Herrings +dt email address:

From: Rob Herring <[email protected]>
Sent: Wednesday, June 2, 2021 9:50 PM

Quoted 37 lines · Christoph Niedermaier
Quoted 36 lines

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
  Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
  1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
            - const: dfi,fs700e-m60
            - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
        - description: i.MX6DL Gateworks Ventana Boards
          items:
            - enum:
@@ -458,6 +464,12 @@ properties:
            - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
            - const: fsl,imx6dl
 
Quoted 7 lines

Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 471

Quoted 5 lines
Documentation/devicetree/bindings/arm/fsl.yaml +5 -0
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl

fsl,imx6s?

Quoted 9 lines

In the first version I had here an additional line with "fsl,imx6s", but currently the kernel isn't supporting that compatible. The i.MX6 Solo is currently supported by "fsl,imx6dl". So my idea was to add both "fsl,imx6dl" and "fsl,imx6s" to match it maybe on a later kernel version. If there is no match with the Solo now, it will fall back to the i.MX6 DualLite. That is why I had both fsl,imx6s and fsl,imx6dl in that order. On Fabio's advice, I removed the line with "fsl,imx6s" in version 2.
Is this what you meant by your comment?

I didn't notice that at first myself, but I think what Rob means is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
- const: fsl,imx6dl <------ this should be consistent with the two above

that is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
-- const: fsl,imx6dl
+- const: fsl,imx6s

              ^^^^^

But that is a bit odd here:
- The MX6S is MX6DL with one CPU core disabled.
- The DRC02 device can only house a SOM with MX6S and NOT with MX6DL
(due to some thermal design consideration or something).
- The kernel discerns the MX6S/MX6DL automatically based on the number of cores it reads from some register, therefore it only has the fsl,mx6dl compatible to cover both MX6S and MX6DL. So, the closest fallback compatible for this device really is the MX6DL, i.e. fsl,imx6dl.

So I think this patch is correct as-is, no ?

#4 lore raw

From: Marek Vasut [mailto:[email protected]]
Sent: Wednesday, June 16, 2021 1:33 PM

Quoted 85 lines · Christoph Niedermaier
Quoted 50 lines

Send reply also to Rob Herrings +dt email address:

From: Rob Herring <[email protected]>
Sent: Wednesday, June 2, 2021 9:50 PM

Quoted 37 lines · Christoph Niedermaier
Quoted 36 lines

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
  Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
  1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
            - const: dfi,fs700e-m60
            - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
        - description: i.MX6DL Gateworks Ventana Boards
          items:
            - enum:
@@ -458,6 +464,12 @@ properties:
            - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
            - const: fsl,imx6dl
 
Quoted 7 lines

Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 471

Quoted 5 lines
Documentation/devicetree/bindings/arm/fsl.yaml +5 -0
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl

fsl,imx6s?

Quoted 9 lines

In the first version I had here an additional line with "fsl,imx6s", but currently the kernel isn't supporting that compatible. The i.MX6 Solo is currently supported by "fsl,imx6dl". So my idea was to add both "fsl,imx6dl" and "fsl,imx6s" to match it maybe on a later kernel version. If there is no match with the Solo now, it will fall back to the i.MX6 DualLite. That is why I had both fsl,imx6s and fsl,imx6dl in that order. On Fabio's advice, I removed the line with "fsl,imx6s" in version 2.
Is this what you meant by your comment?

I didn't notice that at first myself, but I think what Rob means is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
- const: fsl,imx6dl <------ this should be consistent with the two above

that is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
-- const: fsl,imx6dl
+- const: fsl,imx6s

               ^^^^^

But that is a bit odd here:
- The MX6S is MX6DL with one CPU core disabled.
- The DRC02 device can only house a SOM with MX6S and NOT with MX6DL (due to some thermal design consideration or something).
- The kernel discerns the MX6S/MX6DL automatically based on the number of cores it reads from some register, therefore it only has the fsl,mx6dl compatible to cover both MX6S and MX6DL.
So, the closest fallback compatible for this device really is the MX6DL, i.e. fsl,imx6dl.

Quoted 1 line

So I think this patch is correct as-is, no ?

Is this Patch OK?

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#6 lore raw
In reply to Christoph Niedermaier
Quoted 89 lines · Christoph Niedermaier

From: Marek Vasut [mailto:[email protected]]
Sent: Wednesday, June 16, 2021 1:33 PM

Quoted 85 lines · Christoph Niedermaier
Quoted 50 lines

Send reply also to Rob Herrings +dt email address:

From: Rob Herring <[email protected]>
Sent: Wednesday, June 2, 2021 9:50 PM

Quoted 37 lines · Christoph Niedermaier
Quoted 36 lines

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
  Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
  1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
            - const: dfi,fs700e-m60
            - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
        - description: i.MX6DL Gateworks Ventana Boards
          items:
            - enum:
@@ -458,6 +464,12 @@ properties:
            - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
            - const: fsl,imx6dl
 
Quoted 7 lines

Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 471

Quoted 5 lines
Documentation/devicetree/bindings/arm/fsl.yaml +5 -0
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl

fsl,imx6s?

Quoted 9 lines

In the first version I had here an additional line with "fsl,imx6s", but currently the kernel isn't supporting that compatible. The i.MX6 Solo is currently supported by "fsl,imx6dl". So my idea was to add both "fsl,imx6dl" and "fsl,imx6s" to match it maybe on a later kernel version. If there is no match with the Solo now, it will fall back to the i.MX6 DualLite. That is why I had both fsl,imx6s and fsl,imx6dl in that order. On Fabio's advice, I removed the line with "fsl,imx6s" in version 2.
Is this what you meant by your comment?

I didn't notice that at first myself, but I think what Rob means is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
- const: fsl,imx6dl <------ this should be consistent with the two above

that is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
-- const: fsl,imx6dl
+- const: fsl,imx6s

               ^^^^^

But that is a bit odd here:
- The MX6S is MX6DL with one CPU core disabled.
- The DRC02 device can only house a SOM with MX6S and NOT with MX6DL (due to some thermal design consideration or something).
- The kernel discerns the MX6S/MX6DL automatically based on the number of cores it reads from some register, therefore it only has the fsl,mx6dl compatible to cover both MX6S and MX6DL.
So, the closest fallback compatible for this device really is the MX6DL, i.e. fsl,imx6dl.

Quoted 3 lines
Quoted 1 line

So I think this patch is correct as-is, no ?

Is this Patch OK?

Can we explain that fsl,imx6s thing a bit with some comments or commit log?

Shawn

#7 lore raw

From: Shawn Guo [mailto:[email protected]]
Sent: Wednesday, July 14, 2021 4:24 AM

Quoted 90 lines · Christoph Niedermaier
Quoted 89 lines

From: Marek Vasut [mailto:[email protected]]
Sent: Wednesday, June 16, 2021 1:33 PM

Quoted 85 lines · Christoph Niedermaier
Quoted 50 lines

Send reply also to Rob Herrings +dt email address:

From: Rob Herring <[email protected]>
Sent: Wednesday, June 2, 2021 9:50 PM

Quoted 37 lines · Christoph Niedermaier
Quoted 36 lines

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
  Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
  1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
            - const: dfi,fs700e-m60
            - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
        - description: i.MX6DL Gateworks Ventana Boards
          items:
            - enum:
@@ -458,6 +464,12 @@ properties:
            - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
            - const: fsl,imx6dl
 
Quoted 7 lines

Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 471

Quoted 5 lines
Documentation/devicetree/bindings/arm/fsl.yaml +5 -0
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl

fsl,imx6s?

Quoted 9 lines

In the first version I had here an additional line with "fsl,imx6s", but currently the kernel isn't supporting that compatible. The i.MX6 Solo is currently supported by "fsl,imx6dl". So my idea was to add both "fsl,imx6dl" and "fsl,imx6s" to match it maybe on a later kernel version. If there is no match with the Solo now, it will fall back to the i.MX6 DualLite. That is why I had both fsl,imx6s and fsl,imx6dl in that order. On Fabio's advice, I removed the line with "fsl,imx6s" in version 2.
Is this what you meant by your comment?

I didn't notice that at first myself, but I think what Rob means is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
- const: fsl,imx6dl <------ this should be consistent with the two above

that is

- const: dh,imx6s-dhcom-drc02
- const: dh,imx6s-dhcom-som
-- const: fsl,imx6dl
+- const: fsl,imx6s

               ^^^^^

But that is a bit odd here:
- The MX6S is MX6DL with one CPU core disabled.
- The DRC02 device can only house a SOM with MX6S and NOT with MX6DL (due to some thermal design consideration or something).
- The kernel discerns the MX6S/MX6DL automatically based on the number of cores it reads from some register, therefore it only has the fsl,mx6dl compatible to cover both MX6S and MX6DL.
So, the closest fallback compatible for this device really is the MX6DL, i.e. fsl,imx6dl.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

So I think this patch is correct as-is, no ?

Is this Patch OK?

Can we explain that fsl,imx6s thing a bit with some comments or commit log?

Shawn

I will send a version 3.

Regards
Christoph

#8 lore raw
In reply to Christoph Niedermaier
Quoted 8 lines · Christoph Niedermaier

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

Quoted 5 lines

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++

In the future, please have this bindings patch included in the series that actually uses it.

Shawn

Quoted 35 lines
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +12 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
           - const: dfi,fs700e-m60
           - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6DL Gateworks Ventana Boards
         items:
           - enum:
@@ -458,6 +464,12 @@ properties:
           - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
           - const: fsl,imx6dl
 
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6SL based Boards
         items:
           - enum:
Signature · 1 line
2.11.0
#9 lore raw

From: Shawn Guo [mailto:[email protected]]
Sent: Wednesday, July 14, 2021 4:26 AM

Quoted 15 lines · Christoph Niedermaier
Quoted 8 lines

Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards.

Quoted 5 lines

To: [email protected]
---
V2: Remove line with fsl,imx6s on the DRC02 Board

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++
Quoted 5 lines

In the future, please have this bindings patch included in the series that actually uses it.

Shawn

OK.

Thanks and regards
Christoph

Quoted 23 lines
Quoted 23 lines
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index fce2a8670b49..3c4ff79a3be7 100644
@@ -407,6 +407,12 @@ properties:
           - const: dfi,fs700e-m60
           - const: fsl,imx6dl
 
+      - description: i.MX6DL DHCOM PicoITX Board
+        items:
+          - const: dh,imx6dl-dhcom-picoitx
+          - const: dh,imx6dl-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6DL Gateworks Ventana Boards
         items:
           - enum:
@@ -458,6 +464,12 @@ properties:
           - const: toradex,colibri_imx6dl          # Colibri iMX6 Module
           - const: fsl,imx6dl
 
Quoted 12 lines
Quoted 10 lines
Documentation/devicetree/bindings/arm/fsl.yaml +6 -1
+      - description: i.MX6S DHCOM DRC02 Board
+        items:
+          - const: dh,imx6s-dhcom-drc02
+          - const: dh,imx6s-dhcom-som
+          - const: fsl,imx6dl
+
       - description: i.MX6SL based Boards
         items:
           - enum:
--
Quoted 2 lines

2.11.0

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel