This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: AM5718 SPI read issue

Tool/software: Linux

Hi Ti:

We want to use SPI4 to read data from slave device.

But we can't read ay data from slave. (SPI write is ok)

We use spi4 as our master.

    {GPMC_A8, (M8 | PIN_INPUT_PULLUP)},    /* spi4_sclk */
    {GPMC_A9, (M8 | PIN_INPUT | SLEWCONTROL)},    /* spi4_d1 */
    {GPMC_A10, (M8 | PIN_INPUT | SLEWCONTROL)},    /* spi4_d0*/
    {GPMC_A13, (M8 | PIN_INPUT | SLEWCONTROL)},    /* spi4_cs2 */

And our device tree setting is below.

&mcspi4 {
    status = "okay";

    sony_oled: sony_oled@0 {
        compatible = "oled,sony_ecx336";

        reg = <0>;
        spi-max-frequency = <1000000>;
        spi-tx-bus-width = <1>;
        spi-rx-bus-width = <1>;
    };
};

Can you help us to check what's going on?

DarkHou