[imx8qm-mek] how i use i2c1(dma)?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx8qm-mek] how i use i2c1(dma)?

380 Views
hihanna
Contributor II

Hello

 

I'm testing for i2c of imx8qm-mek board.

I want to test i2c1(dma), it's pin number AY52, AV52. 

I tried catch signal from wm8690's i2c pin ,

hihanna_0-1689916391151.png

 

but I can't get signal anything.

 

&i2c1 {
  #address-cells = <1>;
 #size-cells = <0>;
 clock-frequency = <100000>;
 pinctrl-names = "default";
 pinctrl-0 = <&pinctrl_i2c1>;
 
 status = "okay";
 
 wm8960: wm8960@1a {
   compatible = "wlf,wm8960";
   reg = <0x1a>;
 
  };
};
 
pinctrl_i2c1: i2c1grp {
    fsl,pins = <
       IMX8QM_GPT0_CLK_DMA_I2C1_SCL 0x0600004c
       IMX8QM_GPT0_CAPTURE_DMA_I2C1_SDA 0x0600004c
    >;
};
 
I set dts file as above.
 
Please get help.
0 Kudos
2 Replies

364 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the dts file and check if your settings are correct or not

"https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8qm-mek.dts"

0 Kudos

257 Views
hihanna
Contributor II

Thanks for reply.

 

I have find the way for using lpi2c1 (connected on GPT pin). 

0 Kudos