<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/power/reset, branch v4.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-01-25T21:13:18Z</updated>
<entry>
<title>power/reset: restart-poweroff: Remove arm dependencies</title>
<updated>2015-01-25T21:13:18Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-25T20:30:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7bae8f04818cb388ca8652a55daa4132b469295e'/>
<id>urn:sha1:7bae8f04818cb388ca8652a55daa4132b469295e</id>
<content type='text'>
This driver is now arm specific anymore, so there is no need to include
an arm specific include file. Also drop unnecessary depencency on ARM
from Kconfig.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: st-poweroff: Fix misleading Kconfig description</title>
<updated>2015-01-25T21:13:17Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-25T20:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7fa650bc0d2c124d28d6c532de7a7d739348953d'/>
<id>urn:sha1:7fa650bc0d2c124d28d6c532de7a7d739348953d</id>
<content type='text'>
The st-poweroff driver does not really power off the system
but resets it, so Kconfig should not claim that the driver
would handle power-off.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: st-poweroff: Register with kernel restart handler</title>
<updated>2015-01-25T21:13:16Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-25T20:30:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=453fe4f11c2ac18b654db13daeaa71409ef142e0'/>
<id>urn:sha1:453fe4f11c2ac18b654db13daeaa71409ef142e0</id>
<content type='text'>
Register with kernel restart handler instead of setting arm_pm_restart
directly. Select high priority since the restart handler is instantiated
through devicetree, indicating that it should be used if configured.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: Remove sun6i reboot driver</title>
<updated>2015-01-25T21:13:07Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-25T20:30:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b2b3a8b934e649d0f0659584f2186602dbb391b5'/>
<id>urn:sha1:b2b3a8b934e649d0f0659584f2186602dbb391b5</id>
<content type='text'>
sun6i restart is now handled by its watchdog driver directly,
so this driver is no longer needed.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: at91: Register with kernel restart handler</title>
<updated>2015-01-25T21:12:45Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-25T20:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=481ff6ff967fefdbfb967f7251e40c22a312d244'/>
<id>urn:sha1:481ff6ff967fefdbfb967f7251e40c22a312d244</id>
<content type='text'>
Register with kernel restart handler instead of setting arm_pm_restart
directly. Register with high priority since the driver unconditionally
overwrites other restart handlers if instantiated.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: arm-versatile: Register with kernel restart handler</title>
<updated>2015-01-25T21:12:45Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-25T20:30:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25a5b57dd76fbcbcb4107aa95400862cb924470d'/>
<id>urn:sha1:25a5b57dd76fbcbcb4107aa95400862cb924470d</id>
<content type='text'>
Register with kernel restart handler instead of setting arm_pm_restart
directly. Select high priority since the restart handler is instantiated
through devicetree, indicating that it should be used if configured.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: brcmstb: Add support for old 65nm chips</title>
<updated>2015-01-22T01:25:32Z</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2014-11-26T00:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=79969f6aafcb4c5d02fc9b33afc58446e4e9dbac'/>
<id>urn:sha1:79969f6aafcb4c5d02fc9b33afc58446e4e9dbac</id>
<content type='text'>
The register bit fields are a little different, so add an entry and a
compatible string to accommodate them.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: brcmstb: Use the DT "compatible" string to indicate bit positions</title>
<updated>2015-01-22T01:25:32Z</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2014-11-26T00:49:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bb1de7f61f1834af81a1665e6450f47dd18a0dd5'/>
<id>urn:sha1:bb1de7f61f1834af81a1665e6450f47dd18a0dd5</id>
<content type='text'>
Some of the older chips used different bits to arm and trigger the reset.
Add the infrastructure needed to specify this through the "compatible"
string.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: brcmstb: Make the driver buildable on MIPS</title>
<updated>2015-01-22T01:25:31Z</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2014-11-26T00:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4f5fd640469839532cb2bd558f878539548f2861'/>
<id>urn:sha1:4f5fd640469839532cb2bd558f878539548f2861</id>
<content type='text'>
Now that the driver doesn't use any ARM-specific headers, it is safe
to build on MIPS or with COMPILE_TEST.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>power/reset: at91-poweroff: Fix error handling and other compiler warnings</title>
<updated>2015-01-21T19:06:44Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2014-10-11T00:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a538cf04ef67861a208075a6d57d0f045822e1d6'/>
<id>urn:sha1:a538cf04ef67861a208075a6d57d0f045822e1d6</id>
<content type='text'>
at91_poweroff_get_wakeup_mode can return a negative error code and should
therefore not return an enum type. Similar, its result should not be
assigned to an enum type. Otherwise, the returned value is never negative,
resulting in a compiler warning and a missed error condition, which in turn
results in writing bad values into a chip register.

Also fix other compiler warnings which can be easily avoided.

drivers/power/reset/at91-poweroff.c:74:24:
	warning: type qualifiers ignored on function return type
drivers/power/reset/at91-poweroff.c:74:24:
	warning: no previous prototype for 'at91_poweroff_get_wakeup_mode'
drivers/power/reset/at91-poweroff.c:83:16:
	warning: comparison between signed and unsigned integer expressions
drivers/power/reset/at91-poweroff.c:97:2:
	warning: comparison of unsigned expression &lt; 0 is always false

Cc: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Cc: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
</feed>
