Skip to contentSkip to conversation

XR20M1172 -SPI-UART

DISCUSSION arjun rath 2 participants 2 messages Aug 4, 2009 1 message not in the archive SPI

lore
Share & tools
lore

arjun rath

author
#0 lore raw

Hi all,

I am working on XR20M1172 which is a two channel SPI uart with 64 byte FIFO.Currently i am working on S3C2450 Processor
where it has given HSPI instead of SPI.And there is no link between spi.c file and hspi.c.And one more file is being given i.e spi_s3c24xx.c file which is generic to all samsung .

So my question is my XR20M1172(slave spi) will communicate with hspi or spi_s3c24xx file because i am registering my slave chip with spi.c file which is talking with spi_s3c24xx.c file.

I am using linux 2.6.21 kernel source.

Any help will be greatful.

Regards

Arjun

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july

_______________________________________________
spi-devel-general mailing list spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

A message that is not in the archive (sent off-list or not yet received): dc6d3180908040618n714df95v210cd14a07b1ec01-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw
Quoted 7 lines · arjun rath

Hi all,

I am working on XR20M1172 which is a two channel SPI uart with 64 byte FIFO.Currently i am working on S3C2450 Processor
where it has given HSPI instead of SPI.And there is no link between spi.c file and hspi.c.And one more file is being given i.e spi_s3c24xx.c file which is generic to all samsung .

I've not got any up to date information about the 2450, but I belive the newer HSPI block is not compatible with the older spi_s3c24xx.c driver.

Quoted 3 lines

So my question is my XR20M1172(slave spi) will communicate with hspi or spi_s3c24xx file because i am registering my slave chip with spi.c file which is talking with spi_s3c24xx.c file.

The registeration of SPI devices is seperate from the registration of the SPI bus master.

The SPI bus master is registered from a platform device that attaches the master controller to a SPI bus. The SPI bus is specified in a number passed in to the driver via platform_data supplied when the master is registered.

Quoted 1 line

I am using linux 2.6.21 kernel source.

I might be persuaded to do an HSPI driver, but it will be a patch against a much newer kernel, since it will be useful for other devices that are being actively maintained.

Quoted 15 lines

Any help will be greatful.

Regards

Arjun

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
spi-devel-general mailing list spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Signature · 12 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july