<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/rtc/max313xx.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>drivers: rtc: max313xx: Add delay after setting date</title>
<updated>2025-09-09T16:30:41+00:00</updated>
<author>
<name>Ben Hoelker</name>
<email>ben.hoelker@alliedtelesis.co.nz</email>
</author>
<published>2025-08-17T22:30:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e0f9a4fb576c3f4233393194161e48941823cbc3'/>
<id>e0f9a4fb576c3f4233393194161e48941823cbc3</id>
<content type='text'>
The MAX31331 was not correctly updating the seconds when
setting the time and would return the seconds previously set.

Like the MAX31343, a delay needs to be added after setting the
time. Wait one second after writing so that the date command shows the
correct time.

Reviewed-by: Chris Packham &lt;chris.packham@alliedtelesis.co.nz&gt;
Reviewed-by: Bruce Adams &lt;bruce.adams@alliedtelesis.co.nz&gt;
Signed-off-by: Ben Hoelker &lt;ben.hoelker@alliedtelesis.co.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The MAX31331 was not correctly updating the seconds when
setting the time and would return the seconds previously set.

Like the MAX31343, a delay needs to be added after setting the
time. Wait one second after writing so that the date command shows the
correct time.

Reviewed-by: Chris Packham &lt;chris.packham@alliedtelesis.co.nz&gt;
Reviewed-by: Bruce Adams &lt;bruce.adams@alliedtelesis.co.nz&gt;
Signed-off-by: Ben Hoelker &lt;ben.hoelker@alliedtelesis.co.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: rtc: max313xx: Ensure correct date is read after setting</title>
<updated>2025-01-26T17:33:13+00:00</updated>
<author>
<name>Mark Tomlinson</name>
<email>mark.tomlinson@alliedtelesis.co.nz</email>
</author>
<published>2025-01-20T01:59:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0e4c345ecf653aab7684ef6ab0a9e794e8659f5f'/>
<id>0e4c345ecf653aab7684ef6ab0a9e794e8659f5f</id>
<content type='text'>
When setting the time on the MAX31343, the time is not updated
for one second, and reading the time in this interval will give
the old time. Wait one second after writing so that the date
command will show the correct time when setting the clock.

Signed-off-by: Mark Tomlinson &lt;mark.tomlinson@alliedtelesis.co.nz&gt;
Cc: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Chris Packham &lt;judge.packham@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When setting the time on the MAX31343, the time is not updated
for one second, and reading the time in this interval will give
the old time. Wait one second after writing so that the date
command will show the correct time when setting the clock.

Signed-off-by: Mark Tomlinson &lt;mark.tomlinson@alliedtelesis.co.nz&gt;
Cc: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Chris Packham &lt;judge.packham@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: rtc: max313xx: Fix setting years 2100-2199</title>
<updated>2025-01-26T17:33:13+00:00</updated>
<author>
<name>Mark Tomlinson</name>
<email>mark.tomlinson@alliedtelesis.co.nz</email>
</author>
<published>2025-01-20T01:59:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d86da7e2bd6ae89360ff020565f9bf82712d688e'/>
<id>d86da7e2bd6ae89360ff020565f9bf82712d688e</id>
<content type='text'>
An invalid calculation made setting years 2100-2199 impossible.

Signed-off-by: Mark Tomlinson &lt;mark.tomlinson@alliedtelesis.co.nz&gt;
Cc: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Chris Packham &lt;judge.packham@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An invalid calculation made setting years 2100-2199 impossible.

Signed-off-by: Mark Tomlinson &lt;mark.tomlinson@alliedtelesis.co.nz&gt;
Cc: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Chris Packham &lt;judge.packham@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: rtc: max313xx: provide read8/write8</title>
<updated>2023-07-25T16:44:46+00:00</updated>
<author>
<name>Chris Packham</name>
<email>judge.packham@gmail.com</email>
</author>
<published>2023-07-11T23:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d6c0d7087f0d17d954a39e0f6af406cfb2d7d43a'/>
<id>d6c0d7087f0d17d954a39e0f6af406cfb2d7d43a</id>
<content type='text'>
In some designs the MAX313xx RTC may need calibration to cope with
oscillator inaccuracies. Provide read8/write8 ops so that the registers
can be accessed. Because the driver covers a range of MAX313xx variants
no attempt is made to ensure the register is valid.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some designs the MAX313xx RTC may need calibration to cope with
oscillator inaccuracies. Provide read8/write8 ops so that the registers
can be accessed. Because the driver covers a range of MAX313xx variants
no attempt is made to ensure the register is valid.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: rtc: add max313xx series rtc driver</title>
<updated>2023-03-30T19:09:59+00:00</updated>
<author>
<name>Chris Packham</name>
<email>judge.packham@gmail.com</email>
</author>
<published>2023-03-19T21:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0798a1ce0f6439dfb80d310e11bc8993e09baf08'/>
<id>0798a1ce0f6439dfb80d310e11bc8993e09baf08</id>
<content type='text'>
Adding support for Analog Devices MAX313XX series RTCs.

This is ported from the Linux driver and adapted for use in u-boot.
Notable differences are
- handling of tm_year and tm_mon differ
- clock source support is omitted
- hwmon support for the MAX31328 and MAX31343 is omitted
- rtc_ops-&gt;reset is added

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding support for Analog Devices MAX313XX series RTCs.

This is ported from the Linux driver and adapted for use in u-boot.
Notable differences are
- handling of tm_year and tm_mon differ
- clock source support is omitted
- hwmon support for the MAX31328 and MAX31343 is omitted
- rtc_ops-&gt;reset is added

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
