]> git.baikalelectronics.ru Git - kernel.git/commit
of: Add standard property for poweroff capability
authorRomain Perier <romain.perier@gmail.com>
Tue, 14 Oct 2014 06:31:09 +0000 (06:31 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 22 Oct 2014 15:59:36 +0000 (16:59 +0100)
commit64c2ca13cdb66d3099f983e58d3b1961db8a0718
treea81a89d427de61cf147b5d7d879bcfbaccbe7e91
parent794664fc5e82534aa444b079f807e339c4d8d9b5
of: Add standard property for poweroff capability

Several drivers create their own devicetree property when they register
poweroff capabilities. This is for example the case for mfd, regulator
or power drivers which define "vendor,system-power-controller" property.
This patch adds support for a standard property "poweroff-source"
which marks the device as able to shutdown the system.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/of.h