AnsweredAssumed Answered

irda-mode Setting

Question asked by Christian Kim on Jun 16, 2015
Latest reply on Jun 22, 2015 by igorpadykov

Hi, Community

 

I'm Imxqsabresd evt board user.

I'll do test various setting but I don't get proper output and any event.

 

Strange point is

1) memtool UART2.* output is

      SOC: i.MX6Q

      UART2    Addr:0x21e8000

      Bus error

2) When 1) try test, also output is "Unhandled fault: external abort on non-linefetch (0x1018) at 0x76ff9000"

 

How to setting for Irda-mode use uart ? What is check point ? Is it possible irda as imx.c serial driver ?

 

<dmesg>

[    1.323353] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX

[    1.323671] serial: Freescale lpuart driver

 

My setting is as below.

 

&uart2 {

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_uart2_1>;

    status = "okay";

};

 

uart2: serial@021e8000 {

    compatible = "fsl,imx6q-uart", "fsl,imx21-uart";

    reg = <0x021e8000 0x4000>;

    interrupts = <0 27 0x04>;

    clocks = <&clks 160>, <&clks 161>;

    clock-names = "ipg", "per";

    dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;

    dma-names = "rx", "tx";

    fsl,irda-mode;

    status = "disabled";

};

 

uart2 {

    pinctrl_uart2_1: uart2grp-1 {

        fsl,pins = <

            MX6QDL_PAD_GPIO_7__UART2_TX_DATA  0x1b0b1

            MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1

        >;

    };

Outcomes