<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/rtc, branch tegra-9.12.6</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>tegra rtc: work-around Y2038 issue with uninitialized PMUs</title>
<updated>2010-02-03T19:30:48+00:00</updated>
<author>
<name>Gary King</name>
<email>GKing@nvidia.com</email>
</author>
<published>2010-02-03T19:26:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=970c0d3605484adcf2166cd6e93f3b04d02cc8f6'/>
<id>970c0d3605484adcf2166cd6e93f3b04d02cc8f6</id>
<content type='text'>
an uninitialized PMU may return a completely random value for the
number of seconds; when this value is interpreted as number of
seconds since 1970, this can cause severe instability if the value
is &gt;= 0x80000000UL (which is January 2038, sign-overflowing the
32b signed time_t value used in the kernel)

to work-around this issue, when the RTC driver is probed, it
performs an initial read of the PMU's time; if the value returned
would result in a negative time_t value, the PMU RTC is reset to 0.

bug 648967

Change-Id: Icee9940b5433e7e22edf98f9fcd5c7193b5c4f1f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
an uninitialized PMU may return a completely random value for the
number of seconds; when this value is interpreted as number of
seconds since 1970, this can cause severe instability if the value
is &gt;= 0x80000000UL (which is January 2038, sign-overflowing the
32b signed time_t value used in the kernel)

to work-around this issue, when the RTC driver is probed, it
performs an initial read of the PMU's time; if the value returned
would result in a negative time_t value, the PMU RTC is reset to 0.

bug 648967

Change-Id: Icee9940b5433e7e22edf98f9fcd5c7193b5c4f1f
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: tegra RTC driver build fixes</title>
<updated>2009-12-16T03:51:30+00:00</updated>
<author>
<name>Gary King</name>
<email>gking@nvidia.com</email>
</author>
<published>2009-12-16T01:39:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=95c73b3400734b6e7e35f4877bafa52ecffe6071'/>
<id>95c73b3400734b6e7e35f4877bafa52ecffe6071</id>
<content type='text'>
source was moved to rtc-tegra-odm.c, but the Makefile wasn't updated

include tegra_devices.h in source code
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
source was moved to rtc-tegra-odm.c, but the Makefile wasn't updated

include tegra_devices.h in source code
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: add Tegra ODM kit PMU adaptation-based RTC driver</title>
<updated>2009-12-10T03:54:57+00:00</updated>
<author>
<name>Gary King</name>
<email>gking@nvidia.com</email>
</author>
<published>2009-12-10T01:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7730ef5cb85dee3da3825c6f777443883b396137'/>
<id>7730ef5cb85dee3da3825c6f777443883b396137</id>
<content type='text'>
implements the RTC interface for Tegra-based systems implementing NVIDIA's
ODM kit

Change-Id: I9061c49e44828b5bf74f029eff5f547b590f4eb7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
implements the RTC interface for Tegra-based systems implementing NVIDIA's
ODM kit

