<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/rtc/rtc-abx80x.c, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2017-10-12T22:10:12Z</updated>
<entry>
<title>rtc: abx80x: solve race condition</title>
<updated>2017-10-12T22:10:12Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2017-10-12T22:04:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9da32ba64d59d577297bf766a3f12753ebef5712'/>
<id>urn:sha1:9da32ba64d59d577297bf766a3f12753ebef5712</id>
<content type='text'>
There is a race condition that can happen if abx80x_probe() fails after the
rtc registration succeeded. Solve that by moving the registration at the
end of the probe function.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: abx80x: switch to rtc_register_device</title>
<updated>2017-10-12T22:10:11Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2017-10-12T22:04:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9360a6a81862d3acfeb44745d9db4f9861ba4159'/>
<id>urn:sha1:9360a6a81862d3acfeb44745d9db4f9861ba4159</id>
<content type='text'>
This allows for future improvement of the driver.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: abx80x: use devm_add_action_or_reset()</title>
<updated>2016-07-19T15:27:42Z</updated>
<author>
<name>Sudip Mukherjee</name>
<email>sudipm.mukherjee@gmail.com</email>
</author>
<published>2016-07-03T20:32:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d8cac8d93e17d7531d154d94ca9f9e597fe58cad'/>
<id>urn:sha1:d8cac8d93e17d7531d154d94ca9f9e597fe58cad</id>
<content type='text'>
If devm_add_action() fails we are explicitly calling the cleanup to free
the resources allocated.  Lets use the helper devm_add_action_or_reset()
and return directly in case of error, as we know that the cleanup function
has been already called by the helper if there was any error.

Signed-off-by: Sudip Mukherjee &lt;sudip.mukherjee@codethink.co.uk&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: abx80x: handle the oscillator failure bit</title>
<updated>2016-03-25T01:41:13Z</updated>
<author>
<name>Mylène Josserand</name>
<email>mylene.josserand@free-electrons.com</email>
</author>
<published>2016-03-21T17:06:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ee087744247c421c83abea7f01217bfd39b8f5a9'/>
<id>urn:sha1:ee087744247c421c83abea7f01217bfd39b8f5a9</id>
<content type='text'>
Handle the Oscillator Failure ('OF') bit from Oscillator Status register
(0x1D). This bit is cleared on set_time function and is read each time the
date/time is read, but only in case of XT Oscillator selection.
In RC mode, this bit is always set.

Signed-off-by: Mylène Josserand &lt;mylene.josserand@free-electrons.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: abx80x: handle autocalibration</title>
<updated>2016-03-25T01:41:13Z</updated>
<author>
<name>Mylène Josserand</name>
<email>mylene.josserand@free-electrons.com</email>
</author>
<published>2016-03-21T17:06:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=59a8383adb75459c9d6766656bccc05950b783ea'/>
<id>urn:sha1:59a8383adb75459c9d6766656bccc05950b783ea</id>
<content type='text'>
The autocalibration is separated in two bits to set in Oscillator
Control register (0x1c) :
 - OSEL bit to select the oscillator type (XT or RC).
 - ACAL bit to select the autocalibration type.

These functionnalities are exported in sysfs entries : "oscillator"
and "autocalibration". Respectively, the values are "xtal" for XT
oscillator and "rc" for RC oscillator and 0 to disable the
autocalibration cycle, 512 for a 512 seconds autocalibration cycle
and 1024 for a cycle of 1024 seconds.

Examples :
Set to XT Oscillator
echo xtal &gt; /sys/class/rtc/rtc0/device/oscillator
Activate an autocalibration every 512 seconds
echo 512 &gt; /sys/class/rtc/rtc0/device/autocalibration

Signed-off-by: Mylène Josserand &lt;mylene.josserand@free-electrons.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: abx80x: add alarm support</title>
<updated>2016-01-11T19:20:01Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-12-16T23:36:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=718a820a303ca60645ab703451ecfebf045c896b'/>
<id>urn:sha1:718a820a303ca60645ab703451ecfebf045c896b</id>
<content type='text'>
Add alarm support to the abx80x driver.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: abx80x: Add Microcrystal rv1805 support</title>
<updated>2016-01-11T19:20:01Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-12-16T23:36:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fca733a14ea549dbc4f759578704c48f5fb0ab45'/>
<id>urn:sha1:fca733a14ea549dbc4f759578704c48f5fb0ab45</id>
<content type='text'>
Microcrystal RV-1805 is compatible with Abracon 1805.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: abx80x: fix RTC write bit</title>
<updated>2015-09-05T17:37:31Z</updated>
<author>
<name>Mitja Spes</name>
<email>mitja@lxnav.com</email>
</author>
<published>2015-09-02T08:02:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5f1b2f77646fc0ef2f36fc554f5722a1381d0892'/>
<id>urn:sha1:5f1b2f77646fc0ef2f36fc554f5722a1381d0892</id>
<content type='text'>
Fix RTC write bit as per application manual

Cc: stable@vger.kernel.org # 4.1+
Signed-off-by: Mitja Spes &lt;mitja@lxnav.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: add rtc-abx80x, a driver for the Abracon AB x80x i2c rtc</title>
<updated>2015-05-06T00:10:10Z</updated>
<author>
<name>Philippe De Muyter</name>
<email>phdm@macqel.be</email>
</author>
<published>2015-05-05T23:23:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4d61ff6b9960cb00cf2c12abd5769aa2dd475415'/>
<id>urn:sha1:4d61ff6b9960cb00cf2c12abd5769aa2dd475415</id>
<content type='text'>
This is a basic driver for the ultra-low-power Abracon AB x80x series of RTC
chips. It supports in particular, the supersets AB0805 and AB1805.
It allows reading and writing the time, and enables the supercapacitor/
battery charger.

[arnd@arndb.de: abx805 depends on i2c]
[alexandre.belloni@free-electrons.com: renam buffer from date to buf in abx80x_rtc_read_time()]
Signed-off-by: Philippe De Muyter &lt;phdm@macqel.be&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&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>
