Re: Question about GPIO Lib

2012-02-01 Thread Mark Brown
On Wed, Feb 01, 2012 at 09:56:45AM -0600, Bill Gatliff wrote: > On Wed, Feb 1, 2012 at 6:32 AM, Mark Brown wrote: > > Just to expand on this a bit: lots of people would prefer not to have a > > userspace component at all due to the same hardware safety concerns that > > you have, or to have the u

Re: Question about GPIO Lib

2012-02-01 Thread Bill Gatliff
Mark: On Wed, Feb 1, 2012 at 6:32 AM, Mark Brown wrote: > > Just to expand on this a bit: lots of people would prefer not to have a > userspace component at all due to the same hardware safety concerns that > you have, or to have the userspace component be a driver using gpiolib > which needs to

Re: Question about GPIO Lib

2012-02-01 Thread Mark Brown
On Tue, Jan 31, 2012 at 10:39:05AM -0600, Bill Gatliff wrote: > I'm just saying that, sadly, in many ways gpiolib is still a > work-in-progress. The userspace component has been somewhat > controversial in general over the years, and definitely lacks several > key features in addition to the one

Re: Question about GPIO Lib

2012-01-31 Thread Bruce_Leonard
Bill, Bill Gatliff wrote on 01/31/2012 08:39:05 AM: > > I misunderstood your message, then. I was thinking that you were > No worries, I frequently misunderstand myself :) Thanks for taking the time to respond, I appreciate it. > I'm DEFINITELY not saying that gpiolib is generally a waste

Re: Question about GPIO Lib

2012-01-31 Thread Bill Gatliff
Bruce: On Mon, Jan 30, 2012 at 6:06 PM, wrote: > Bill Gatliff wrote on 01/27/2012 10:42:57 AM: >> Sounds like you DON'T want to merely export that GPIO pin to userspace. >> > > Well, yes I do want to just export to userspace I misunderstood your message, then. I was thinking that you were alr

Re: Question about GPIO Lib

2012-01-30 Thread Bruce_Leonard
Bill, Bill Gatliff wrote on 01/27/2012 10:42:57 AM: > > On Fri, Jan 27, 2012 at 5:31 AM, wrote: > > > > The problem is we've got a number of other things hooked up to the GPIO > > pins that it would be very bad if someone from user space played with > > them, like our FPGA configuration pin.

Re: Question about GPIO Lib

2012-01-27 Thread Bill Gatliff
Bruce: On Fri, Jan 27, 2012 at 5:31 AM, wrote: > > The problem is we've got a number of other things hooked up to the GPIO > pins that it would be very bad if someone from user space played with > them, like our FPGA configuration pin.  Some one toggles that and our box > goes stupid.  So what I

Question about GPIO Lib

2012-01-26 Thread Bruce_Leonard
(This time with a subject line, sorry) Hi, I'm using the 3.0.3 kernel on an MPC8308 and have turned on GPIO support (CONFIG_GPIOLIB = Y) because the SPI sub-system needed to use it for the GPIO pin I'm using as a CS to a NvRAM part. I also have some jumpers on the processor GPIO pins and I th