From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754176AbcKIQHf (ORCPT ); Wed, 9 Nov 2016 11:07:35 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:35956 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754059AbcKIQHb (ORCPT ); Wed, 9 Nov 2016 11:07:31 -0500 Date: Wed, 9 Nov 2016 16:10:16 +0000 From: Lee Jones To: Keerthy Cc: tony@atomide.com, robh+dt@kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, nm@ti.com, t-kristo@ti.com Subject: Re: [PATCH 1/4] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition Message-ID: <20161109161016.GI13127@dell> References: <1477559414-12520-1-git-send-email-j-keerthy@ti.com> <1477559414-12520-2-git-send-email-j-keerthy@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1477559414-12520-2-git-send-email-j-keerthy@ti.com> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Oct 2016, Keerthy wrote: > GPIO7 is configured in POWERHOLD mode which has higher priority > over DEV_ON bit and keeps the PMIC supplies on even after the DEV_ON > bit is turned off. This property enables driver to over ride the > POWERHOLD value to GPIO7 so as to turn off the PMIC in power off > scenarios. > > Signed-off-by: Keerthy > --- > Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) This requires a DT Ack. > diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt > index caf297b..c28d4eb8 100644 > --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt > @@ -35,6 +35,15 @@ Optional properties: > - ti,palmas-enable-dvfs2: Enable DVFS2. Configure pins for DVFS2 mode. > Selection primary or secondary function associated to GPADC_START > and SYSEN2 pin/pad for DVFS2 interface > +- ti,palmas-override-powerhold: This is applicable for PMICs for which > + GPIO7 is configured in POWERHOLD mode which has higher priority > + over DEV_ON bit and keeps the PMIC supplies on even after the DEV_ON > + bit is turned off. This property enables driver to over ride the > + POWERHOLD value to GPIO7 so as to turn off the PMIC in power off > + scenarios. So for GPIO7 if ti,palmas-override-powerhold is set > + then the GPIO_7 field should never be muxed to anything else. > + It should be set to POWERHOLD by default and only in case of > + power off scenarios the driver will over ride the mux value. > > This binding uses the following generic properties as defined in > pinctrl-bindings.txt: -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog