<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/rtc, branch v5.10</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.10</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.10'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-10-21T18:22:08Z</updated>
<entry>
<title>Merge tag 'rtc-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux</title>
<updated>2020-10-21T18:22:08Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2020-10-21T18:22:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b7769c45b8d95f1c70b9dec38c8de8ad229ce222'/>
<id>urn:sha1:b7769c45b8d95f1c70b9dec38c8de8ad229ce222</id>
<content type='text'>
Pull RTC updates from Alexandre Belloni:
 "A new driver this cycle is making the bulk of the changes and the
  rx8010 driver has been rework to use the modern APIs.

  Summary:

  Subsystem:
   - new generic DT properties: aux-voltage-chargeable,
     trickle-voltage-millivolt

  New driver:
   - Microcrystal RV-3032

  Drivers:
   - ds1307: use aux-voltage-chargeable
   - r9701, rx8010: modernization of the driver
   - rv3028: fix clock output, trickle resistor values, RAM
     configuration registers"

* tag 'rtc-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (50 commits)
  rtc: r9701: set range
  rtc: r9701: convert to devm_rtc_allocate_device
  rtc: r9701: stop setting RWKCNT
  rtc: r9701: remove useless memset
  rtc: r9701: stop setting a default time
  rtc: r9701: remove leftover comment
  rtc: rv3032: Add a driver for Microcrystal RV-3032
  dt-bindings: rtc: rv3032: add RV-3032 bindings
  dt-bindings: rtc: add trickle-voltage-millivolt
  rtc: rv3028: ensure ram configuration registers are saved
  rtc: rv3028: factorize EERD bit handling
  rtc: rv3028: fix trickle resistor values
  rtc: rv3028: fix clock output support
  rtc: mt6397: Remove unused member dev
  rtc: rv8803: simplify the return expression of rv8803_nvram_write
  rtc: meson: simplify the return expression of meson_vrtc_probe
  rtc: rx8010: rename rx8010_init_client() to rx8010_init()
  rtc: ds1307: enable rx8130's backup battery, make it chargeable optionally
  rtc: ds1307: consider aux-voltage-chargeable
  rtc: ds1307: store previous charge default per chip
  ...
</content>
</entry>
<entry>
<title>rtc: r9701: set range</title>
<updated>2020-10-19T20:48:55Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-15T19:11:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=35331b506f6c67a0b4042fac1ae2785cef9ac8c3'/>
<id>urn:sha1:35331b506f6c67a0b4042fac1ae2785cef9ac8c3</id>
<content type='text'>
Set range and remove the set_time check. This is a classic BCD RTC.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201015191135.471249-6-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: r9701: convert to devm_rtc_allocate_device</title>
<updated>2020-10-19T20:48:55Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-15T19:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dfe13cf2ae5a7cdb131e61a8aae4fb27cd379bd4'/>
<id>urn:sha1:dfe13cf2ae5a7cdb131e61a8aae4fb27cd379bd4</id>
<content type='text'>
This allows further improvement of the driver.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201015191135.471249-5-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: r9701: stop setting RWKCNT</title>
<updated>2020-10-19T20:48:55Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-15T19:11:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8b34134907e7d70b8b51fa56ecd4f8c50c46692c'/>
<id>urn:sha1:8b34134907e7d70b8b51fa56ecd4f8c50c46692c</id>
<content type='text'>
tm_wday is never checked for validity and it is not read back in
r9701_get_datetime. Avoid setting it to stop tripping static checkers:

        drivers/rtc/rtc-r9701.c:109 r9701_set_datetime()
        error: undefined (user controlled) shift '1 &lt;&lt; dt-&gt;tm_wday'

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201015191135.471249-4-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: r9701: remove useless memset</title>
<updated>2020-10-19T20:48:55Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-15T19:11:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2a8f3380c9e50a36b99a92febfd78f7c7afd29b0'/>
<id>urn:sha1:2a8f3380c9e50a36b99a92febfd78f7c7afd29b0</id>
<content type='text'>
The RTC core already sets to zero the struct rtc_tie it passes to the
driver, avoid doing it a second time.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201015191135.471249-3-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: r9701: stop setting a default time</title>
<updated>2020-10-19T20:48:55Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-15T19:11:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7390bec4ed5d510d1a637257ff75e9ab49030411'/>
<id>urn:sha1:7390bec4ed5d510d1a637257ff75e9ab49030411</id>
<content type='text'>
It doesn't make sense to set the RTC to a default value at probe time. Let
the core handle invalid date and time.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201015191135.471249-2-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: r9701: remove leftover comment</title>
<updated>2020-10-19T20:48:55Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-15T19:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=92c6dcfbd1eb803d4669c82b3d8a0fcbb803e3f9'/>
<id>urn:sha1:92c6dcfbd1eb803d4669c82b3d8a0fcbb803e3f9</id>
<content type='text'>
Commit 22652ba72453 ("rtc: stop validating rtc_time in .read_time") removed
the code but not the associated comment.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201015191135.471249-1-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: rv3032: Add a driver for Microcrystal RV-3032</title>
<updated>2020-10-19T20:47:56Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-13T14:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2eeaa532accab8810ca9fe21f52d149713561235'/>
<id>urn:sha1:2eeaa532accab8810ca9fe21f52d149713561235</id>
<content type='text'>
New driver for the Microcrystal RV-3032, including support for:
 - Date/time
 - Alarms
 - Low voltage detection
 - Trickle charge
 - Trimming
 - Clkout
 - RAM
 - EEPROM
 - Temperature sensor

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201013144110.1942218-3-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: rv3028: ensure ram configuration registers are saved</title>
<updated>2020-10-15T10:09:35Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-09T15:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=024e6f3dce9ef0bc61acc5b93bb1eba491e4f8d0'/>
<id>urn:sha1:024e6f3dce9ef0bc61acc5b93bb1eba491e4f8d0</id>
<content type='text'>
If RV3028_CTRL1_EERD is not set (this is the default), the RTC will refresh
the RAM configuration registers from the EEPROM at midnight. It is
necessary to save the RAM registers back to EEPROM after modifying them.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201009153101.721149-4-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: rv3028: factorize EERD bit handling</title>
<updated>2020-10-15T10:09:35Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2020-10-09T15:31:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=de0ad60e79e1ce563223b3fddf03fc19f606c6d4'/>
<id>urn:sha1:de0ad60e79e1ce563223b3fddf03fc19f606c6d4</id>
<content type='text'>
Both rv3028_eeprom_write and rv3028_eeprom_read enable EERD before sending
commands to the EEPROM and restore it afterwards. Factorize this code.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20201009153101.721149-3-alexandre.belloni@bootlin.com
</content>
</entry>
</feed>
