From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Andersson Subject: Re: [PATCH v3] Input: pmic8xxx-pwrkey - Support shutdown Date: Tue, 14 Jul 2015 13:18:52 -0700 Message-ID: <20150714201852.GB32767@usrtlx11787.corpusers.net> References: <1436900724-10994-1-git-send-email-sboyd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from seldrel01.sonyericsson.com ([37.139.156.2]:2792 "EHLO seldrel01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753004AbbGNUS6 (ORCPT ); Tue, 14 Jul 2015 16:18:58 -0400 Content-Disposition: inline In-Reply-To: <1436900724-10994-1-git-send-email-sboyd@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Stephen Boyd Cc: Dmitry Torokhov , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-input@vger.kernel.org" On Tue 14 Jul 12:05 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 > --- > > Changes since v2: > * s/ret/error/ > * Use of_device_get_match_data() and don't move match table > * Fix whitespace errors > Reviewed-by: Bjorn Andersson And thanks for finding of_device_get_match_data() Regards, Bjorn