<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/rtc/rtc-ds1307.c, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2014-12-11T01:41:15Z</updated>
<entry>
<title>rtc: ds1307: add support for mcp7940x chips</title>
<updated>2014-12-11T01:41:15Z</updated>
<author>
<name>Tomas Novotny</name>
<email>tomas@novotny.cz</email>
</author>
<published>2014-12-10T23:53:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f4199f8557774cfa38682c89c37388fa30367767'/>
<id>urn:sha1:f4199f8557774cfa38682c89c37388fa30367767</id>
<content type='text'>
MCP7940x is same RTC as MCP7941x.  The difference is that MCP7941x chips
contain additional EEPROM on a different i2c address.

DS1307 driver already supports MCP7941x, so just add a new i2c device id
and rename functions and defines accordingly.

Signed-off-by: Tomas Novotny &lt;tomas@novotny.cz&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Grant Likely &lt;grant.likely@linaro.org&gt;
Cc: Rob Herring &lt;robh+dt@kernel.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: ds1307: add trickle charger device tree binding</title>
<updated>2014-10-14T00:18:18Z</updated>
<author>
<name>Matti Vaittinen</name>
<email>matti.vaittinen@nsn.com</email>
</author>
<published>2014-10-13T22:52:48Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=33b04b7b7c03d04584be3f91ebc1eb40eb1ed33c'/>
<id>urn:sha1:33b04b7b7c03d04584be3f91ebc1eb40eb1ed33c</id>
<content type='text'>
Some DS13XX devices have "trickle chargers".  Introduce a device tree
binding for specifying the trickle charger configuration for ds1339.

Only ds1339 dt binding is supported because this is the only chip I have.
I _assume_ the code would have worked on other allready supported chips.
However I cannot check the resistor values for the other chips or test
them.  For other chips the driver code works as earlier Eg.  it does not
check the dt bindings at all

Signed-off-by: Matti Vaittinen &lt;matti.vaittinen@nsn.com&gt;
Cc: Rob Herring &lt;robh+dt@kernel.org&gt;
Cc: Pawel Moll &lt;pawel.moll@arm.com&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Cc: Guenter Roeck &lt;linux@roeck-us.net&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: Pavel Machek &lt;pavel@denx.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>
<entry>
<title>drivers/rtc/rtc-ds1307.c: add alarm support for mcp7941x chips</title>
<updated>2014-04-03T23:21:20Z</updated>
<author>
<name>Simon Guinot</name>
<email>simon.guinot@sequanux.org</email>
</author>
<published>2014-04-03T21:49:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1d1945d261a2af4e1ddaf609308c30b83143c2da'/>
<id>urn:sha1:1d1945d261a2af4e1ddaf609308c30b83143c2da</id>
<content type='text'>
Add alarm support for the Microchip RTC devices MCP794xx.  Note that two
programmable alarms are provided by the chip but only one is used by the
driver.

Signed-off-by: Simon Guinot &lt;simon.guinot@sequanux.org&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Cc: Andrew Lunn &lt;andrew@lunn.ch&gt;
Cc: Gregory Clement &lt;gregory.clement@free-electrons.com&gt;
Cc: Sebastian Hesselbarth &lt;sebastian.hesselbarth@gmail.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>drivers/rtc/rtc-ds1307.c: fix sysfs wakealarm attribute creation</title>
<updated>2014-04-03T23:21:20Z</updated>
<author>
<name>Simon Guinot</name>
<email>simon.guinot@sequanux.org</email>
</author>
<published>2014-04-03T21:49:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5ea735144dd4d2716557ff62dbcc940d62d62208'/>
<id>urn:sha1:5ea735144dd4d2716557ff62dbcc940d62d62208</id>
<content type='text'>
In order to allow the creation of the sysfs attribute wakealarm, this
patch moves the device_set_wakeup_capable() call above the RTC device
registration.

