Hi Michael,

I am coming up against some similar sounding issues here for supporting 
multiple hardware configurations.

Michael Williamson wrote:
> c) Allow peripheral drivers to probe and initialize pins, etc. in the
> modules, then load the right drivers up for your board.  There are a
> lot
> of threads about why letting drivers mess with the pins is bad.  So
> this
> is a non-starter.

I have one type switch at the moment which I'm intending to do in this way; 
sensing a gpio pull in a driver.

Why is this bad? It doesn't feel too great, but.. not seen any threads about 
it. If you could point me at these discussions, I'd appreciate it.

Thanks, and good luck with your projects,

--
Jon Povey
jon.po...@racelogic.co.uk

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
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to