Skip to contentSkip to conversation

devicetree: bindings: uart: Add new compatible string for ZynqMP

PATCH In review Nava kishore Manne 2 participants 4 messages Sep 26, 2016 – Oct 5, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 devicetree: bindings: uart: Add new compatible string for ZynqMP

From: Nava kishore Manne <[email protected]>

This patch Adds the new compatible string for ZynqMP SoC.

---
Changes for v5:
-Fixed some minor comments.
Changes for v4:
-Modified the ChangeLog comment.
Changes for v3:
-Added changeLog comment.
Changes for v2:
-None

 Documentation/devicetree/bindings/serial/cdns,uart.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/serial/cdns,uart.txt +3 -1
index a3eb154..30c885c 100644
@@ -1,7 +1,9 @@
 Binding for Cadence UART Controller
 
 Required properties:
-- compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps"
+- compatible :
+  Use "cdns,uart-r1p8", or "xlnx,xuartps" for Zynq-7xxx SoC.
+  Use "cdns,uart-r1p12" for Zynq Ultrascale+ MPSoC.
 - reg: Should contain UART controller registers location and length.
 - interrupts: Should contain UART controller interrupts.
 - clocks: Must contain phandles to the UART clocks
Signature · 1 line
2.1.2
maintainer
#1 lore raw
Quoted 8 lines · Nava kishore Manne

From: Nava kishore Manne <[email protected]>

This patch Adds the new compatible string for ZynqMP SoC.

---
Changes for v5:
-Fixed some minor comments.

Not a useful changelog. The point of these comments is to remind the reviewers of what they commented on.

Quoted 15 lines

Changes for v4:
-Modified the ChangeLog comment.
Changes for v3:
-Added changeLog comment.
Changes for v2:
-None

 Documentation/devicetree/bindings/serial/cdns,uart.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/serial/cdns,uart.txt +0 -0
index a3eb154..30c885c 100644

Documentation/devicetree/bindings/serial/cdns,uart.txt line 5

Quoted 6 lines
Documentation/devicetree/bindings/serial/cdns,uart.txt +2 -1
@@ -1,7 +1,9 @@
 Binding for Cadence UART Controller
 
 Required properties:
-- compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps"
+- compatible :
+  Use "cdns,uart-r1p8", or "xlnx,xuartps" for Zynq-7xxx SoC.

This is still not right. It was wrong before, but you are touching it so make it right.

OR doesn't match the dts files. It is AND and the opposite order.

xlnx,xuartps wasn't the best naming, but it's in use so we'll have to live with it for zynq-7xxx.

Documentation/devicetree/bindings/serial/cdns,uart.txt line 6

Quoted 1 line
Documentation/devicetree/bindings/serial/cdns,uart.txt +1 -0
+  Use "cdns,uart-r1p12" for Zynq Ultrascale+ MPSoC.

What I meant here was this should have something like "xlnx,mpsoc-uart" as the first compatible with "cdns,uart-r1p12" as the second. Not sure if "mpsoc" is the best name here.

Rob

#2 lore raw

Hi Rob,

Thanks for the review...

Quoted 5 lines
Quoted 2 lines

Changes for v5:
-Fixed some minor comments.

Not a useful changelog. The point of these comments is to remind the reviewers of what they commented on.

Ok will take care from next version onwards...

Quoted 10 lines
Quoted 4 lines

Required properties:
-- compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps"

+- compatible :
+  Use "cdns,uart-r1p8", or "xlnx,xuartps" for Zynq-7xxx SoC.

This is still not right. It was wrong before, but you are touching it so make it right.

OR doesn't match the dts files. It is AND and the opposite order.

Quoted 8 lines

xlnx,xuartps wasn't the best naming, but it's in use so we'll have to live with it for zynq-7xxx.

Quoted 1 line

+ Use "cdns,uart-r1p12" for Zynq Ultrascale+ MPSoC.

What I meant here was this should have something like "xlnx,mpsoc-uart" as the first compatible with "cdns,uart-r1p12" as the second. Not sure if "mpsoc" is the best name here.

You mean something like below
Use "xlnx,xuartps" or "cdns,uart-r1p8" for Zynq-7xxx SoC.
Use "xlnx,zynqmp-uart" or " cdns,uart-r1p12" for Zynq Ultrascale+ MPSoC.

Please correct me if my understanding is wrong.

Regards,
Navakishore.

maintainer
#3 lore raw
Quoted 25 lines · Nava kishore Manne

Hi Rob,

Thanks for the review...

Quoted 5 lines
Quoted 2 lines

Changes for v5:
-Fixed some minor comments.

Not a useful changelog. The point of these comments is to remind the reviewers of what they commented on.

Ok will take care from next version onwards...

Quoted 13 lines
Quoted 4 lines

Required properties:
-- compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps"

+- compatible :
+  Use "cdns,uart-r1p8", or "xlnx,xuartps" for Zynq-7xxx SoC.

This is still not right. It was wrong before, but you are touching it so make it right.

OR doesn't match the dts files. It is AND and the opposite order.

xlnx,xuartps wasn't the best naming, but it's in use so we'll have to live with it for zynq-7xxx.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

+ Use "cdns,uart-r1p12" for Zynq Ultrascale+ MPSoC.

What I meant here was this should have something like "xlnx,mpsoc-uart" as the first compatible with "cdns,uart-r1p12" as the second. Not sure if "mpsoc" is the best name here.

You mean something like below
Use "xlnx,xuartps" or "cdns,uart-r1p8" for Zynq-7xxx SoC.

As I said, it is not an OR condition. 'Use "xlnx,xuartps", "cdns,uart-r1p8" for Zynq-7xxx SoC

Quoted 1 line

Use "xlnx,zynqmp-uart" or " cdns,uart-r1p12" for Zynq Ultrascale+ MPSoC.

Yes, but as above.

Rob