Signed-off-by: Simon Guinot &lt;simon.guinot@sequanux.org&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Cc: Andrew Lunn &lt;andrew@lunn.ch&gt;
Cc: Gregory Clement &lt;gregory.clement@free-electrons.com&gt;
Cc: Sebastian Hesselbarth &lt;sebastian.hesselbarth@gmail.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: fix potential race condition</title>
<updated>2014-04-03T23:21:16Z</updated>
<author>
<name>Alessandro Zummo</name>
<email>a.zummo@towertech.it</email>
</author>
<published>2014-04-03T21:49:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4071ea25cc08d41002746cca2d69ac700d67a2ac'/>
<id>urn:sha1:4071ea25cc08d41002746cca2d69ac700d67a2ac</id>
<content type='text'>
RTC drivers must not return an error after device registration.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Reported-by: Ales Novak &lt;alnovak@suse.cz&gt;
Cc: Alexander Shiyan &lt;shc_work@mail.ru&gt;
Cc: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Srikanth Srinivasan &lt;srikanth.srinivasan@freescale.com&gt;
Cc: Lee Jones &lt;lee.jones@linaro.org&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Joonsoo Kim &lt;iamjoonsoo.kim@lge.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>drivers/rtc/rtc-ds1307.c: change variable type to bool</title>
<updated>2013-11-13T03:09:30Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@gmail.com</email>
</author>
<published>2013-11-12T23:10:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c8b18da7769af46455180a61e7c292ec514e47e7'/>
<id>urn:sha1:c8b18da7769af46455180a61e7c292ec514e47e7</id>
<content type='text'>
The variable want_irq is only assigned the values true and false.
Change its type to bool.

The simplified semantic patch that find this problem is as
follows (http://coccinelle.lip6.fr/):

@exists@
type T;
identifier b;
@@
- T
+ bool
  b = ...;
  ... when any
  b = \(true\|false\)

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@gmail.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>drivers/rtc/rtc-ds1307.c: use dev_get_platdata()</title>
<updated>2013-11-13T03:09:29Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-11-12T23:10:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=01ce893d37f053a9f76dd461adf4a4715ac388f1'/>
<id>urn:sha1:01ce893d37f053a9f76dd461adf4a4715ac388f1</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.  This is a cosmetic change to make
the code simpler and enhance the readability.

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>
<entry>
<title>drivers/rtc/rtc-ds1307.c: release irq on error</title>
<updated>2013-11-13T03:09:26Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-11-12T23:10:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=50ccf0455e51eba51e645b3724c8e932c75774b1'/>
<id>urn:sha1:50ccf0455e51eba51e645b3724c8e932c75774b1</id>
<content type='text'>
'client-&gt;irq' was not released on error. Fix it.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: 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>
<entry>
<title>rtc: rtc-ds1307: use devm_*() functions</title>
<updated>2013-07-03T23:07:54Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-07-03T22:07:05Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=edca66d2ceae6ba426b9250ffcad5bca820b146f'/>
<id>urn:sha1:edca66d2ceae6ba426b9250ffcad5bca820b146f</id>
<content type='text'>
Use devm_*() functions to make 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>
<entry>
<title>drivers/rtc/rtc-ds1307.c: change sysfs function pointer assignment</title>
<updated>2013-04-30T01:28:34Z</updated>
<author>
<name>Steffen Trumtrar</name>
<email>s.trumtrar@pengutronix.de</email>
</author>
<published>2013-04-29T23:20:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b9c3570737578040a506e33ef7a136daed03eedd'/>
<id>urn:sha1:b9c3570737578040a506e33ef7a136daed03eedd</id>
<content type='text'>
The current usage of commas instead of semicolons is not wrong, but
affects the readability of the code.

Also, the code would break, if someone puts something between those two
assignments.

Signed-off-by: Steffen Trumtrar &lt;s.trumtrar@pengutronix.de&gt;
Cc: Austin Boyle &lt;Austin.Boyle@aviatnet.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>
