devicetree.vger.kernel.org archive mirror
 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
       [not found] ` <1413991587-11110-1-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Romain Perier @ 2014-10-22 15:26 UTC (permalink / raw)
  To: sameo-VuQAYsv1563Yd54FQh9/CA
  Cc: lee.jones-QSEj5FYQhm4dnm+yROfE0A, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-lFZ/pmaqli7XmaaqVzeoHQ,
	swarren-3lzwWm7+Weoh9ZMKESR00Q,
	thierry.reding-Re5JQEeQqe8AvxtiuMwx3w,
	gnurou-Re5JQEeQqe8AvxtiuMwx3w,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	broonie-DgEjT+Ai2ygdnm+yROfE0A

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

Signed-off-by: Romain Perier <romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 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] 14+ messages in thread

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

Thread overview: 14+ 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
     [not found] ` <1413991587-11110-1-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-10-22 15:25   ` PERIER Romain
2014-10-22 15:50     ` Lee Jones
2014-10-23  7:30       ` PERIER Romain
     [not found]         ` <CABgxDoJSLrAOMMA7=ZGd4F6z7_FkojCdjUNi52wbocZk7yJowQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-23 10:02           ` Lee Jones
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-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-23  8:12 ` [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source Peter De Schrijver
     [not found]   ` <20141023081230.GK32045-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2014-10-23  9:39     ` PERIER Romain
2014-10-24  2:11       ` Alexandre Courbot
2014-10-24  8:02       ` [PATCH v1 1/5] mfd: tps65910: Convert ti, system-power-controller " Peter De Schrijver
2014-10-24  9:04         ` [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller " Romain Perier

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).