Re: Confusion about Pinctrl and GPIO

2014-01-14 Thread Linus Walleij
Hi Rongrong, > I noticed that Stephen submitted a patch for pinctrl: > http://www.gossamer-threads.com/lists/linux/kernel/1500890?do=post_view_threaded > > In this patch, Stephen said, "When an SoC muxes pins in a group, it's > quite possible for the group to contain e.g. 6 pins, but only 4 of > t

Re: Confusion about Pinctrl and GPIO

2014-01-07 Thread Rongrong Cao
Hi Stephen, Thank you very much! I understood now! 2014/1/7 Stephen Warren : > On 12/25/2013 10:18 PM, 曹荣荣 wrote: > >> I noticed that Stephen submitted a patch for pinctrl: >> http://www.gossamer-threads.com/lists/linux/kernel/1500890?do=post_view_threaded >> >> In this patch, Stephen said, "When

Re: Confusion about Pinctrl and GPIO

2014-01-07 Thread Linus Walleij
On Thu, Dec 26, 2013 at 5:56 AM, 曹荣荣 wrote: > I have read the latest Documentation/pinctrl.txt, and there is two examples > about muxing logic in "GPIO mode pitfalls" section, let me take example A > for instance: > >pin config >logic regs >

Re: Confusion about Pinctrl and GPIO

2014-01-06 Thread Stephen Warren
On 12/25/2013 10:18 PM, 曹荣荣 wrote: > I noticed that Stephen submitted a patch for pinctrl: > http://www.gossamer-threads.com/lists/linux/kernel/1500890?do=post_view_threaded > > In this patch, Stephen said, "When an SoC muxes pins in a group, it's > quite possible for the group to contain e.g. 6

Re: Confusion about Pinctrl and GPIO

2014-01-05 Thread Rongrong Cao
Hi Linus and Stephen, Can you help on my question? Thanks a lot in advance! 2013/12/26 曹荣荣 : > Hi Linus and Stephen, > > I'm learning the pinctrl subsystem codes these days, and have a > confusion about it, I'm very appreciated if you can help. > > I noticed that Stephen submitted a patch for pinc

Re: Confusion about Pinctrl and GPIO

2013-12-29 Thread Rongrong Cao
Anyone can help? 2013/12/26 曹荣荣 : > Hi Linus and Stephen, > > I'm learning the pinctrl subsystem codes these days, and have a > confusion about it, I'm very appreciated if you can help. > > I noticed that Stephen submitted a patch for pinctrl: > http://www.gossamer-threads.com/lists/linux/kernel/1

Confusion about Pinctrl and GPIO

2013-12-25 Thread 曹荣荣
Hi Linus and Stephen, I'm learning the pinctrl subsystem codes these days, and have a confusion about it, I'm very appreciated if you can help. I noticed that Stephen submitted a patch for pinctrl: http://www.gossamer-threads.com/lists/linux/kernel/1500890?do=post_view_threaded In this patch, St