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.

PROCESSOR-SDK-AM57X: regmap write fail

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: AM5718

Hi , 

        While bootiing the custom board made out of AM5718 , SDIO controller is failing. While debugging found the following

[ 0.439445] SCSI subsystem initialized
[ 0.440318] i2c...4
[ 0.440639] palmas 0-0058: Irq flag is 0x00000004
[ 0.470590] palmas 0-0058: POLARITY_CTRL update failed: -121
[ 0.470973] palmas: probe of 0-0058 failed with error -121

On getting closer to the issue found the i2c device read fails . Ie regmap read or write fails. How to debug this further?

-curiousbeast

  • Hello, 

    if you have a way to probe signals on the two interface pins, it may be worth to check if there is a I2C bus lockup situation (SDA is flat) happened. Otherwise, regmap error typically are caused by peripheral held in reset, incorrect pinmux, or external logic holding the pin. 

    if none of these helps, please kick back i will have our hardware team to take a look. 

    Jian