Skip to contentSkip to conversation

dt-bindings: omap: Add TI Pandaboard A4 variant

PATCH Superseded Tom Rini 4 participants 9 messages Jan 22, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 dt-bindings: omap: Add TI Pandaboard A4 variant

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

---
Cc: Aaro Koskinen <[email protected]>
Cc: Andreas Kemnade <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/ti/omap.yaml +1 -0
index 93e04a109a12..28e23ca766b4 100644
@@ -137,6 +137,7 @@ properties:
               - motorola,xyboard-mz609
               - motorola,xyboard-mz617
               - ti,omap4-panda
+              - ti,omap4-panda-a4
               - ti,omap4-sdp
           - const: ti,omap4430
           - const: ti,omap4
Signature · 1 line
2.43.0
#1 lore raw
Quoted 2 lines · Tom Rini

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

Why? Where is any user of this? Your commit msg should explain this, because it's not obvious. Obvious is to send binding with the user, but the second patch is missing.

Best regards,
Krzysztof

maintainer
#5 lore raw
In reply to Tom Rini

Am Tue, 21 Jan 2025 18:12:40 -0600
schrieb Tom Rini <[email protected]>:

Quoted 25 lines

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

---
Cc: Aaro Koskinen <[email protected]>
Cc: Andreas Kemnade <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/ti/omap.yaml +0 -0
index 93e04a109a12..28e23ca766b4 100644

Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 143

Quoted 7 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +1 -0
@@ -137,6 +137,7 @@ properties:
               - motorola,xyboard-mz609
               - motorola,xyboard-mz617
               - ti,omap4-panda
+              - ti,omap4-panda-a4
               - ti,omap4-sdp
           - const: ti,omap4430
           - const: ti,omap4

This allows compatible = "ti,omap4-panda-a4", "ti,omap4430", "ti,omap4"

According to your other patch, you want
compatible = "ti,omap4-panda-a4", "ti,omap4-panda", "ti,omap4430", "ti,omap4"

so you need a construction similar to the "ti,omap3-beagle-ab4"

Regards,
Andreas

author
#2 lore raw
In reply to Krzysztof Kozlowski
Quoted 7 lines · Krzysztof Kozlowski
Quoted 2 lines · Tom Rini

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

Why? Where is any user of this? Your commit msg should explain this, because it's not obvious. Obvious is to send binding with the user, but the second patch is missing.

You were cc'd on
https://lore.kernel.org/all/[email protected]/

Signature · 1 line
Tom
author
#6 lore raw
In reply to Andreas Kemnade
Quoted 38 lines · Andreas Kemnade

Am Tue, 21 Jan 2025 18:12:40 -0600
schrieb Tom Rini <[email protected]>:

Quoted 25 lines

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

---
Cc: Aaro Koskinen <[email protected]>
Cc: Andreas Kemnade <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/ti/omap.yaml +0 -0
index 93e04a109a12..28e23ca766b4 100644

Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 143

Quoted 7 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +1 -0
@@ -137,6 +137,7 @@ properties:
               - motorola,xyboard-mz609
               - motorola,xyboard-mz617
               - ti,omap4-panda
+              - ti,omap4-panda-a4
               - ti,omap4-sdp
           - const: ti,omap4430
           - const: ti,omap4

This allows compatible = "ti,omap4-panda-a4", "ti,omap4430", "ti,omap4"

Quoted 5 lines

According to your other patch, you want
compatible = "ti,omap4-panda-a4", "ti,omap4-panda", "ti,omap4430", "ti,omap4"

so you need a construction similar to the "ti,omap3-beagle-ab4"

Do you mean the order should change, or it should be an enum? I'm not sure where this is documented (the $id and $schema values in the file are just 404s so I guess not something to read directly?).

Signature · 1 line
Tom
#3 lore raw
In reply to Tom Rini
Quoted 11 lines · Tom Rini
Quoted 7 lines · Krzysztof Kozlowski
Quoted 2 lines · Tom Rini

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

Why? Where is any user of this? Your commit msg should explain this, because it's not obvious. Obvious is to send binding with the user, but the second patch is missing.

You were cc'd on
https://lore.kernel.org/all/[email protected]/

I am cc-ed on 200 patches per day and it means nothing. Do you expect me to look for missing user in 1000 patches per week, for every 1000 patches? Or how does it supposed to work?

But regardless, the majority of review is done via patchwork and that DTS patch was not in that thread. It's missing.

You are supposed to send the binding and the user DTS in the same patchset. Separate makes little sense in case of kernel.

If you need the binding for other projects, then of course above changes
into: always reference the other project submission.

Best regards,
Krzysztof

author
#4 lore raw
Quoted 10 lines · Krzysztof Kozlowski
Quoted 9 lines · Tom Rini
Quoted 7 lines · Krzysztof Kozlowski
Quoted 2 lines · Tom Rini

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

Why? Where is any user of this? Your commit msg should explain this, because it's not obvious. Obvious is to send binding with the user, but the second patch is missing.

Quoted 5 lines
Quoted 2 lines

You were cc'd on
https://lore.kernel.org/all/[email protected]/

