Patch "dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     dt-bindings-dma-fsl-edma-add-fsl-edma.h-to-prevent-h.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 8f41cc5863892f914017415a4843bcd9e3da7a5d
Author: Frank Li <Frank.Li@xxxxxxx>
Date:   Tue Nov 14 10:48:22 2023 -0500

    dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts
    
    [ Upstream commit 1e9b05258271b76ccc04a4b535009d2cb596506a ]
    
    Introduce a common dt-bindings header file, fsl-edma.h, shared between
    the driver and dts files. This addition aims to eliminate hardcoded values
    in dts files, promoting maintainability and consistency.
    
    DTS header file not support BIT() macro yet. Directly use 2^n number.
    
    Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
    Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231114154824.3617255-3-Frank.Li@xxxxxxx
    Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
    Stable-dep-of: a79f949a5ce1 ("dmaengine: fsl-edma: correct max_segment_size setting")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/dt-bindings/dma/fsl-edma.h b/include/dt-bindings/dma/fsl-edma.h
new file mode 100644
index 0000000000000..fd11478cfe9cc
--- /dev/null
+++ b/include/dt-bindings/dma/fsl-edma.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
+
+#ifndef _FSL_EDMA_DT_BINDING_H_
+#define _FSL_EDMA_DT_BINDING_H_
+
+/* Receive Channel */
+#define FSL_EDMA_RX		0x1
+
+/* iMX8 audio remote DMA */
+#define FSL_EDMA_REMOTE		0x2
+
+/* FIFO is continue memory region */
+#define FSL_EDMA_MULTI_FIFO	0x4
+
+/* Channel need stick to even channel */
+#define FSL_EDMA_EVEN_CH	0x8
+
+/* Channel need stick to odd channel */
+#define FSL_EDMA_ODD_CH		0x10
+
+#endif




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux