[#5689] while two or multi spi devices use gpio cs, spi setup will fail

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

[#5689] while two or multi spi devices use gpio cs, spi setup will fail

Submitted By: Barry Song

Open Date

2009-11-17 03:30:51    

Priority:

Medium     Assignee:

Barry Song

Status:

Open     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc 4.3.4 (svn-3672)

App binary format:

N/A     

Summary: while two or multi spi devices use gpio cs, spi setup will fail

Details:

 

Our arch define .chip_select = 0 to use gpio cs, but that will trigger spi core to block the 2nd device to setup since chip_select is understood by spi core as a valid cs.

Wrong information is like:

modprobe spi_bfin5xx.ko

bfin-spi bfin-spi.0: chipselect 0 already in use

So we can't use the same cs id 0 for all devices using gpio cs. A different way must be used.

 

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes