devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 1/2] serial: xuartps: Add new compatible string for ZynqMP
@ 2016-10-12  7:47 Nava kishore Manne
  2016-10-12  7:47 ` [PATCH v6 2/2] devicetree: bindings: uart: " Nava kishore Manne
  0 siblings, 1 reply; 3+ messages in thread
From: Nava kishore Manne @ 2016-10-12  7:47 UTC (permalink / raw)
  To: gregkh, robh+dt, mark.rutland, jslaby, michal.simek,
	soren.brinkmann, linux-serial, devicetree, linux-kernel,
	linux-arm-kernel, punnaia
  Cc: Nava kishore Manne

This patch Adds the new compatible string for ZynqMP SoC.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
---
Changes for v6:
		-Added New patch.

 drivers/tty/serial/xilinx_uartps.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index f37edaa..dd4c02f 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -1200,6 +1200,7 @@ static int __init cdns_early_console_setup(struct earlycon_device *device,
 OF_EARLYCON_DECLARE(cdns, "xlnx,xuartps", cdns_early_console_setup);
 OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p8", cdns_early_console_setup);
 OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p12", cdns_early_console_setup);
+OF_EARLYCON_DECLARE(cdns, "xlnx,zynqmp-uart", cdns_early_console_setup);
 
 /**
  * cdns_uart_console_write - perform write operation
@@ -1438,6 +1439,7 @@ static const struct of_device_id cdns_uart_of_match[] = {
 	{ .compatible = "xlnx,xuartps", },
 	{ .compatible = "cdns,uart-r1p8", },
 	{ .compatible = "cdns,uart-r1p12", .data = &zynqmp_uart_def },
+	{ .compatible = "xlnx,zynqmp-uart", .data = &zynqmp_uart_def },
 	{}
 };
 MODULE_DEVICE_TABLE(of, cdns_uart_of_match);
-- 
2.1.1

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

* [PATCH v6 2/2] devicetree: bindings: uart: Add new compatible string for ZynqMP
  2016-10-12  7:47 [PATCH v6 1/2] serial: xuartps: Add new compatible string for ZynqMP Nava kishore Manne
@ 2016-10-12  7:47 ` Nava kishore Manne
  2016-10-18 13:04   ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Nava kishore Manne @ 2016-10-12  7:47 UTC (permalink / raw)
  To: gregkh, robh+dt, mark.rutland, jslaby, michal.simek,
	soren.brinkmann, linux-serial, devicetree, linux-kernel,
	linux-arm-kernel, punnaia
  Cc: Nava kishore Manne, Nava kishore Manne

From: Nava kishore Manne <nava.manne@xilinx.com>

This patch Adds the new compatible string for ZynqMP SoC.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
---
Changes for v6:
		-Added New compatiable string for ZynqMP SoC as
		 suggested by Rob Herring.
Changes for v5:
		-Mofified the compatible session.
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(-)

diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.txt b/Documentation/devicetree/bindings/serial/cdns,uart.txt
index a3eb154..227bb77 100644
--- a/Documentation/devicetree/bindings/serial/cdns,uart.txt
+++ b/Documentation/devicetree/bindings/serial/cdns,uart.txt
@@ -1,7 +1,9 @@
 Binding for Cadence UART Controller
 
 Required properties:
-- compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps"
+- compatible :
+  Use "xlnx,xuartps","cdns,uart-r1p8" for Zynq-7xxx SoC.
+  Use "xlnx,zynqmp-uart","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
-- 
2.1.1

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

* Re: [PATCH v6 2/2] devicetree: bindings: uart: Add new compatible string for ZynqMP
  2016-10-12  7:47 ` [PATCH v6 2/2] devicetree: bindings: uart: " Nava kishore Manne
@ 2016-10-18 13:04   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2016-10-18 13:04 UTC (permalink / raw)
  To: Nava kishore Manne
  Cc: gregkh, mark.rutland, jslaby, michal.simek, soren.brinkmann,
	linux-serial, devicetree, linux-kernel, linux-arm-kernel, punnaia,
	Nava kishore Manne

On Wed, Oct 12, 2016 at 01:17:28PM +0530, Nava kishore Manne wrote:
> From: Nava kishore Manne <nava.manne@xilinx.com>
> 
> This patch Adds the new compatible string for ZynqMP SoC.
> 
> Signed-off-by: Nava kishore Manne <navam@xilinx.com>
> ---
> Changes for v6:
> 		-Added New compatiable string for ZynqMP SoC as
> 		 suggested by Rob Herring.
> Changes for v5:
> 		-Mofified the compatible session.
> 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(-)

Acked-by: Rob Herring <robh@kernel.org>

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

end of thread, other threads:[~2016-10-18 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12  7:47 [PATCH v6 1/2] serial: xuartps: Add new compatible string for ZynqMP Nava kishore Manne
2016-10-12  7:47 ` [PATCH v6 2/2] devicetree: bindings: uart: " Nava kishore Manne
2016-10-18 13:04   ` 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).