<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/rtc.h, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-05-31T21:27:12Z</updated>
<entry>
<title>rtc: export rtc_month_days()</title>
<updated>2019-05-31T21:27:12Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2019-05-31T05:21:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=3c1889e6399a0455bb5056f614be046a0b9cf053'/>
<id>urn:sha1:3c1889e6399a0455bb5056f614be046a0b9cf053</id>
<content type='text'>
Export function rtc_month_days() for reuse in the UEFI subsystem.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>dm: rtc: Fix function name in comment</title>
<updated>2018-12-05T13:06:44Z</updated>
<author>
<name>Philipp Tomsich</name>
</author>
<published>2018-11-25T18:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=a4b33c5aba8cd155d5cf49eeaf7fce38a1965fc1'/>
<id>urn:sha1:a4b33c5aba8cd155d5cf49eeaf7fce38a1965fc1</id>
<content type='text'>
The documentation comment for dm_rtc_set was referring to dm_rtc_put
instead. Fix it.

Signed-off-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>drivers: rtc: resolve year 2038 problem in rtc_to_tm</title>
<updated>2018-07-19T21:03:36Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-07-07T21:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=992c1db45591b891935a6da5c3f14d8af5def05b'/>
<id>urn:sha1:992c1db45591b891935a6da5c3f14d8af5def05b</id>
<content type='text'>
Our implementation of rtc_to_tm() cannot handle dates of more than
0x7fffffff seconds after 1970-01-01.

Adopt the Linux kernel implementation.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>dm: rtc: Add 16-bit read/write support</title>
<updated>2017-04-10T02:02:03Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-03-16T14:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=d24c7fbcc5e530bb5a2b5326869aaa2d7a61d607'/>
<id>urn:sha1:d24c7fbcc5e530bb5a2b5326869aaa2d7a61d607</id>
<content type='text'>
At present there are only 8-bit and 32-bit read/write routines in
the rtc uclass driver. This adds the 16-bit support.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>rtc:ds3232/ds3231: Add support to generate 32KHz output</title>
<updated>2015-09-02T02:37:23Z</updated>
<author>
<name>Priyanka Jain</name>
</author>
<published>2015-06-29T10:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=c340941e443748bbcd0e35172b481ea2077d2582'/>
<id>urn:sha1:c340941e443748bbcd0e35172b481ea2077d2582</id>
<content type='text'>
RTC devices can generate 32KHz output if for
-DS3232 device, EN32KHz bit and BB32KHz bit are set
-DS3231 device, EN32KHz bit is set, BB32KHz bit is don't care

Patch adds rtc_enable_32khz_output() which when called
will enable 32KHz output on 32KHz pin

Signed-off-by: Priyanka Jain &lt;Priyanka.Jain@freescale.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>dm: rtc: Add a uclass for real-time clocks</title>
<updated>2015-05-06T02:58:39Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2015-04-20T18:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=dbeda5b2255089889788e0dd3478680feec86139'/>
<id>urn:sha1:dbeda5b2255089889788e0dd3478680feec86139</id>
<content type='text'>
Add a uclass for real-time clocks which support getting the current time,
setting it and resetting the chip to a known-working state. Some RTCs have
additional registers which can be used to store settings, so also provide
an interface to these.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: rtc: Split structure definition into its own file</title>
<updated>2015-05-06T02:58:20Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2015-04-20T18:37:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=aac5119822041febafdab3fc9ab6dbbe6ea96bff'/>
<id>urn:sha1:aac5119822041febafdab3fc9ab6dbbe6ea96bff</id>
<content type='text'>
Move the definition of struct rtc_time into a separate file so that sandbox
can include it without requiring common.h and the like.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: rtc: Rename mktime() and reduce the number of parameters</title>
<updated>2015-05-06T02:58:20Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2015-04-20T18:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=714209832db1064886680b138f1abf9ce235b2c3'/>
<id>urn:sha1:714209832db1064886680b138f1abf9ce235b2c3</id>
<content type='text'>
Most callers unpack the structure and pass each member. It seems better to
pass the whole structure instead, as with the C library. Also add an rtc_
prefix.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>dm: rtc: Rename to_tm() to rtc_to_tm() and add error code</title>
<updated>2015-05-06T02:58:20Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2015-04-20T18:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=9f9276c34cbbf67fd1b3788f0be326b47fc69123'/>
<id>urn:sha1:9f9276c34cbbf67fd1b3788f0be326b47fc69123</id>
<content type='text'>
Rename this function so that it is clear that it is provided by the RTC.
Also return an error when it cannot function as expected. This is unlikely
to occur since it works for dates since 1752 and many RTCs do not support
such old dates. Still it is better to be accurate.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
</feed>