Change-Id: I9061c49e44828b5bf74f029eff5f547b590f4eb7
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: Try to prevent RTC errors from accumulating.</title>
<updated>2009-04-07T23:43:07+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2008-07-26T03:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e73bc0b6b869c513d799e98ed6ea098c248c05d6'/>
<id>e73bc0b6b869c513d799e98ed6ea098c248c05d6</id>
<content type='text'>
When we resume we only know how many whole seconds has elapsed.
These errors would accumulate in delta. We now only set the delta
if it would change by more than two seconds. If we drift back by
by more than a second add one in resume.

Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we resume we only know how many whole seconds has elapsed.
These errors would accumulate in delta. We now only set the delta
if it would change by more than two seconds. If we drift back by
by more than a second add one in resume.

Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: Add android alarm driver.</title>
<updated>2009-04-07T23:43:06+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2008-10-15T00:38:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e0232f4492bcf04a4f1031d734a6486361d01312'/>
<id>e0232f4492bcf04a4f1031d734a6486361d01312</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: t reaches -1, tested 0</title>
<updated>2009-02-11T22:25:36+00:00</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-02-11T21:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c318c7ac49f9139f55da619bbace6137e1509390'/>
<id>c318c7ac49f9139f55da619bbace6137e1509390</id>
<content type='text'>
With a postfix decrement t will reach -1 rather than 0, so neither the
warning nor the `goto error_out' will occur.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Acked-by: Manuel Lauss &lt;mano@roarinelk.homelinux.net&gt;
Acked-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With a postfix decrement t will reach -1 rather than 0, so neither the
warning nor the `goto error_out' will occur.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Acked-by: Manuel Lauss &lt;mano@roarinelk.homelinux.net&gt;
Acked-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: update maintainership of pxa rtc driver</title>
<updated>2009-02-11T22:25:34+00:00</updated>
<author>
<name>Robert Jarzmik</name>
<email>robert.jarzmik@free.fr</email>
</author>
<published>2009-02-11T21:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=57f63bc8fe79e6598e7253f10f53f58c9fdc57be'/>
<id>57f63bc8fe79e6598e7253f10f53f58c9fdc57be</id>
<content type='text'>
Signed-off-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: 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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: 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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc-ds1390: fix compilation warnings in drivers/rtc/rtc-ds1390.c</title>
<updated>2009-02-05T20:56:48+00:00</updated>
<author>
<name>Manish Katiyar</name>
<email>mkatiyar@gmail.com</email>
</author>
<published>2009-02-04T23:12:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cd29cf7d112aa022cfcfb257ffe3d89ffbd1d820'/>
<id>cd29cf7d112aa022cfcfb257ffe3d89ffbd1d820</id>
<content type='text'>
drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc'

Signed-off-by: Manish Katiyar &lt;mkatiyar@gmail.com&gt;
Signed-off-by: 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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc'

Signed-off-by: Manish Katiyar &lt;mkatiyar@gmail.com&gt;
Signed-off-by: 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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-dm355evm driver</title>
<updated>2009-02-05T20:56:46+00:00</updated>
<author>
<name>David Brownell</name>
<email>dbrownell@users.sourceforge.net</email>
</author>
<published>2009-02-04T23:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=afd8d0f940ba5078f38e435440089117ac7d9eb4'/>
<id>afd8d0f940ba5078f38e435440089117ac7d9eb4</id>
<content type='text'>
Simple RTC driver for the MSP430 firmware on the DM355 EVM board.  Other
than not supporting atomic reads/writes of all four bytes, this is
reasonable as a basic no-alarm RTC.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Acked-by: 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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simple RTC driver for the MSP430 firmware on the DM355 EVM board.  Other
than not supporting atomic reads/writes of all four bytes, this is
reasonable as a basic no-alarm RTC.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Acked-by: 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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-twl4030 don't mask alarm interrupts on shutdown</title>
<updated>2009-01-16T00:39:36+00:00</updated>
<author>
<name>Matti Halme</name>
<email>matti.halme@nokia.com</email>
</author>
<published>2009-01-15T21:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cafa1d8b0c90252e73f20db1b6f32cf88e73ff17'/>
<id>cafa1d8b0c90252e73f20db1b6f32cf88e73ff17</id>
<content type='text'>
A triggering RTC alarm should be able to power on a device that has been
powered off. This patch enables that on twl4030 by not masking the alarm
interrupt at shutdown.

Signed-off-by: Matti Halme &lt;matti.halme@nokia.com&gt;
Signed-off-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Cc: Samuel Ortiz &lt;sameo@openedhand.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A triggering RTC alarm should be able to power on a device that has been
powered off. This patch enables that on twl4030 by not masking the alarm
interrupt at shutdown.

Signed-off-by: Matti Halme &lt;matti.halme@nokia.com&gt;
Signed-off-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Cc: Samuel Ortiz &lt;sameo@openedhand.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
