Nori, Sekhar wrote:
> On Thu, Feb 18, 2010 at 09:37:52, Jon Povey wrote:

> To access GPIOs you should use GPIO driver (please see
> include/linux/gpio.h)

Thanks, I had seen that.. Will investigate later. For now just trying to
hack something together that boots.

These are in-house drivers for custom hardware that will almost
certainly never get submitted for mainline.

> You are right, using IO_ADDRESS is deprecated. Kevin is
> not accepting any patches which use it. The correct way
> is to use ioremap() to get a virtual address and then
> use __raw_{readl|writel}() to access the address. You
> can find many examples of this in arch/arm/mach-davinci/*

Great, thanks!


-- 
Jon Povey
[email protected]

 
Racelogic is a limited company registered in England. Registered number 2743719 
. 
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .
The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to