Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1531022 > unrolled thread

[PATCH v3] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition

Started byKeerthy <j-keerthy@ti.com>
First post2016-11-28 05:10 +0100
Last post2016-11-30 14:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v3] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition Keerthy <j-keerthy@ti.com> - 2016-11-28 05:10 +0100
    Re: [PATCH v3] Documentation: pinctrl: palmas: Add  ti,palmas-powerhold-override property definition Linus Walleij <linus.walleij@linaro.org> - 2016-11-30 14:00 +0100

#1531022 — [PATCH v3] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition

FromKeerthy <j-keerthy@ti.com>
Date2016-11-28 05:10 +0100
Subject[PATCH v3] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition
Message-ID<sIlqp-5qf-5@gated-at.bofh.it>
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 <j-keerthy@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
---

Remaining patches of the series are already queued.

Changes in v3: Added Rob's Ack.

 Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

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:
-- 
1.9.1

[toc] | [next] | [standalone]


#1533279 — Re: [PATCH v3] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-11-30 14:00 +0100
SubjectRe: [PATCH v3] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition
Message-ID<sJcEp-6e9-15@gated-at.bofh.it>
In reply to#1531022
On Mon, Nov 28, 2016 at 5:01 AM, Keerthy <j-keerthy@ti.com> 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 <j-keerthy@ti.com>
> Acked-by: Rob Herring <robh@kernel.org>
> ---
>
> Remaining patches of the series are already queued.
>
> Changes in v3: Added Rob's Ack.

Patch applied to the pinctrl tree.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web