<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/rtc, branch dev-4.7</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.7</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2016-10-06T00:55:38+00:00</updated>
<entry>
<title>Merge tag 'v4.7.6' into dev-4.7</title>
<updated>2016-10-06T00:55:38+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2016-10-06T00:55:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f6a08070cae1561f0a455a3d582292434a8764d1'/>
<id>urn:sha1:f6a08070cae1561f0a455a3d582292434a8764d1</id>
<content type='text'>
This is the 4.7.6 stable release
</content>
</entry>
<entry>
<title>rtc: ds1307: Fix relying on reset value for weekday</title>
<updated>2016-09-30T08:12:45+00:00</updated>
<author>
<name>Keerthy</name>
<email>j-keerthy@ti.com</email>
</author>
<published>2016-06-01T10:49:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=1c79cde5f08004f1d9881e36580f4cbf37b095d5'/>
<id>urn:sha1:1c79cde5f08004f1d9881e36580f4cbf37b095d5</id>
<content type='text'>
commit e29385fab0bf94017fac130ee32f5bb2daf74417 upstream.

The reset value of weekday is 0x1. This is wrong since
the reset values of the day/month/year make up to Jan 1 2001.
When computed weekday comes out to be Monday. On a scale
of 1-7(Sunday - Saturday) it should be 0x2. So we should not
be relying on the reset value.

Hence compute the wday using the current date/month/year values.
Check if reset wday is any different from the computed wday,
If different then set the wday which we computed using
date/month/year values.

Document Referred:
http://ww1.microchip.com/downloads/en/DeviceDoc/20002266F.pdf

Fixes: 1d1945d261a2af "drivers/rtc/rtc-ds1307.c: add alarm support for mcp7941x chips"
Signed-off-by: Keerthy &lt;j-keerthy@ti.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge tag 'v4.7.2' into dev-4.7</title>
<updated>2016-08-29T07:59:30+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2016-08-29T07:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=b2031230a2809043b7b8e43a050d77fba7f90281'/>
<id>urn:sha1:b2031230a2809043b7b8e43a050d77fba7f90281</id>
<content type='text'>
This is the 4.7.2 stable release

Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>rtc: s3c: Add s3c_rtc_{enable/disable}_clk in s3c_rtc_setfreq()</title>
<updated>2016-08-20T16:11:04+00:00</updated>
<author>
<name>Alim Akhtar</name>
<email>alim.akhtar@samsung.com</email>
</author>
<published>2016-07-05T09:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5dac5e403c590fbfb6bdee297e1d57ae0d9b7054'/>
<id>urn:sha1:5dac5e403c590fbfb6bdee297e1d57ae0d9b7054</id>
<content type='text'>
commit 70c96dfac0e231424e17743bd52f6cd2ff1f2439 upstream.

As per code flow s3c_rtc_setfreq() will get called with rtc clock disabled
and in set_freq we perform h/w registers read/write, which results in a
kernel crash on exynos7 platform while probing rtc driver.
Below is code flow:
s3c_rtc_probe()
    clk_prepare_enable(info-&gt;rtc_clk) // rtc clock enabled
    s3c_rtc_gettime() // will enable clk if not done, and disable it upon exit
    s3c_rtc_setfreq() //then this will be called with clk disabled

This patch take cares of such issue by adding s3c_rtc_{enable/disable}_clk in
s3c_rtc_setfreq().

Fixes: 24e1455493da ("drivers/rtc/rtc-s3c.c: delete duplicate clock control")
Signed-off-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Reviewed-by: Pankaj Dubey &lt;pankaj.dubey@samsung.com&gt;
Tested-by: Pankaj Dubey &lt;pankaj.dubey@samsung.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>rtc: Add Aspeed AST2400 rtc driver</title>
<updated>2016-08-09T06:22:17+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2015-06-04T07:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=cd71540f52aa0fe21a4f02840dfbc1e06566f112'/>
<id>urn:sha1:cd71540f52aa0fe21a4f02840dfbc1e06566f112</id>
<content type='text'>
Read and writes the time to the non-battery backed RTC in the Aspeed
AST2400 system on chip.

TODO: support timer functionality.

Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>rtc: tps6586x: rename so module can be autoloaded</title>
<updated>2016-05-21T15:07:17+00:00</updated>
<author>
<name>Nicolas Chauvet</name>
<email>kwizart@gmail.com</email>
</author>
<published>2016-05-10T10:26:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=b9ba1eb0336877b9b83556fd30d2becda110fd8c'/>
<id>urn:sha1:b9ba1eb0336877b9b83556fd30d2becda110fd8c</id>
<content type='text'>
This module is loaded by the related mfd driver which has
the needed MODULE_DEVICE_TABLE(i2c,...).

This patch fix the modalias when the rtc driver is built
as a module, so the right name is used.
Everything operates correctly when this module is builtin.

Fixes: esdc59ed3865 ("rtc: add RTC driver for TPS6586x")
Signed-off-by: Nicolas Chauvet &lt;kwizart@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rv3029: hide unused i2c device table</title>
<updated>2016-05-21T15:07:16+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2016-05-04T09:50:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=814db2bc4c4e19530eae818354dceb861ceb9fb1'/>
<id>urn:sha1:814db2bc4c4e19530eae818354dceb861ceb9fb1</id>
<content type='text'>
The added support for SPI mode made it possible to configure the driver
when I2C is disabled, leaving an unused device table:

drivers/rtc/rtc-rv3029c2.c:794:29: error: 'rv3029_id' defined but not used [-Werror=unused-variable]

This moves the table inside of the #ifdef section that has the
only user, to avoid the harmless warning.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: d08f50dd0afc ("rtc: rv3029: Add support of RV3049")
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rs5c372: r2025: fix check for 'oscillator halted' condition</title>
<updated>2016-05-21T15:07:16+00:00</updated>
<author>
<name>Thomas Koeller</name>
<email>thomas.koeller@baslerweb.com</email>
</author>
<published>2010-06-02T13:53:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=a9dbe558920e12ea286cd4479039df26991a95de'/>
<id>urn:sha1:a9dbe558920e12ea286cd4479039df26991a95de</id>
<content type='text'>
The R2025SD chip, according to its data sheet, sets the /XST
bit to zero if the oscillator stops. Hence the check for this
condition was wrong.

Signed-off-by: Thomas Koeller &lt;thomas.koeller@baslerweb.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rv3029: add alarm IRQ</title>
<updated>2016-05-21T15:07:00+00:00</updated>
<author>
<name>Mylène Josserand</name>
<email>mylene.josserand@free-electrons.com</email>
</author>
<published>2016-05-03T09:54:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=0ddc5b89cd12938e251c691563f45409b4d15d98'/>
<id>urn:sha1:0ddc5b89cd12938e251c691563f45409b4d15d98</id>
<content type='text'>
Add the alarm IRQ functionality.

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: rv3029: fix set_time function</title>
<updated>2016-05-21T15:06:58+00:00</updated>
<author>
<name>Mylène Josserand</name>
<email>mylene.josserand@free-electrons.com</email>
</author>
<published>2016-05-03T09:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=38201ca3c58d27ac95ee08995558c7176b4feb13'/>
<id>urn:sha1:38201ca3c58d27ac95ee08995558c7176b4feb13</id>
<content type='text'>
The bin2bcd function in set_time is uncorrect on weekdays as the
bit mask should be done at the end of arithmetic operations.

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>
</feed>
