From: Radu Pirea <radu-nicolae.pirea@nxp.com>
Add 'dmas' and 'dma-names' properties to describe optional DMA support
for RX and TX channels in the LINFlexD UART controller.
This allows the device tree to specify DMA channels used for UART data
transfers. If not specified, the driver will fall to interrupt-based
operations.
Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com>
Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com>
Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com>
---
.../bindings/serial/fsl,s32-linflexuart.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
index 885f0b1b3492..317f9ba41c06 100644
--- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
@@ -42,6 +42,16 @@ properties:
- const: lin
- const: ipg
+ dmas:
+ items:
+ - description: DMA controller phandle and request line for RX
+ - description: DMA controller phandle and request line for TX
+
+ dma-names:
+ items:
+ - const: rx
+ - const: tx
+
required:
- compatible
- reg
@@ -65,4 +75,7 @@ examples:
interrupts = <0 82 1>;
clocks = <&clks 14>, <&clks 13>;
clock-names = "lin", "ipg";
+ dmas = <&edma0 0 4>,
+ <&edma0 0 3>;
+ dma-names = "rx", "tx";
};
--
2.47.0
On 2/16/26 17:02, Larisa Grigore wrote: > [You don't often get email from larisa.grigore@oss.nxp.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] > > From: Radu Pirea <radu-nicolae.pirea@nxp.com> > > Add 'dmas' and 'dma-names' properties to describe optional DMA support > for RX and TX channels in the LINFlexD UART controller. > > This allows the device tree to specify DMA channels used for UART data > transfers. If not specified, the driver will fall to interrupt-based > operations. > > Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> > Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> > Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> If both of you worked on this patch then the last lines must read: Co-developed-by: Radu Pirea <radu-nicolae.pirea@nxp.com> Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> See: https://docs.kernel.org/process/submitting-patches.html
On Mon, Feb 16, 2026 at 05:29:57PM +0200, Daniel Baluta wrote: > > On 2/16/26 17:02, Larisa Grigore wrote: > > [You don't often get email from larisa.grigore@oss.nxp.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] > > > > From: Radu Pirea <radu-nicolae.pirea@nxp.com> > > > > Add 'dmas' and 'dma-names' properties to describe optional DMA support > > for RX and TX channels in the LINFlexD UART controller. > > > > This allows the device tree to specify DMA channels used for UART data > > transfers. If not specified, the driver will fall to interrupt-based > > operations. > > > > Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> > > Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> > > Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> > > If both of you worked on this patch then the last lines must read: > > Co-developed-by: Radu Pirea <radu-nicolae.pirea@nxp.com> > > Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> > > Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> > > Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> No, the DCO with this authorship is correct if they both worked. Nothing has to be changed here. Best regards, Krzysztof
On 2/17/26 10:10, Krzysztof Kozlowski wrote: > On Mon, Feb 16, 2026 at 05:29:57PM +0200, Daniel Baluta wrote: >> On 2/16/26 17:02, Larisa Grigore wrote: >>> [You don't often get email from larisa.grigore@oss.nxp.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] >>> >>> From: Radu Pirea <radu-nicolae.pirea@nxp.com> >>> >>> Add 'dmas' and 'dma-names' properties to describe optional DMA support >>> for RX and TX channels in the LINFlexD UART controller. >>> >>> This allows the device tree to specify DMA channels used for UART data >>> transfers. If not specified, the driver will fall to interrupt-based >>> operations. >>> >>> Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> >>> Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> >>> Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> >> If both of you worked on this patch then the last lines must read: >> >> Co-developed-by: Radu Pirea <radu-nicolae.pirea@nxp.com> >> >> Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> >> >> Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> >> >> Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> > No, the DCO with this authorship is correct if they both worked. Nothing > has to be changed here. Got it now. There is no need to add C-d-by for the people listed as 'main' author via the 'From' tag.
On 16/02/2026 16:02, Larisa Grigore wrote: > From: Radu Pirea <radu-nicolae.pirea@nxp.com> > > Add 'dmas' and 'dma-names' properties to describe optional DMA support > for RX and TX channels in the LINFlexD UART controller. Same question as in other patch about existing devices. > > This allows the device tree to specify DMA channels used for UART data > transfers. If not specified, the driver will fall to interrupt-based > operations. > > Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> > Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> > Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> > --- Best regards, Krzysztof
On 2/16/2026 5:10 PM, Krzysztof Kozlowski wrote: > On 16/02/2026 16:02, Larisa Grigore wrote: >> From: Radu Pirea <radu-nicolae.pirea@nxp.com> >> >> Add 'dmas' and 'dma-names' properties to describe optional DMA support >> for RX and TX channels in the LINFlexD UART controller. > > Same question as in other patch about existing devices. > I will update the bindings so that `dmas`/`dma-names` are optional for S32G and not present on S32V234. Would this be acceptable? Thanks, Larisa >> >> This allows the device tree to specify DMA channels used for UART data >> transfers. If not specified, the driver will fall to interrupt-based >> operations. >> >> Signed-off-by: Radu Pirea <radu-nicolae.pirea@nxp.com> >> Co-developed-by: Larisa Grigore <larisa.grigore@oss.nxp.com> >> Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com> >> --- > > > Best regards, > Krzysztof
On 18/02/2026 15:44, Larisa Ileana Grigore wrote: > On 2/16/2026 5:10 PM, Krzysztof Kozlowski wrote: >> On 16/02/2026 16:02, Larisa Grigore wrote: >>> From: Radu Pirea <radu-nicolae.pirea@nxp.com> >>> >>> Add 'dmas' and 'dma-names' properties to describe optional DMA support >>> for RX and TX channels in the LINFlexD UART controller. >> >> Same question as in other patch about existing devices. >> > I will update the bindings so that `dmas`/`dma-names` are optional for > S32G and not present on S32V234. Would this be acceptable? > Yes, with reason in the commit msg. Best regards, Krzysztof
© 2016 - 2026 Red Hat, Inc.