From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Vorontsov Subject: Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver Date: Sun, 11 Nov 2012 22:53:46 -0800 Message-ID: <20121112065346.GA12571@lizard> References: <1352650891-18356-1-git-send-email-andrew@lunn.ch> <1352650891-18356-2-git-send-email-andrew@lunn.ch> <20121112011258.GA23724@lizard> <20121112060740.GR24583@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20121112060740.GR24583-g2DYL2Zd6BY@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Andrew Lunn Cc: Jason Cooper , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, gmbnomis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Andrew, On Mon, Nov 12, 2012 at 07:07:40AM +0100, Andrew Lunn wrote: [...] > > > But I suspect Anton may be ready to welcome a driver like this > > > under drivers/power/* which I think is where it belongs. > > > > Yup. driver/power/reset/ seems appropriate. > > I was unsure where to put it. I will submit new patches with the move. > > I'm not too sure about 'reset' though. Its not a reset operation, the > power goes off and stays off. Would 'shutdown' or 'power_off' be > better? Other folks already wanted drivers/power/reset/ for board reset/poweroff drivers. But it makes little sense to make both reset and poweroff directories. So, let's just do 'reset', somebody might have already using it in their private trees. Thanks, Anton.