Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395899 > unrolled thread

Re: [PATCH 0/3] Support MPS2 UART controller

Started byPaul Gortmaker <paul.gortmaker@windriver.com>
First post2016-05-06 16:40 +0200
Last post2016-05-06 16:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 0/3] Support MPS2 UART controller Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-05-06 16:40 +0200
    Re: [PATCH 0/3] Support MPS2 UART controller Vladimir Murzin <vladimir.murzin@arm.com> - 2016-05-06 16:50 +0200

#1395899 — Re: [PATCH 0/3] Support MPS2 UART controller

FromPaul Gortmaker <paul.gortmaker@windriver.com>
Date2016-05-06 16:40 +0200
SubjectRe: [PATCH 0/3] Support MPS2 UART controller
Message-ID<rvP57-6Z1-7@gated-at.bofh.it>
On Mon, Apr 25, 2016 at 4:47 AM, Vladimir Murzin
<vladimir.murzin@arm.com> wrote:
> Hi,
>
> These patches allow to use UART controller found on MPS2 platform.

Did you intend this driver to support being modular?  It has a bool Kconfig
(not tristate) which makes the module_exit dead code.

If it will always be builtin (with console as primary use case) then you can
see commit 89ebc27427695bfc1e769f1dd99bd243d332ac7a as a possible
update suggestion.

P.
--

>
> Following [1], please, consider to merge them into tty/serial tree.
>
> [1] https://lkml.org/lkml/2016/4/23/190
>
> Thanks!
>
> Vladimir Murzin (3):
>   dt-bindings: document the MPS2 UART bindings
>   serial: mps2-uart: add MPS2 UART driver
>   serial: mps2-uart: add support for early console
>
>  .../devicetree/bindings/serial/arm,mps2-uart.txt   |   19 +
>  drivers/tty/serial/Kconfig                         |   13 +
>  drivers/tty/serial/Makefile                        |    1 +
>  drivers/tty/serial/mps2-uart.c                     |  625 ++++++++++++++++++++
>  include/uapi/linux/serial_core.h                   |    3 +
>  5 files changed, 661 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
>  create mode 100644 drivers/tty/serial/mps2-uart.c
>
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-serial" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[toc] | [next] | [standalone]


#1395910

FromVladimir Murzin <vladimir.murzin@arm.com>
Date2016-05-06 16:50 +0200
Message-ID<rvPeP-74h-19@gated-at.bofh.it>
In reply to#1395899
On 06/05/16 15:31, Paul Gortmaker wrote:
> On Mon, Apr 25, 2016 at 4:47 AM, Vladimir Murzin
> <vladimir.murzin@arm.com> wrote:
>> Hi,
>>
>> These patches allow to use UART controller found on MPS2 platform.
> 
> Did you intend this driver to support being modular?  It has a bool Kconfig
> (not tristate) which makes the module_exit dead code.
> 
> If it will always be builtin (with console as primary use case) then you can
> see commit 89ebc27427695bfc1e769f1dd99bd243d332ac7a as a possible
> update suggestion.

Thanks for the pointer, Paul! I'll see how to update the driver and send
a patch after next merge window closed.

Cheers
Vladimir

> 
> P.
> --
> 
>>
>> Following [1], please, consider to merge them into tty/serial tree.
>>
>> [1] https://lkml.org/lkml/2016/4/23/190
>>
>> Thanks!
>>
>> Vladimir Murzin (3):
>>   dt-bindings: document the MPS2 UART bindings
>>   serial: mps2-uart: add MPS2 UART driver
>>   serial: mps2-uart: add support for early console
>>
>>  .../devicetree/bindings/serial/arm,mps2-uart.txt   |   19 +
>>  drivers/tty/serial/Kconfig                         |   13 +
>>  drivers/tty/serial/Makefile                        |    1 +
>>  drivers/tty/serial/mps2-uart.c                     |  625 ++++++++++++++++++++
>>  include/uapi/linux/serial_core.h                   |    3 +
>>  5 files changed, 661 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
>>  create mode 100644 drivers/tty/serial/mps2-uart.c
>>
>> --
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-serial" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web