On Fri, Apr 19, 2024 at 11:36:57AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@xxxxxxx> > > Add dma support for lpi2c[1..8]. > > Signed-off-by: Peng Fan <peng.fan@xxxxxxx> Reviewed-by: Frank Li <Frank.Li@xxxxxxx> > --- > arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi > index 42bbe491a29b..93c1d0fae291 100644 > --- a/arch/arm64/boot/dts/freescale/imx93.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi > @@ -317,6 +317,8 @@ lpi2c1: i2c@44340000 { > clocks = <&clk IMX93_CLK_LPI2C1_GATE>, > <&clk IMX93_CLK_BUS_AON>; > clock-names = "per", "ipg"; > + dmas = <&edma1 7 0 0>, <&edma1 8 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > @@ -329,6 +331,8 @@ lpi2c2: i2c@44350000 { > clocks = <&clk IMX93_CLK_LPI2C2_GATE>, > <&clk IMX93_CLK_BUS_AON>; > clock-names = "per", "ipg"; > + dmas = <&edma1 9 0 0>, <&edma1 10 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > @@ -693,6 +697,8 @@ lpi2c3: i2c@42530000 { > clocks = <&clk IMX93_CLK_LPI2C3_GATE>, > <&clk IMX93_CLK_BUS_WAKEUP>; > clock-names = "per", "ipg"; > + dmas = <&edma2 8 0 0>, <&edma2 9 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > @@ -705,6 +711,8 @@ lpi2c4: i2c@42540000 { > clocks = <&clk IMX93_CLK_LPI2C4_GATE>, > <&clk IMX93_CLK_BUS_WAKEUP>; > clock-names = "per", "ipg"; > + dmas = <&edma2 10 0 0>, <&edma2 11 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > @@ -882,6 +890,8 @@ lpi2c5: i2c@426b0000 { > clocks = <&clk IMX93_CLK_LPI2C5_GATE>, > <&clk IMX93_CLK_BUS_WAKEUP>; > clock-names = "per", "ipg"; > + dmas = <&edma2 71 0 0>, <&edma2 72 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > @@ -894,6 +904,8 @@ lpi2c6: i2c@426c0000 { > clocks = <&clk IMX93_CLK_LPI2C6_GATE>, > <&clk IMX93_CLK_BUS_WAKEUP>; > clock-names = "per", "ipg"; > + dmas = <&edma2 73 0 0>, <&edma2 74 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > @@ -906,6 +918,8 @@ lpi2c7: i2c@426d0000 { > clocks = <&clk IMX93_CLK_LPI2C7_GATE>, > <&clk IMX93_CLK_BUS_WAKEUP>; > clock-names = "per", "ipg"; > + dmas = <&edma2 75 0 0>, <&edma2 76 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > @@ -918,6 +932,8 @@ lpi2c8: i2c@426e0000 { > clocks = <&clk IMX93_CLK_LPI2C8_GATE>, > <&clk IMX93_CLK_BUS_WAKEUP>; > clock-names = "per", "ipg"; > + dmas = <&edma2 77 0 0>, <&edma2 78 0 FSL_EDMA_RX>; > + dma-names = "tx", "rx"; > status = "disabled"; > }; > > > -- > 2.37.1 >