<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/rtc/rtc-rx8025.c, branch dev-4.3</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.3</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2015-09-05T11:19:12+00:00</updated>
<entry>
<title>rtc: rx8025: check time validity when necessary</title>
<updated>2015-09-05T11:19:12+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-08-04T09:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=efbbb4fd6b6fe0d3d2cfb3c5bbcdf00f1995cb60'/>
<id>urn:sha1:efbbb4fd6b6fe0d3d2cfb3c5bbcdf00f1995cb60</id>
<content type='text'>
Check time validity when reading time as this is when we need to know.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: fix RX8025_BIT_CTRL2_CTFG initialization</title>
<updated>2015-09-05T11:19:12+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-08-04T09:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5c66e1e0b79bd63dcdfbc03b80823522643a1f14'/>
<id>urn:sha1:5c66e1e0b79bd63dcdfbc03b80823522643a1f14</id>
<content type='text'>
RX8025_BIT_CTRL2_CTFG was set to 0 only when it was already 0.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: remove useless initialization</title>
<updated>2015-09-05T11:19:12+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-08-04T08:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=4b33d36b670e7166e8a082e050bfb241ba65271f'/>
<id>urn:sha1:4b33d36b670e7166e8a082e050bfb241ba65271f</id>
<content type='text'>
irq_freq is already initialized to 1 in rtc_device_register()

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: reset validity when setting time</title>
<updated>2015-09-05T11:19:12+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-08-04T08:48:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=8c4a4467cda299491eff64640c891a0b2926cb76'/>
<id>urn:sha1:8c4a4467cda299491eff64640c891a0b2926cb76</id>
<content type='text'>
Wait for the user to set the time to reset the validity bits. Until then,
the time may be invalid.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: fix rx8025_init_client()</title>
<updated>2015-09-05T11:19:12+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-08-04T08:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=a27c7bf657cb4ab893328359b66a584251be6cac'/>
<id>urn:sha1:a27c7bf657cb4ab893328359b66a584251be6cac</id>
<content type='text'>
rx8025_init_client is modifying ctrl[0] and writing it to RX8025_REG_CTRL2
but ctrl[0] is actually RX8025_REG_CTRL1.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: continue without alarm when irq request fails</title>
<updated>2015-09-05T11:19:12+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-08-03T22:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=8a06513df55ef10baf80f55d13786eb29efa4fa6'/>
<id>urn:sha1:8a06513df55ef10baf80f55d13786eb29efa4fa6</id>
<content type='text'>
Instead of bailing out, disable alarms and continue when
devm_request_threaded_irq() fails. This allows to still provide some
functionality.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: cleanup accessors</title>
<updated>2015-09-05T11:19:12+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-08-03T22:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=fd9061fb497926c0e62bf1c7ff727801499fd2ea'/>
<id>urn:sha1:fd9061fb497926c0e62bf1c7ff727801499fd2ea</id>
<content type='text'>
Remove useless error messages, at that point, the user already knows
something went wrong but will not be able to do anything about it anyway.
It is also highly unlikely that some registers are readable/writable
but not some other ones.

Also, transform rx8025_read_reg to be more resemblant to
i2c_smbus_read_byte_data()

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: don't reset the time</title>
<updated>2015-09-05T11:19:11+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-07-26T08:13:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=6f0a8cfebb898b88fb0d934d7a44a6d4c98d5285'/>
<id>urn:sha1:6f0a8cfebb898b88fb0d934d7a44a6d4c98d5285</id>
<content type='text'>
Stop setting the time to epoch when it is invalid. The proper way to handle
that is to return an error when it is invalid instead of returning an
incorrect value.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: fix transfer mode</title>
<updated>2015-09-05T11:19:11+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-07-25T13:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=2e10e74df72ff0f8ea65eb1ee6e39ed8278a91bf'/>
<id>urn:sha1:2e10e74df72ff0f8ea65eb1ee6e39ed8278a91bf</id>
<content type='text'>
The datasheet specifies that transfer mode must be 0 for write and either
0x4 (simplified read) or 0 (standard read). 0x8 is not specified, use
standard mode.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>rtc: rx8025: only handle dates between 2000 and 2099</title>
<updated>2015-09-05T11:19:11+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-07-25T10:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=32672c55951b2633bb93ec6f12734cf17e9d3a14'/>
<id>urn:sha1:32672c55951b2633bb93ec6f12734cf17e9d3a14</id>
<content type='text'>
The hardware is only capable of handling dates between 2000 and 2099,
enforce that.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
</content>
</entry>
</feed>
