<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/rtc/rtc-bq32k.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-03-09T00:29:17Z</updated>
<entry>
<title>rtc: bq32k: Add OF device ID table</title>
<updated>2017-03-09T00:29:17Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@osg.samsung.com</email>
</author>
<published>2017-03-03T14:29:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=36138c70e69c9272bd7e0be517f1ac7ad0c4f0df'/>
<id>urn:sha1:36138c70e69c9272bd7e0be517f1ac7ad0c4f0df</id>
<content type='text'>
The driver doesn't have a struct of_device_id table but supported devices
are registered via Device Trees. This is working on the assumption that a
I2C device registered via OF will always match a legacy I2C device ID and
that the MODALIAS reported will always be of the form i2c:&lt;device&gt;.

But this could change in the future so the correct approach is to have an
OF device ID table if the devices are registered via OF.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: bq32000: add support to enable disable the trickle charge FET bypass</title>
<updated>2017-02-01T11:44:23Z</updated>
<author>
<name>Enric Balletbo i Serra</name>
<email>enric.balletbo@collabora.com</email>
</author>
<published>2017-01-27T17:43:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4c466872d8ae8e3cdc3e5e1a47e28a15e3020d8b'/>
<id>urn:sha1:4c466872d8ae8e3cdc3e5e1a47e28a15e3020d8b</id>
<content type='text'>
The bq32000 includes a trickle charge circuit to maintain the charge of the
backup supply when a super capacitor is used.

You can enable the charging circuit by setting 'trickle-resistor-ohms',
additionally you can set TCFE to 1 to bypass the internal diode and boost
the charge voltage of the backup supply. You might want to enable/disable
the TCFE switch from userspace (e.g when device is only connected to a
battery)

This patch introduces a new sysfs entry to enable and disable this FET
form userspace.

Signed-off-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: bq32k: Fix handling of oscillator failure flag</title>
<updated>2016-08-31T16:21:35Z</updated>
<author>
<name>Jan Östlund</name>
<email>jao@hms.se</email>
</author>
<published>2016-08-11T11:31:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=421a5ba24b3ef23b8972a6c238bd300abef532da'/>
<id>urn:sha1:421a5ba24b3ef23b8972a6c238bd300abef532da</id>
<content type='text'>
While the oscillator failure flag is set, the RTC registers
should be considered invalid. bq32k_rtc_read_time() now
returns an error instead of an invalid time.

The failure flag is cleared the next time the clock is set.

Signed-off-by: Jan Östlund &lt;jao@hms.se&gt;
Signed-off-by: Daniel Romell &lt;daro@hms.se&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: bq32k: Use correct mask name for 'minutes' register.</title>
<updated>2016-08-31T16:21:35Z</updated>
<author>
<name>Jan Östlund</name>
<email>jao@hms.se</email>
</author>
<published>2016-08-11T11:31:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6ed1a51e0b8a981ab0540117f0c47c1f11fca5fa'/>
<id>urn:sha1:6ed1a51e0b8a981ab0540117f0c47c1f11fca5fa</id>
<content type='text'>
The BQ32K_SECONDS_MASK and BQ32K_MINUTES_MASK both has the same
value. This is no functional change.

Signed-off-by: Jan Östlund &lt;jao@hms.se&gt;
Signed-off-by: Daniel Romell &lt;daro@hms.se&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: Drop owner assignment from i2c_driver</title>
<updated>2015-09-05T11:19:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>k.kozlowski@samsung.com</email>
</author>
<published>2015-07-10T06:39:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b28845433eb9c205c381ed69b09167d6ae5aac1c'/>
<id>urn:sha1:b28845433eb9c205c381ed69b09167d6ae5aac1c</id>
<content type='text'>
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: bq32k: remove redundant check</title>
<updated>2015-09-05T11:19:05Z</updated>
<author>
<name>Maninder Singh</name>
<email>maninder1.s@samsung.com</email>
</author>
<published>2015-07-08T06:56:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=617f6f7ef5bfe8c0ac580243c3da9a836c6e39bf'/>
<id>urn:sha1:617f6f7ef5bfe8c0ac580243c3da9a836c6e39bf</id>
<content type='text'>
removing below static analysis error:
(error) Possible null pointer dereference: client

if (!i2c_check_functionality(client-&gt;adapter, I2C_FUNC_I2C))
							^^^^^^^
Error comes because client is dereferenced before NULL check.
So probably NULL this check is not required.

Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>drivers/rtc/rtc-bq32k.c: fix register value</title>
<updated>2014-10-29T23:33:14Z</updated>
<author>
<name>Pavel Machek</name>
<email>pavel@ucw.cz</email>
</author>
<published>2014-10-29T21:50:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5a6e7599d3f8000496068b12276492311efad5ea'/>
<id>urn:sha1:5a6e7599d3f8000496068b12276492311efad5ea</id>
<content type='text'>
Fix register value in bq32000 trickle charging.

Mike reported that I'm using wrong value in one trickle-charging case,
and after checking docs, I must admit he's right.

Signed-off-by: Pavel Machek &lt;pavel@denx.de&gt;
Reported-by: Mike Bremford &lt;mike@bfo.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: bq32000: add trickle charger option, with device tree binding</title>
<updated>2014-10-14T00:18:18Z</updated>
<author>
<name>Pavel Machek</name>
<email>pavel@ucw.cz</email>
</author>
<published>2014-10-13T22:52:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=765a98a6b9e71702fd8e3822b654f9041a206b47'/>
<id>urn:sha1:765a98a6b9e71702fd8e3822b654f9041a206b47</id>
<content type='text'>
BQ32000 devices have "trickle chargers".  Introduce a code to enable the
charger, based on device tree.

Without charger, RTC does not keep time after power off.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Pavel Machek &lt;pavel@denx.de&gt;
Cc: Jason Cooper &lt;jason@lakedameon.net&gt;
Cc: Matti Vaittinen &lt;matti.vaittinen@nsn.com&gt;
Cc: Rob Herring &lt;robh+dt@kernel.org&gt;
Cc: Ian Campbell &lt;ijc+devicetree@hellion.org.uk&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Guenter Roeck &lt;linux@roeck-us.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>
</entry>
<entry>
<title>drivers/rtc/rtc-bq32k.c: remove empty function</title>
<updated>2013-07-03T23:07:55Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-07-03T22:07:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=52c1b7a74c6d1cebac4402beaa7c59bf5ea4b433'/>
<id>urn:sha1:52c1b7a74c6d1cebac4402beaa7c59bf5ea4b433</id>
<content type='text'>
After the switch to devm_* functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.

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>rtc: rtc-bq32k: use devm_rtc_device_register()</title>
<updated>2013-04-30T01:28:29Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-04-29T23:19:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4e440681f47709ce0a8fe61831e263f8a1bbec46'/>
<id>urn:sha1:4e440681f47709ce0a8fe61831e263f8a1bbec46</id>
<content type='text'>
devm_rtc_device_register() is device managed and makes cleanup paths
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>
</feed>
