<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/clocksource/timer-stm32.c, branch v4.7</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.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-08-10T09:40:48Z</updated>
<entry>
<title>clockevents/drivers/stm32: Migrate to new 'set-state' interface</title>
<updated>2015-08-10T09:40:48Z</updated>
<author>
<name>Viresh Kumar</name>
<email>viresh.kumar@linaro.org</email>
</author>
<published>2015-06-18T10:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8e8af4cd3b4227d1bc64db0f0a4081095eb519b2'/>
<id>urn:sha1:8e8af4cd3b4227d1bc64db0f0a4081095eb519b2</id>
<content type='text'>
Migrate stm32 driver to the new 'set-state' interface provided by
clockevents core, the earlier 'set-mode' interface is marked obsolete
now.

This also enables us to implement callbacks for new states of clockevent
devices, for example: ONESHOT_STOPPED.

Cc: Maxime Coquelin &lt;mcoquelin.stm32@gmail.com&gt;
Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Tested-by: Maxime Coquelin &lt;mcoquelin.stm32@gmail.com&gt;
Acked-by: Maxime Coquelin &lt;mcoquelin.stm32@gmail.com&gt;
</content>
</entry>
<entry>
<title>clockevents/drivers/timer-stm32: Fix build warning spotted by kbuild test robot</title>
<updated>2015-06-02T10:10:16Z</updated>
<author>
<name>Maxime Coquelin</name>
<email>mcoquelin.stm32@gmail.com</email>
</author>
<published>2015-05-28T05:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d4688bdc6335e9faaf3f0173f96932cd520cee1a'/>
<id>urn:sha1:d4688bdc6335e9faaf3f0173f96932cd520cee1a</id>
<content type='text'>
This patch fixes below warning spotted by kbuild test robot when building
with ARCH=powerpc:

   drivers/clocksource/timer-stm32.c: In function 'stm32_clockevent_init':
&gt;&gt; drivers/clocksource/timer-stm32.c:140:9: warning: large integer implicitly
	truncated to unsigned type [-Woverflow]

     writel_relaxed(~0UL, data-&gt;base + TIM_ARR);

The fix consists in using 0U instead of 0UL.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Maxime Coquelin &lt;mcoquelin.stm32@gmail.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
</content>
</entry>
<entry>
<title>clockevents/drivers: Add STM32 Timer driver</title>
<updated>2015-06-02T10:10:15Z</updated>
<author>
<name>Maxime Coquelin</name>
<email>mcoquelin.stm32@gmail.com</email>
</author>
<published>2015-05-22T21:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e37e45934afed32f00e16db745c410d5c675456d'/>
<id>urn:sha1:e37e45934afed32f00e16db745c410d5c675456d</id>
<content type='text'>
STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers.
The drivers detects whether the time is 16 or 32 bits, and applies a
1024 prescaler value if it is 16 bits.

Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Tested-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Maxime Coquelin &lt;mcoquelin.stm32@gmail.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
</content>
</entry>
</feed>
