AnsweredAssumed Answered

I.MX6UL I2C DMA Enable

Question asked by zahom zahom on Nov 1, 2017
Latest reply on Nov 3, 2017 by igorpadykov

Hi,

 

I configure the dts as follow(yocto version is 4.1.15_2.0.0), but i2c dma also couldn't be used:

1000             i2c3: i2c@021a8000 {
1001                 #address-cells = <1>;
1002                 #size-cells = <0>;
1003                 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
1004                 reg = <0x021a8000 0x4000>;
1005                 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1006                 clocks = <&clks IMX6UL_CLK_I2C3>;
1007                 dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
1008                 dma-names = "rx", "tx";
1009                 status = "disabled";
1010             };


187 &i2c3 {
188     clock_frequency = <400000>;
189     pinctrl-names = "default";
190     pinctrl-0 = <&pinctrl_i2c3>;
191     status = "okay";
192 }

 

How could I enable i2c dma for i.mx6ul?

 

Thanks,

Zahom

Outcomes