Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Dave Jones
On Fri, Dec 14, 2012 at 10:53:21PM +0100, Andrew Lunn wrote: > > > Its a generic driver. I know its useful on various Marvell kirkwood > > > and orion5x devices. I've also heard it useful on some Tegra boards. > > > > > > Are you asking i list these boards? > > > > > No, but at least

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Andrew Lunn
> > Its a generic driver. I know its useful on various Marvell kirkwood > > and orion5x devices. I've also heard it useful on some Tegra boards. > > > > Are you asking i list these boards? > > No, but at least mentioning the architecture might have clued me in > quicker that this wasn't some

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Dave Jones
On Fri, Dec 14, 2012 at 08:53:40PM +0100, Andrew Lunn wrote: > > > I think it needs to be on the menuconfig, rather than the child options. > > > I don't have OF_GPIO, but I still got asked for the former. > > > > The menuconfig enables a class of drivers (at least theoretically in the > > fu

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Andrew Lunn
> > I think it needs to be on the menuconfig, rather than the child options. > > I don't have OF_GPIO, but I still got asked for the former. > > The menuconfig enables a class of drivers (at least theoretically in the > future, when more such drivers turn up), and there's no reason to > believe th

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Stephen Warren
On 12/14/2012 08:08 AM, Dave Jones wrote: > On Fri, Dec 14, 2012 at 09:21:50AM +0100, Andrew Lunn wrote: > > > > Given this seems to be dependant on device-tree, shouldn't there be > > > some 'depends on' in the kconfig to prevent this showing up on > architectures > > > that don't implement

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Dave Jones
On Fri, Dec 14, 2012 at 09:21:50AM +0100, Andrew Lunn wrote: > > Given this seems to be dependant on device-tree, shouldn't there be > > some 'depends on' in the kconfig to prevent this showing up on > > architectures > > that don't implement it ? > > > > > +menuconfig POWER_RESET > >

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Jamie Lentin
Commit: 96ff0f5c7efd4a2205c48a76a6a1fcd2731e6128 > Parent: f4a00139b7cbeff538e616a21f6b57249a9d3ed8 > Author: Jamie Lentin > AuthorDate: Sat Nov 17 09:51:04 2012 +0100 > Committer: Jason Cooper > CommitDate: Sat Nov 24 02:56:38 2012 +0000 > > power: Add simple poweroff-gpio drive

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Andrew Lunn
1e6128 > > Parent: f4a00139b7cbeff538e616a21f6b57249a9d3ed8 > > Author: Jamie Lentin > > AuthorDate: Sat Nov 17 09:51:04 2012 +0100 > > Committer: Jason Cooper > > CommitDate: Sat Nov 24 02:56:38 2012 +0000 > > > > power: Add simp

Re: power: Add simple poweroff-gpio driver

2012-12-13 Thread Dave Jones
thor: Jamie Lentin > AuthorDate: Sat Nov 17 09:51:04 2012 +0100 > Committer: Jason Cooper > CommitDate: Sat Nov 24 02:56:38 2012 +0000 > > power: Add simple poweroff-gpio driver > > Given appropriate devicetree bindings, this driver registers a >