mbox series

[v3,0/9] tty: serial: fsl_lpuart various fixes and LS1028A support

Message ID 20200303174306.6015-1-michael@walle.cc (mailing list archive)
Headers show
Series tty: serial: fsl_lpuart various fixes and LS1028A support | expand

Message

Michael Walle March 3, 2020, 5:42 p.m. UTC
These are various fixes for problems I found during development of the
LS1028A support for the LPUART.

Also, I'm not sure if this series should be split between the "tty:
serial: fsl_lpuart" patches and the devicetree patches. So unless
someone tell me otherwise I keep them together to avoid mention any
dependencies.

Changes since v2:
Changed DMA channel request handling. Spotted by Rob Herring. Thanks.

Modified patches:
  tty: serial: fsl_lpuart: handle EPROBE_DEFER for DMA

Changes since v1:
DMA support fixes.

New patches:
  tty: serial: fsl_lpuart: fix DMA mapping
  arm64: dts: ls1028a: add "fsl,vf610-edma" compatible

Modified patches:
  arm64: dts: ls1028a: add missing LPUART nodes
   - add dma phandles

Michael Walle (9):
  Revert "tty: serial: fsl_lpuart: drop EARLYCON_DECLARE"
  tty: serial: fsl_lpuart: free IDs allocated by IDA
  tty: serial: fsl_lpuart: handle EPROBE_DEFER for DMA
  tty: serial: fsl_lpuart: fix DMA mapping
  dt-bindings: serial: lpuart: add ls1028a compatibility
  tty: serial: fsl_lpuart: add LS1028A support
  tty: serial: fsl_lpuart: add LS1028A earlycon support
  arm64: dts: ls1028a: add "fsl,vf610-edma" compatible
  arm64: dts: ls1028a: add missing LPUART nodes

 .../devicetree/bindings/serial/fsl-lpuart.txt |  10 +-
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi |  75 +++++-
 drivers/tty/serial/fsl_lpuart.c               | 251 ++++++++++++------
 3 files changed, 255 insertions(+), 81 deletions(-)

Comments

Leo Li March 3, 2020, 10:49 p.m. UTC | #1
> -----Original Message-----
> From: Michael Walle <michael@walle.cc>
> Sent: Tuesday, March 3, 2020 11:43 AM
> To: linux-serial@vger.kernel.org; devicetree@vger.kernel.org; linux-
> kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>; Rob Herring
> <robh+dt@kernel.org>; Mark Rutland <mark.rutland@arm.com>; Shawn
> Guo <shawnguo@kernel.org>; Leo Li <leoyang.li@nxp.com>; Jiri Slaby
> <jslaby@suse.com>; Peng Fan <peng.fan@nxp.com>; Vabhav Sharma
> <vabhav.sharma@nxp.com>; Yuan Yao <yao.yuan@nxp.com>; Michael Walle
> <michael@walle.cc>
> Subject: [PATCH v3 0/9] tty: serial: fsl_lpuart various fixes and LS1028A
> support
> 
> These are various fixes for problems I found during development of the
> LS1028A support for the LPUART.
> 
> Also, I'm not sure if this series should be split between the "tty:
> serial: fsl_lpuart" patches and the devicetree patches. So unless someone
> tell me otherwise I keep them together to avoid mention any dependencies.

Normally the soc maintainer prefer to have device tree patches merged through the soc subsystem.  So probably better to separate.

> 
> Changes since v2:
> Changed DMA channel request handling. Spotted by Rob Herring. Thanks.
> 
> Modified patches:
>   tty: serial: fsl_lpuart: handle EPROBE_DEFER for DMA
> 
> Changes since v1:
> DMA support fixes.
> 
> New patches:
>   tty: serial: fsl_lpuart: fix DMA mapping
>   arm64: dts: ls1028a: add "fsl,vf610-edma" compatible
> 
> Modified patches:
>   arm64: dts: ls1028a: add missing LPUART nodes
>    - add dma phandles
> 
> Michael Walle (9):
>   Revert "tty: serial: fsl_lpuart: drop EARLYCON_DECLARE"
>   tty: serial: fsl_lpuart: free IDs allocated by IDA
>   tty: serial: fsl_lpuart: handle EPROBE_DEFER for DMA
>   tty: serial: fsl_lpuart: fix DMA mapping
>   dt-bindings: serial: lpuart: add ls1028a compatibility
>   tty: serial: fsl_lpuart: add LS1028A support
>   tty: serial: fsl_lpuart: add LS1028A earlycon support
>   arm64: dts: ls1028a: add "fsl,vf610-edma" compatible
>   arm64: dts: ls1028a: add missing LPUART nodes
> 
>  .../devicetree/bindings/serial/fsl-lpuart.txt |  10 +-
>   .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi |  75 +++++-
>  drivers/tty/serial/fsl_lpuart.c               | 251 ++++++++++++------
>  3 files changed, 255 insertions(+), 81 deletions(-)
> 
> --
> 2.20.1