<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/rtc/rtc-omap.c, branch linux-3.15.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.15.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.15.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2013-11-13T03:09:30+00:00</updated>
<entry>
<title>drivers/rtc/rtc-omap.c: remove redundant of_match_ptr</title>
<updated>2013-11-13T03:09:30+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-11-12T23:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=616b734130af858e9e9dce57c9f49ebc75b19869'/>
<id>urn:sha1:616b734130af858e9e9dce57c9f49ebc75b19869</id>
<content type='text'>
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/rtc/rtc-omap.c: add rtc wakeup support to alarm events</title>
<updated>2013-09-11T22:58:54+00:00</updated>
<author>
<name>Hebbar Gururaja</name>
<email>gururaja.hebbar@ti.com</email>
</author>
<published>2013-09-11T21:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8af750e3f5ca21eaa5595a96a4cf5eaa996deed4'/>
<id>urn:sha1:8af750e3f5ca21eaa5595a96a4cf5eaa996deed4</id>
<content type='text'>
On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) is
available to enable Alarm Wakeup feature.  This register needs to be
properly handled for the rtcwake to work properly.

Platforms using such IP should set "ti,am3352-rtc" in rtc device dt
compatibility node.

Signed-off-by: Hebbar Gururaja &lt;gururaja.hebbar@ti.com&gt;
Acked-by: Kevin Hilman &lt;khilman@linaro.org&gt;
Acked-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Grant Likely &lt;grant.likely@linaro.org&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Cc: Rob Landley &lt;rob@landley.net&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rtc: omap: restore back (hard-code) wakeup support</title>
<updated>2013-07-03T23:08:00+00:00</updated>
<author>
<name>Hebbar Gururaja</name>
<email>gururaja.hebbar@ti.com</email>
</author>
<published>2013-07-03T22:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1d2e2b65d098c0a321e16b0997eb760439d99500'/>
<id>urn:sha1:1d2e2b65d098c0a321e16b0997eb760439d99500</id>
<content type='text'>
rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms.

However, rtc wake support on OMAP1 is broken.  Hence the
device_init_wakeup() was removed from rtc-omap driver and moved to
platform board files that supported it (DA850/OMAP-L138).  [1]

However, recently [2] it was suggested that driver should always do a
device_init_wakeup(dev, true). Platforms that don't want/need
wakeup support can disable it from userspace via:

    echo disabled &gt; /sys/devices/.../power/wakeup

Also, with the new DT boot-up, board file doesn't exist and hence there
is no way to have device wakeup support rtc.

The fix for above issues, is to hard code device_init_wakeup() inside
driver and let platforms that don't need this, handle it through the
sysfs power entry.

[1]
https://patchwork.kernel.org/patch/136731/

[2]
http://www.mail-archive.com/davinci-linux-open-source@linux.
davincidsp.com/msg26077.html

Signed-off-by: Hebbar Gururaja &lt;gururaja.hebbar@ti.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Acked-by: Kevin Hilman &lt;khilman@linaro.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/rtc/rtc-omap.c: include &lt;linux/io.h&gt; instead of &lt;asm/io.h&gt;</title>
<updated>2013-07-03T23:07:48+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-07-03T22:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4b30c9fca71b5f74fb53992791778b8c8ddf0ac5'/>
<id>urn:sha1:4b30c9fca71b5f74fb53992791778b8c8ddf0ac5</id>
<content type='text'>
Use #include &lt;linux/io.h&gt; instead of &lt;asm/io.h&gt; as pointed out by
checkpatch.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: George G. Davis &lt;gdavis@mvista.com&gt;
Cc: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/rtc: don't check resource with devm_ioremap_resource</title>
<updated>2013-05-18T09:57:07+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2013-05-12T13:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a177c3ac25df166dbdde03e09ba8cb3065742807'/>
<id>urn:sha1:a177c3ac25df166dbdde03e09ba8cb3065742807</id>
<content type='text'>
devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>rtc: rtc-omap: convert omap_rtc_driver to dev_pm_ops</title>
<updated>2013-04-30T01:28:39+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-04-29T23:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=04ebc35973745c1b9af281931d6ebd3842496e8e'/>
<id>urn:sha1:04ebc35973745c1b9af281931d6ebd3842496e8e</id>
<content type='text'>
Instead of using legacy suspend/resume methods, using newer dev_pm_ops
structure allows better control over power management.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/rtc/rtc-omap.c: update to devm_* API</title>
<updated>2013-04-30T01:28:33+00:00</updated>
<author>
<name>Vishwanathrao Badarkhe, Manish</name>
<email>manishv.b@ti.com</email>
</author>
<published>2013-04-29T23:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3765e8f18cb95f6582035710197d24488e164728'/>
<id>urn:sha1:3765e8f18cb95f6582035710197d24488e164728</id>
<content type='text'>
Update the code to use devm_* API so that driver core will manage
resources.

Signed-off-by: Vishwanathrao Badarkhe, Manish &lt;manishv.b@ti.com&gt;
Tested-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rtc: rtc-omap: use module_platform_driver_probe()</title>
<updated>2013-04-30T01:28:23+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-04-29T23:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=09c5a36bf62d9eee9f878b9d4c2895319bd39b7b'/>
<id>urn:sha1:09c5a36bf62d9eee9f878b9d4c2895319bd39b7b</id>
<content type='text'>
Use module_platform_driver_probe() macro which makes the code smaller and
simpler.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rtc: omap: add runtime pm support</title>
<updated>2012-12-18T01:15:20+00:00</updated>
<author>
<name>Vaibhav Hiremath</name>
<email>hvaibhav@ti.com</email>
</author>
<published>2012-12-18T00:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fc9bd9022e8d5863f3efce34cc38cb0c6187271c'/>
<id>urn:sha1:fc9bd9022e8d5863f3efce34cc38cb0c6187271c</id>
<content type='text'>
OMAP1 RTC driver is used in multiple devices like, OMAPL138 and AM33XX.
Driver currently doesn't handle any clocks, which may be right for OMAP1
architecture but in case of AM33XX, the clock/module needs to be enabled
in order to access the registers.

So convert this driver to runtime pm, which internally handles rest.

[afzal@ti.com: handle error path]
Signed-off-by: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Afzal Mohammed &lt;afzal@ti.com&gt;
Acked-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Kevin Hilman &lt;khilman@ti.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Daniel Mack &lt;zonque@gmail.com&gt;
Cc: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rtc: omap: dt support</title>
<updated>2012-12-18T01:15:20+00:00</updated>
<author>
<name>Afzal Mohammed</name>
<email>afzal@ti.com</email>
</author>
<published>2012-12-18T00:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9e0344dcc225fe1a0e8b8af9ff7df44ec4613580'/>
<id>urn:sha1:9e0344dcc225fe1a0e8b8af9ff7df44ec4613580</id>
<content type='text'>
Enhance rtc-omap driver with DT capability

Signed-off-by: Afzal Mohammed &lt;afzal@ti.com&gt;
Acked-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Kevin Hilman &lt;khilman@ti.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Daniel Mack &lt;zonque@gmail.com&gt;
Cc: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
