<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/rtc/rtc-s5m.c, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-04-26T10:40:26Z</updated>
<entry>
<title>rtc: s5m: Drop S5M8763 support</title>
<updated>2023-04-26T10:40:26Z</updated>
<author>
<name>David Virag</name>
<email>virag.david003@gmail.com</email>
</author>
<published>2023-01-31T18:30:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a3165abaa9bda3e729b434a3e684fcfa205f252a'/>
<id>urn:sha1:a3165abaa9bda3e729b434a3e684fcfa205f252a</id>
<content type='text'>
The S5M8763 MFD has no device tree compatible, and since board file
support for it was removed, there's no way to use this MFD. After
removing the remaining code for it from the MFD driver, also remove
support for it in the s5m RTC driver, and all remaining references to
it.

Signed-off-by: David Virag &lt;virag.david003@gmail.com&gt;
Acked-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
Link: https://lore.kernel.org/r/20230131183008.4451-3-virag.david003@gmail.com
</content>
</entry>
<entry>
<title>rtc: s5m: drop unneeded MODULE_ALIAS</title>
<updated>2021-09-25T21:26:37Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzysztof.kozlowski@canonical.com</email>
</author>
<published>2021-09-16T16:46:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6eee1c48be7cb0b9b14408521a9151c1021901d3'/>
<id>urn:sha1:6eee1c48be7cb0b9b14408521a9151c1021901d3</id>
<content type='text'>
The MODULE_DEVICE_TABLE already creates proper alias for platform
driver.  Having another MODULE_ALIAS causes the alias to be duplicated.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20210916164604.134924-1-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>rtc: s5m: set range</title>
<updated>2021-08-06T08:31:59Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2021-08-04T10:41:32Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fffd603ae9f6ee1da47fa4ae4c70c324323bc201'/>
<id>urn:sha1:fffd603ae9f6ee1da47fa4ae4c70c324323bc201</id>
<content type='text'>
The S5M8763X type seems to handles dates from year 0000 to 9999, there is
no info on leap year handling after 2099. The other models handles dates
from 2000 to 2099.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Link: https://lore.kernel.org/r/20210804104133.5158-4-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: s5m: enable wakeup only when available</title>
<updated>2021-08-06T08:31:59Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2021-08-04T10:41:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=308247d20464a684f335001f2f835240e67f9126'/>
<id>urn:sha1:308247d20464a684f335001f2f835240e67f9126</id>
<content type='text'>
Call device_init_wakeup() only when alarms are available and the RTC is
actually able to wake up the system.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Link: https://lore.kernel.org/r/20210804104133.5158-3-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: s5m: signal the core when alarm are not available</title>
<updated>2021-08-06T08:31:59Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2021-08-04T10:41:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1ed4dba2bc166bae5af713a114ed91619ef70c43'/>
<id>urn:sha1:1ed4dba2bc166bae5af713a114ed91619ef70c43</id>
<content type='text'>
Clear the RTC_FEATURE_ALARM bit to signal to the core when alarms are not
available to ensure the alarm callbacks are never called and userspace is
aware alarms are not supported.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Link: https://lore.kernel.org/r/20210804104133.5158-2-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: s5m: switch to devm_rtc_allocate_device</title>
<updated>2021-08-06T08:31:59Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2021-08-04T10:41:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=dae68c6b9620ab694c8334de640c6d64daeb90e2'/>
<id>urn:sha1:dae68c6b9620ab694c8334de640c6d64daeb90e2</id>
<content type='text'>
Switch to devm_rtc_allocate_device/devm_rtc_register_device, this allows
for further improvement of the driver.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Link: https://lore.kernel.org/r/20210804104133.5158-1-alexandre.belloni@bootlin.com
</content>
</entry>
<entry>
<title>rtc: s5m: Check return value of s5m_check_peding_alarm_interrupt()</title>
<updated>2021-07-10T00:41:52Z</updated>
<author>
<name>Nobuhiro Iwamatsu</name>
<email>nobuhiro1.iwamatsu@toshiba.co.jp</email>
</author>
<published>2021-07-08T05:13:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f2581b1dfa9858e342afa8034b0f64f923bbf233'/>
<id>urn:sha1:f2581b1dfa9858e342afa8034b0f64f923bbf233</id>
<content type='text'>
s5m_check_peding_alarm_interrupt() in s5m_rtc_read_alarm() gets the return
value, but doesn't use it.
This modifies using the s5m_check_peding_alarm_interrupt()"s return value
as the s5m_rtc_read_alarm()'s return value.

Cc: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Cc: linux-samsung-soc@vger.kernel.org
Signed-off-by: Nobuhiro Iwamatsu &lt;nobuhiro1.iwamatsu@toshiba.co.jp&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20210708051304.341278-1-nobuhiro1.iwamatsu@toshiba.co.jp
</content>
</entry>
<entry>
<title>rtc: s5m: Remove reference to parent's device pdata</title>
<updated>2021-04-29T21:37:18Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzysztof.kozlowski@canonical.com</email>
</author>
<published>2021-04-20T17:02:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fefbec3a741831bc7791a94a483ad55665160b50'/>
<id>urn:sha1:fefbec3a741831bc7791a94a483ad55665160b50</id>
<content type='text'>
The S5M RTC driver does not use parent's device (sec-core PMIC driver)
platform data so there is no need to check for it.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20210420170244.13467-3-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>rtc: s5m: check the return value of s5m8767_rtc_init_reg()</title>
<updated>2021-01-16T22:19:12Z</updated>
<author>
<name>Bartosz Golaszewski</name>
<email>bgolaszewski@baylibre.com</email>
</author>
<published>2021-01-14T10:22:19Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3be95d277484117f248b2f7e8cb8d14cb38dbb04'/>
<id>urn:sha1:3be95d277484117f248b2f7e8cb8d14cb38dbb04</id>
<content type='text'>
This function can fail if regmap operations fail so check its return
value in probe().

Signed-off-by: Bartosz Golaszewski &lt;bgolaszewski@baylibre.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20210114102219.23682-4-brgl@bgdev.pl
</content>
</entry>
<entry>
<title>rtc: s5m: use devm_i2c_new_dummy_device()</title>
<updated>2021-01-16T22:19:12Z</updated>
<author>
<name>Bartosz Golaszewski</name>
<email>bgolaszewski@baylibre.com</email>
</author>
<published>2021-01-14T10:22:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7db7ad0817fe7d3c6fcbd9402deb7509b2851f06'/>
<id>urn:sha1:7db7ad0817fe7d3c6fcbd9402deb7509b2851f06</id>
<content type='text'>
Use the managed variant of i2c_new_dummy_device() to shrink code and
remove the goto label. We can drop the remove callback now too.

Signed-off-by: Bartosz Golaszewski &lt;bgolaszewski@baylibre.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20210114102219.23682-3-brgl@bgdev.pl
</content>
</entry>
</feed>
