linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig
  2012-12-07  0:21 Stephen Warren
@ 2012-12-07  0:21 ` Stephen Warren
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2012-12-07  0:21 UTC (permalink / raw)
  To: linux-arm-kernel

From: Stephen Warren <swarren@nvidia.com>

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/configs/tegra_defconfig |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index a7827fd..a568c34 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -127,6 +127,8 @@ CONFIG_GPIO_TPS6586X=y
 CONFIG_GPIO_TPS65910=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_BATTERY_SBS=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_GPIO=y
 CONFIG_SENSORS_LM90=y
 CONFIG_MFD_TPS6586X=y
 CONFIG_MFD_TPS65910=y
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT
@ 2013-01-02 18:46 Stephen Warren
  2013-01-02 18:46 ` [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig Stephen Warren
  2013-01-02 19:46 ` [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT Stephen Warren
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Warren @ 2013-01-02 18:46 UTC (permalink / raw)
  To: linux-arm-kernel

From: Stephen Warren <swarren@nvidia.com>

... and disable tri-state from the pingroup that contains the poweroff
GPIO.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/boot/dts/tegra20-trimslice.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts
index b70b4cb..4b6c486 100644
--- a/arch/arm/boot/dts/tegra20-trimslice.dts
+++ b/arch/arm/boot/dts/tegra20-trimslice.dts
@@ -249,6 +249,11 @@
 					"ld23_22";
 				nvidia,pull = <1>;
 			};
+			conf_spif {
+				nvidia,pins = "spif";
+				nvidia,pull = <1>;
+				nvidia,tristate = <0>;
+			};
 		};
 	};
 
@@ -322,6 +327,11 @@
 		bus-width = <4>;
 	};
 
+	poweroff {
+		compatible = "gpio-poweroff";
+		gpios = <&gpio 191 1>; /* gpio PX7, active low */
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig
  2013-01-02 18:46 [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT Stephen Warren
@ 2013-01-02 18:46 ` Stephen Warren
  2013-01-02 19:43   ` Stephen Warren
  2013-01-02 19:46 ` [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT Stephen Warren
  1 sibling, 1 reply; 5+ messages in thread
From: Stephen Warren @ 2013-01-02 18:46 UTC (permalink / raw)
  To: linux-arm-kernel

From: Stephen Warren <swarren@nvidia.com>

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/configs/tegra_defconfig |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index a7827fd..a568c34 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -127,6 +127,8 @@ CONFIG_GPIO_TPS6586X=y
 CONFIG_GPIO_TPS65910=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_BATTERY_SBS=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_GPIO=y
 CONFIG_SENSORS_LM90=y
 CONFIG_MFD_TPS6586X=y
 CONFIG_MFD_TPS65910=y
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig
  2013-01-02 18:46 ` [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig Stephen Warren
@ 2013-01-02 19:43   ` Stephen Warren
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-01-02 19:43 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/02/2013 11:46 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

Applied (squashed into) Tegra's for-3.9/defconfig branch.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT
  2013-01-02 18:46 [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT Stephen Warren
  2013-01-02 18:46 ` [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig Stephen Warren
@ 2013-01-02 19:46 ` Stephen Warren
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-01-02 19:46 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/02/2013 11:46 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> ... and disable tri-state from the pingroup that contains the poweroff
> GPIO.

Applied to Tegra's for-3.9/dt branch.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-02 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02 18:46 [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT Stephen Warren
2013-01-02 18:46 ` [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig Stephen Warren
2013-01-02 19:43   ` Stephen Warren
2013-01-02 19:46 ` [PATCH 1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT Stephen Warren
  -- strict thread matches above, loose matches on Subject: below --
2012-12-07  0:21 Stephen Warren
2012-12-07  0:21 ` [PATCH 2/2] ARM: tegra: enable gpio-poweroff driver in defconfig Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).