Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752755AbbGMXh4 (ORCPT ); Mon, 13 Jul 2015 19:37:56 -0400 Received: from seldrel01.sonyericsson.com ([37.139.156.2]:19786 "EHLO seldrel01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751799AbbGMXhz (ORCPT ); Mon, 13 Jul 2015 19:37:55 -0400 Date: Mon, 13 Jul 2015 16:37:50 -0700 From: Bjorn Andersson To: Stephen Boyd CC: Dmitry Torokhov , , , , Subject: Re: [PATCH v2] Input: pmic8xxx-pwrkey - Support shutdown Message-ID: <20150713233750.GA32767@usrtlx11787.corpusers.net> References: <1436830234-28316-1-git-send-email-sboyd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1436830234-28316-1-git-send-email-sboyd@codeaurora.org> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 24 On Mon 13 Jul 16:30 PDT 2015, Stephen Boyd wrote: > On pm8xxx PMICs, shutdown and restart are signaled to the PMIC > via a pin called PS_HOLD. When this pin goes low, the PMIC > performs a configurable power sequence. Add a .shutdown hook so > that we can properly configure this power sequence for shutdown > or restart depending on the system state. > > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd > --- > drivers/input/misc/pmic8xxx-pwrkey.c | 284 ++++++++++++++++++++++++++++++++++- > 1 file changed, 277 insertions(+), 7 deletions(-) > Reviewed-by: Bjorn Andersson Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/