mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tty: serial: Enable uartlite for ARM zynq
@ 2013-06-04 12:20 Michal Simek
  2013-06-04 12:43 ` Steffen Trumtrar
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2013-06-04 12:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michal Simek, Michal Simek, Greg Kroah-Hartman, linux-serial, Jiri Slaby

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

Enable it in Kconfig.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 7e7006f..64250b1 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -576,7 +576,7 @@ config SERIAL_IMX_CONSOLE

 config SERIAL_UARTLITE
 	tristate "Xilinx uartlite serial port support"
-	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE
+	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE || ARCH_ZYNQ
 	select SERIAL_CORE
 	help
 	  Say Y here if you want to use the Xilinx uartlite serial controller.
--
1.8.2.3


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [PATCH] tty: serial: Enable uartlite for ARM zynq
  2013-06-04 12:20 [PATCH] tty: serial: Enable uartlite for ARM zynq Michal Simek
@ 2013-06-04 12:43 ` Steffen Trumtrar
  2013-06-04 12:52   ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Trumtrar @ 2013-06-04 12:43 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, Michal Simek, Greg Kroah-Hartman, linux-serial, Jiri Slaby

On Tue, Jun 04, 2013 at 02:20:43PM +0200, Michal Simek wrote:
> Enable it in Kconfig.
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>  drivers/tty/serial/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index 7e7006f..64250b1 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -576,7 +576,7 @@ config SERIAL_IMX_CONSOLE
> 
>  config SERIAL_UARTLITE
>  	tristate "Xilinx uartlite serial port support"
> -	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE
> +	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE || ARCH_ZYNQ
>  	select SERIAL_CORE
>  	help
>  	  Say Y here if you want to use the Xilinx uartlite serial controller.
> --
> 1.8.2.3
> 

Hi!

Doesn't the Zynq use xilinx_uartps ? (which in turn is actually a Cadence UART)

Regards,
Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Re: [PATCH] tty: serial: Enable uartlite for ARM zynq
  2013-06-04 12:43 ` Steffen Trumtrar
@ 2013-06-04 12:52   ` Michal Simek
  2013-06-04 12:54     ` Steffen Trumtrar
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2013-06-04 12:52 UTC (permalink / raw)
  To: Steffen Trumtrar
  Cc: Michal Simek, linux-kernel, Greg Kroah-Hartman, linux-serial, Jiri Slaby

[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]

On 06/04/2013 02:43 PM, Steffen Trumtrar wrote:
> On Tue, Jun 04, 2013 at 02:20:43PM +0200, Michal Simek wrote:
>> Enable it in Kconfig.
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>  drivers/tty/serial/Kconfig | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
>> index 7e7006f..64250b1 100644
>> --- a/drivers/tty/serial/Kconfig
>> +++ b/drivers/tty/serial/Kconfig
>> @@ -576,7 +576,7 @@ config SERIAL_IMX_CONSOLE
>>
>>  config SERIAL_UARTLITE
>>  	tristate "Xilinx uartlite serial port support"
>> -	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE
>> +	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE || ARCH_ZYNQ
>>  	select SERIAL_CORE
>>  	help
>>  	  Say Y here if you want to use the Xilinx uartlite serial controller.
>> --
>> 1.8.2.3
>>
> 
> Hi!
> 
> Doesn't the Zynq use xilinx_uartps ? (which in turn is actually a Cadence UART)

You can add this soft IP to programmable logic.
It means 2 uartps are hard blocks in the zynq and then you can add unlimited number
of these uartlite drivers or ns16550 to PL.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

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

* Re: [PATCH] tty: serial: Enable uartlite for ARM zynq
  2013-06-04 12:52   ` Michal Simek
@ 2013-06-04 12:54     ` Steffen Trumtrar
  0 siblings, 0 replies; 4+ messages in thread
From: Steffen Trumtrar @ 2013-06-04 12:54 UTC (permalink / raw)
  To: Michal Simek
  Cc: Michal Simek, linux-kernel, Greg Kroah-Hartman, linux-serial, Jiri Slaby

On Tue, Jun 04, 2013 at 02:52:34PM +0200, Michal Simek wrote:
> On 06/04/2013 02:43 PM, Steffen Trumtrar wrote:
> > On Tue, Jun 04, 2013 at 02:20:43PM +0200, Michal Simek wrote:
> >> Enable it in Kconfig.
> >>
> >> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> >> ---
> >>  drivers/tty/serial/Kconfig | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> >> index 7e7006f..64250b1 100644
> >> --- a/drivers/tty/serial/Kconfig
> >> +++ b/drivers/tty/serial/Kconfig
> >> @@ -576,7 +576,7 @@ config SERIAL_IMX_CONSOLE
> >>
> >>  config SERIAL_UARTLITE
> >>  	tristate "Xilinx uartlite serial port support"
> >> -	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE
> >> +	depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE || ARCH_ZYNQ
> >>  	select SERIAL_CORE
> >>  	help
> >>  	  Say Y here if you want to use the Xilinx uartlite serial controller.
> >> --
> >> 1.8.2.3
> >>
> > 
> > Hi!
> > 
> > Doesn't the Zynq use xilinx_uartps ? (which in turn is actually a Cadence UART)
> 
> You can add this soft IP to programmable logic.
> It means 2 uartps are hard blocks in the zynq and then you can add unlimited number
> of these uartlite drivers or ns16550 to PL.

Ah, okay.

Thanks,
Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

end of thread, other threads:[~2013-06-04 12:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-04 12:20 [PATCH] tty: serial: Enable uartlite for ARM zynq Michal Simek
2013-06-04 12:43 ` Steffen Trumtrar
2013-06-04 12:52   ` Michal Simek
2013-06-04 12:54     ` Steffen Trumtrar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®