Re: Add I2C with PCA9665

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> static struct resource i2c_resources[] = {
>     [0] = {
>         .start    = AT91_CHIPSELECT_2,    /* 0x30000000 */
>         .end    = AT91_CHIPSELECT_2 + SZ_16K - 1,
>         .flags    = IORESOURCE_MEM,

Unless reading 0x30000000 does not return something like 0xf8, you have
a problem with mapping in the register range. Make sure the, 8 bit bus
width works.

Regards,

   Wolfram

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux