public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source
@ 2014-10-22 15:26 Romain Perier
  2014-10-22 15:25 ` PERIER Romain
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Romain Perier @ 2014-10-22 15:26 UTC (permalink / raw)
  To: sameo
  Cc: lee.jones, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
	galak, linux, swarren, thierry.reding, gnurou, grant.likely,
	linux-kernel, devicetree, linux-arm-kernel, linux-tegra, broonie

No longer use custom property to define poweroff capability, use the standard
DT property instead.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
---
 drivers/mfd/tps65910.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 7612d89..b8dca8a 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -423,8 +423,7 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
 
 	board_info->irq = client->irq;
 	board_info->irq_base = -1;
-	board_info->pm_off = of_property_read_bool(np,
-			"ti,system-power-controller");
+	board_info->pm_off = of_system_has_poweroff_source(np);
 
 	return board_info;
 }
-- 
1.9.1


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

end of thread, other threads:[~2014-10-24  9:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 15:26 [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source Romain Perier
2014-10-22 15:25 ` PERIER Romain
2014-10-22 15:50   ` Lee Jones
2014-10-23  7:30     ` PERIER Romain
2014-10-23 10:02       ` Lee Jones
2014-10-22 15:26 ` [PATCH v1 2/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 apalis Romain Perier
2014-10-22 15:26 ` [PATCH v1 3/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 beaver Romain Perier
2014-10-22 15:26 ` [PATCH v1 4/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 cardhu Romain Perier
2014-10-22 15:26 ` [PATCH v1 5/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 colibri Romain Perier
2014-10-23  8:12 ` [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source Peter De Schrijver
2014-10-23  9:39   ` PERIER Romain
2014-10-24  2:11     ` Alexandre Courbot
     [not found]     ` <20141024080240.GN32045@tbergstrom-lnx.Nvidia.com>
2014-10-24  9:04       ` Romain Perier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox