<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/bootcount/bootcount_dm_i2c.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>bootcount: dm_i2c: Support also single word mode</title>
<updated>2026-02-18T22:35:07+00:00</updated>
<author>
<name>Niko Mauno</name>
<email>niko.mauno@vaisala.com</email>
</author>
<published>2026-02-04T13:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f97642853cd379ef69d00bca6c3928bce226dc5e'/>
<id>f97642853cd379ef69d00bca6c3928bce226dc5e</id>
<content type='text'>
In addition to pre-existing half-word (2 byte) mode, add support for
the driver to work also in single word (4 byte) mode by adding
'size = &lt;0x4&gt;;' in the device tree node.

Signed-off-by: Niko Mauno &lt;niko.mauno@vaisala.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In addition to pre-existing half-word (2 byte) mode, add support for
the driver to work also in single word (4 byte) mode by adding
'size = &lt;0x4&gt;;' in the device tree node.

Signed-off-by: Niko Mauno &lt;niko.mauno@vaisala.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcount: Add driver model I2C driver</title>
<updated>2023-10-31T08:09:04+00:00</updated>
<author>
<name>Philip Richard Oberfichtner</name>
<email>pro@denx.de</email>
</author>
<published>2023-10-31T07:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5b6ee512ceb8d990e010646c4fe7b8a3633fad68'/>
<id>5b6ee512ceb8d990e010646c4fe7b8a3633fad68</id>
<content type='text'>
This adds a generic I2C bootcounter adhering to driver model to replace
the previously removed legacy implementation.

There is no change in functionality, it can be used on any I2C device.
The device tree configuration may look like this for example:

	bootcount {
		compatible = "u-boot,bootcount-i2c";
		i2cbcdev = &lt;&amp;i2c_rtc&gt;;
		offset = &lt;0x11&gt;;
	};

Signed-off-by: Philip Richard Oberfichtner &lt;pro@denx.de&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a generic I2C bootcounter adhering to driver model to replace
the previously removed legacy implementation.

There is no change in functionality, it can be used on any I2C device.
The device tree configuration may look like this for example:

	bootcount {
		compatible = "u-boot,bootcount-i2c";
		i2cbcdev = &lt;&amp;i2c_rtc&gt;;
		offset = &lt;0x11&gt;;
	};

Signed-off-by: Philip Richard Oberfichtner &lt;pro@denx.de&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