I am cc-ed on 200 patches per day and it means nothing. Do you expect me to look for missing user in 1000 patches per week, for every 1000 patches? Or how does it supposed to work?

Being an overwhelmed maintainer sucks, I really do get that, sorry for my short reply.

Quoted 8 lines

But regardless, the majority of review is done via patchwork and that DTS patch was not in that thread. It's missing.

You are supposed to send the binding and the user DTS in the same patchset. Separate makes little sense in case of kernel.

If you need the binding for other projects, then of course above changes
into: always reference the other project submission.

It's fixing a 10 year old regression where the equally viable option is to just delete the dts file as I'm 99.9% sure no one has even tried using it in that time.

Signature · 1 line
Tom
maintainer
#7 lore raw
In reply to Tom Rini

Am Wed, 22 Jan 2025 08:20:58 -0600
schrieb Tom Rini <[email protected]>:

Quoted 43 lines · Andreas Kemnade
Quoted 42 lines

Am Tue, 21 Jan 2025 18:12:40 -0600
schrieb Tom Rini <[email protected]>:

Quoted 25 lines

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

---
Cc: Aaro Koskinen <[email protected]>
Cc: Andreas Kemnade <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/ti/omap.yaml +0 -0
index 93e04a109a12..28e23ca766b4 100644

Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 143

Quoted 7 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +1 -0
@@ -137,6 +137,7 @@ properties:
               - motorola,xyboard-mz609
               - motorola,xyboard-mz617
               - ti,omap4-panda
+              - ti,omap4-panda-a4
               - ti,omap4-sdp
           - const: ti,omap4430
           - const: ti,omap4  

This allows compatible = "ti,omap4-panda-a4", "ti,omap4430", "ti,omap4"

According to your other patch, you want
compatible = "ti,omap4-panda-a4", "ti,omap4-panda", "ti,omap4430", "ti,omap4"

Quoted 6 lines
Quoted 1 line

so you need a construction similar to the "ti,omap3-beagle-ab4"

Do you mean the order should change, or it should be an enum? I'm not sure where this is documented (the $id and $schema values in the file are just 404s so I guess not something to read directly?).

you would need a block like this:

- description: Early Pandaboard revision A4
items:
- const: ti,omap4-panda-a4
- const: ti,omap4-panda
- const: ti,omap4430
- const: ti,omap4

Regards,
Andreas

#8 lore raw
Quoted 53 lines · Andreas Kemnade

Am Wed, 22 Jan 2025 08:20:58 -0600
schrieb Tom Rini <[email protected]>:

Quoted 43 lines · Andreas Kemnade
Quoted 42 lines

Am Tue, 21 Jan 2025 18:12:40 -0600
schrieb Tom Rini <[email protected]>:

Quoted 25 lines

Document the ti,omap4-panda-a4 compatible string in the appropriate place within the omap family binding file.

---
Cc: Aaro Koskinen <[email protected]>
Cc: Andreas Kemnade <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/ti/omap.yaml +0 -0
index 93e04a109a12..28e23ca766b4 100644

Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 143

Quoted 7 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +1 -0
@@ -137,6 +137,7 @@ properties:
               - motorola,xyboard-mz609
               - motorola,xyboard-mz617
               - ti,omap4-panda
+              - ti,omap4-panda-a4
               - ti,omap4-sdp
           - const: ti,omap4430
           - const: ti,omap4

This allows compatible = "ti,omap4-panda-a4", "ti,omap4430", "ti,omap4"

According to your other patch, you want
compatible = "ti,omap4-panda-a4", "ti,omap4-panda", "ti,omap4430", "ti,omap4"

Quoted 6 lines
Quoted 1 line

so you need a construction similar to the "ti,omap3-beagle-ab4"

Do you mean the order should change, or it should be an enum? I'm not sure where this is documented (the $id and $schema values in the file are just 404s so I guess not something to read directly?).

Quoted 8 lines

you would need a block like this:

- description: Early Pandaboard revision A4
items:
- const: ti,omap4-panda-a4
- const: ti,omap4-panda
- const: ti,omap4430
- const: ti,omap4

Here's a good table:

https://omappedia.com/wiki/PandaBoard_Revisions#PandaBoard_Revision_History:

The A4 was actually 'late' in the Pandaboard life, sadly the PandaBoard.org domain went down years ago with no real backup..

The biggest A4 change i've been able to dig up was a change of the i2c pull ups on the hdmi bus:

https://git.ti.com/gitweb?p=ti-linux-kernel/ti-linux-kernel.git;a=blob;f=arch/arm/boot/dts/omap4-panda-a4.dts;h=f1a6476af3716489007c12141d06f208ec2ebc94;hb=refs/heads/ti-linux-4.14.y

I don't believe I ever saw an A5/A6 in my hands.

Since Panda pre-dates device-tree's normally these would have been named:

ti,omap4-panda-a2 (first production)
ti,omap4-panda-a4

But with this new thing called "device-tree" the A2 got ti,omap4-panda and the newer A4 got ti,omap4-panda-a4...

Regards,

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/