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

[microblaze-uclinux] I2C driver under petalinux v0.4-final



Hello All,

 

I have added an XPS_IIC core into an existing project, and do not seem to be able to use the /dev/i2c-0 entry point to access it with my driver.  The devices are there (i2c-0 – i2c-7).  I can see the iic device in /proc/iomem (although there is only one entry here, without an inset entry like the other devices).

 

# cat iomem

81400000-8140ffff : xilinx_gpio.1

  81400000-8140ffff : xilinx_gpio

81410000-8141ffff : xilinx_gpio.3

  81410000-8141ffff : xilinx_gpio

81420000-8142ffff : xilinx_gpio.2

  81420000-8142ffff : xilinx_gpio

81440000-8144ffff : xilinx_gpio.0

  81440000-8144ffff : xilinx_gpio

83000000-8300ffff : xilinx_iic.0

84000000-8400ffff : uartlite.0

  84000000-8400000f : uartlite

a0000000-a0ffffff : physmap-flash.0

  a0000000-a0ffffff : physmap-flash.0

 

In my kernel configuration I have enabled I2C Support and I2C device interface.  Under I2C Algorithms I have enabled Xilinx IIC interface.

 

Any suggestions as to what could be going wrong?

 

Many thanks for your help

Kris

 


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.