[#5321] modprobe i2c lcd on bf533 stamp wait long time

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5321] modprobe i2c lcd on bf533 stamp wait long time

Submitted By: Mingquan Pan

Open Date

2009-07-07 05:28:10     Close Date

2009-07-10 06:19:29

Priority:

Medium High     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF533     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

09R1-RC9

App binary format:

N/A     

Summary: modprobe i2c lcd on bf533 stamp wait long time

Details:

 

modprobe i2c lcd (modprobe bfin_twi_lcd )on bf533 stamp wait long time with default linux-2.6.x/arch/blackfin/mach-bf533/boards/stamp.c

static struct i2c_gpio_platform_data i2c_gpio_data = {

        .sda_pin                = 2,

        .scl_pin                = 3,

}

And after insert this module, no 0-002f under /sys/bus/i2c/devices is seen.

 

While set .scl_pin  to 4, it tests ok and works as expected.

But in last release, I don't remember this pin needs to be reset as in the ppifcd case.

 

So is there a problem or we do need set this pin to 4?

 

Follow-ups

 

--- Barry Song                                               2009-07-10 06:19:29

Check the schematics of BF533-STAMP, I2C_SCL and I2C_SDA can be routed to anyone

of PF0-PF7 depending on the connected 0ohm resistance.

Default boards connect PF2&PF3 as I2C signals. Grace is using a board

connecting PF2&PF4. So it causes we need to change stamp.c to make I2C

work.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

i2c.bmp    image/bmp    813846    Barry Song

Attachments

Outcomes