A couple of questions about SPI

Ewan Meadows ewan.meadows at gmail.com
Tue Jun 9 23:39:04 CEST 2009


Ah yes, I remember now.  I asked a very similar question a while ago,
I've just found it in my inbox.  At the moment my plan is to just code
all the SPI stuff needed into the driver, as someone said before, SPI
is quite simple and so I should be able to keep it all in one place.

Thanks

2009/6/9 Malcolm <malcolm.parsons at gmail.com>:
> 2009/6/9 Ewan Meadows <ewan.meadows at gmail.com>:
>
>> >From what I can gather, I will need to map the Gamecard bus registers
>> to the ARM7 via EXMEMCNT:
>> http://nocash.emubase.de/gbatek.htm#dscartridgeioports
>
> If it can be accessed from the ARM9, access it from the ARM9.
>
>> My basic understanding at the moment is that I will have to put all
>> the functions to read/write to the DSerial in
>> arch/arm/mach-nds/arm7/spi.c and then create a driver in drivers/char
>
> I think you want a driver in drivers/spi for talking to the hardware.
>
> Any other drivers would talk to the spi driver.
>
> --
> Malcolm Parsons
> --
> dslinux-devel mailing list
> dslinux-devel at dslinux.in-berlin.de
> http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel-dslinux.in-berlin.de
>


More information about the dslinux-devel mailing list