<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/rtc/rtc-isl1208.c, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-02-17T20:29:10Z</updated>
<entry>
<title>rtc: isl1208: Add new style nvmem support to driver</title>
<updated>2019-02-17T20:29:10Z</updated>
<author>
<name>Trent Piepho</name>
<email>tpiepho@impinj.com</email>
</author>
<published>2019-02-12T02:34:05Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c3544f6f51edcac4040dd78b9e9d2ece48e2ac0b'/>
<id>urn:sha1:c3544f6f51edcac4040dd78b9e9d2ece48e2ac0b</id>
<content type='text'>
Add support for the RTC's NVRAM using the standard nvmem support that is
part of the Linux RTC framework.

This driver already has a sysfs attribute that provides access to the
RTC's NVRAM as a single 16-bit value.  Some chips have more than two
bytes of NVRAM, so this will not work for them.  It's also non-standard.

This sysfs attribute is left in for backward compatibility, but will only
be able to read the first two bytes of NVRAM.  The nvmem interface will
allow access to all NVRAM, e.g. eight bytes on the isl1218.

Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Trent Piepho &lt;tpiepho@impinj.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: Support more chip variations</title>
<updated>2019-02-17T20:29:10Z</updated>
<author>
<name>Trent Piepho</name>
<email>tpiepho@impinj.com</email>
</author>
<published>2019-02-12T02:34:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5909b87db8ef0df4e11363afc53ed788b7ea17cb'/>
<id>urn:sha1:5909b87db8ef0df4e11363afc53ed788b7ea17cb</id>
<content type='text'>
Add more support in the driver for dealing with differences in is1208
compatible chips.  Put the 1208, 1209, 1218, and 1219 in the list and
encode information about nvram size, tamper, and timestamp features.

This adds support for the isl1209, which has a tamper detect but no
timestamp feature.

Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Trent Piepho &lt;tpiepho@impinj.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: Introduce driver state struct</title>
<updated>2019-02-17T20:29:10Z</updated>
<author>
<name>Trent Piepho</name>
<email>tpiepho@impinj.com</email>
</author>
<published>2019-02-12T02:34:03Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ed3c52a075e9488cc672c5658414b2f157fc5688'/>
<id>urn:sha1:ed3c52a075e9488cc672c5658414b2f157fc5688</id>
<content type='text'>
This driver has no state of its own, depending entirely on what is in
the generic rtc device.

Intoduce a state struct.  For now it only contains a pointer to the rtc
device struct, but future patches will add more data.

Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Trent Piepho &lt;tpiepho@impinj.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: fix negative digital trim reporting</title>
<updated>2019-01-10T21:27:06Z</updated>
<author>
<name>Trent Piepho</name>
<email>tpiepho@impinj.com</email>
</author>
<published>2019-01-02T16:00:17Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c8c97a4fb52c526be7a78c4c1e61a95cf1c915cc'/>
<id>urn:sha1:c8c97a4fb52c526be7a78c4c1e61a95cf1c915cc</id>
<content type='text'>
isl1208_i2c_get_dtr() was returning the dtr value directly, but could
also return a negative error code.  Negative trimming values, e.g. -20,
would get interpreted as an error code, e.g. -ENOTDIR.

This patch offsets the dtr value by 100 so it's positive and won't alias
an error code.

Also fix check that considered a return value of -1 to be success.

Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Trent Piepho &lt;tpiepho@impinj.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: Use i2c block read/write routines</title>
<updated>2018-11-22T17:11:37Z</updated>
<author>
<name>Trent Piepho</name>
<email>tpiepho@impinj.com</email>
</author>
<published>2018-11-15T18:51:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=facc23b8ff21e9fb328938baf15ae68a91af0cb9'/>
<id>urn:sha1:facc23b8ff21e9fb328938baf15ae68a91af0cb9</id>
<content type='text'>
The Linux i2c layer has functions to execute common SMBUS/I2C
transactions.  The register access code here is identical to the I2C
read/write block data routines.

Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Trent Piepho &lt;tpiepho@impinj.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: don't include core header file</title>
<updated>2018-09-28T12:20:59Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2018-09-19T01:13:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4b3a6a3ac559d8f81d79e661ccde6bdd08395225'/>
<id>urn:sha1:4b3a6a3ac559d8f81d79e661ccde6bdd08395225</id>
<content type='text'>
The core header file is reserved for the core, stop including it.

Also reorder includes alphabetically.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: avoid possible sysfs race</title>
<updated>2018-09-28T12:14:38Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2018-09-15T11:29:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1b4c794fda583edabe864ac466e9cd43c707be80'/>
<id>urn:sha1:1b4c794fda583edabe864ac466e9cd43c707be80</id>
<content type='text'>
Use rtc_add_group to add the common sysfs group to avoid a possible race
condition.

[Denis.Osterland@diehl.com: use to_i2c_client(dev-&gt;parent)]
Signed-off-by: Denis Osterland &lt;Denis.Osterland@diehl.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;

The move of atrim, dtrim usr sysfs properties from i2c device
to rtc device require to access them via dev-&gt;parent.
This patch also aligns timestamp0.
</content>
</entry>
<entry>
<title>rtc: isl1208: set ev-evienb bit from device tree</title>
<updated>2018-08-14T21:22:27Z</updated>
<author>
<name>Denis Osterland</name>
<email>Denis.Osterland@diehl.com</email>
</author>
<published>2018-07-24T11:31:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cfa30622c854747aba9c920c7dd30e5a123a414f'/>
<id>urn:sha1:cfa30622c854747aba9c920c7dd30e5a123a414f</id>
<content type='text'>
Add support to disable event in pull-up.

Signed-off-by: Denis Osterland &lt;Denis.Osterland@diehl.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: Add "evdet" interrupt source for isl1219</title>
<updated>2018-08-14T21:03:19Z</updated>
<author>
<name>Denis Osterland</name>
<email>Denis.Osterland@diehl.com</email>
</author>
<published>2018-07-24T11:31:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9ece7cd833a3e5e0740e2b681abe6ce5e6af6885'/>
<id>urn:sha1:9ece7cd833a3e5e0740e2b681abe6ce5e6af6885</id>
<content type='text'>
Add support for "evdet" named interrupt source.

The check if i2c client irq matches evdet irq is needed
for the case that there is only one interrupt named "evdet".
In this case i2c client code handles this like an unnamed
interrupt souce and assigns the value.

Signed-off-by: Denis Osterland &lt;Denis.Osterland@diehl.com&gt;
Reviewed-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>rtc: isl1208: add support for isl1219 with tamper detection</title>
<updated>2018-08-14T21:00:58Z</updated>
<author>
<name>Michael Grzeschik</name>
<email>m.grzeschik@pengutronix.de</email>
</author>
<published>2018-07-24T11:31:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=dd35bdb0768f1d03b043c4ba704fe9760eaa5891'/>
<id>urn:sha1:dd35bdb0768f1d03b043c4ba704fe9760eaa5891</id>
<content type='text'>
We add support for the ISL1219 chip that got an integrated tamper
detection function. This patch implements the feature by adding
an additional timestamp0 file to sysfs device path.
This file contains seconds since epoch, if an event occurred,
or is empty, if none occurred.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
Signed-off-by: Denis Osterland &lt;Denis.Osterland@diehl.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
</feed>
