<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/i2c, branch next</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/i2c?h=next</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/i2c?h=next'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-08-25T17:37:49Z</updated>
<entry>
<title>Merge tag 'i2c-updates-for-2026.10-next' of https://git.u-boot-project.org/u-boot/custodians/hs/u-boot-i2c into next</title>
<updated>2026-08-25T17:37:49Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2026-08-25T17:37:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=12d7a1e89c2bb00febfb41ea7566ce704dda1845'/>
<id>urn:sha1:12d7a1e89c2bb00febfb41ea7566ce704dda1845</id>
<content type='text'>
i2c updates for 2026.10-next

- i2c/clk: spacemit: k1: fix I2C bus configuration and clock handling
  from Junhui

  Reviewed by Yao Zi and myself.
</content>
</entry>
<entry>
<title>i2c: k1: enable both functional and bus clocks</title>
<updated>2026-08-25T06:22:24Z</updated>
<author>
<name>Junhui Liu</name>
<email>junhui.liu@pigmoral.tech</email>
</author>
<published>2026-08-15T03:40:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=febfffd338e0be62d28c280ae779fd7bb88fe17c'/>
<id>urn:sha1:febfffd338e0be62d28c280ae779fd7bb88fe17c</id>
<content type='text'>
The K1 I2C controller requires both its functional clock and APB bus
clock to operate. The device tree provides them as "func" and "bus", but
the driver currently acquires and enables only the first clock.

Acquire both clocks by name and enable them during probe. Use explicit
named lookups instead of the bulk clock API to align with the K1 Linux
driver and keep the roles of the two clocks clear if functional clock
rate configuration is needed later.

Fixes: 271546fb8e54 ("i2c: k1: add I2C driver support")
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;
Reviewed-by: Yao Zi &lt;me@ziyao.cc&gt;
Signed-off-by: Junhui Liu &lt;junhui.liu@pigmoral.tech&gt;
</content>
</entry>
<entry>
<title>i2c: k1: fix wrong bus speed setting</title>
<updated>2026-08-25T06:22:24Z</updated>
<author>
<name>Junhui Liu</name>
<email>junhui.liu@pigmoral.tech</email>
</author>
<published>2026-08-15T03:40:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cfe0012e12d7e3889b5d245f14b4ed3bf73f033a'/>
<id>urn:sha1:cfe0012e12d7e3889b5d245f14b4ed3bf73f033a</id>
<content type='text'>
The controller bus mode should be selected according to the requested
I2C bus speed. However, the driver currently passes the functional clock
rate to k1_i2c_set_bus_speed(), so the selected mode does not reflect
the requested bus speed.

Fix this by reading the clock-frequency property from the Device Tree,
defaulting to standard speed, and drop the unused clk_rate field.

Fixes: 271546fb8e54 ("i2c: k1: add I2C driver support")
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;
Reviewed-by: Yao Zi &lt;me@ziyao.cc&gt;
Signed-off-by: Junhui Liu &lt;junhui.liu@pigmoral.tech&gt;
</content>
</entry>
<entry>
<title>i2c: mtk_mt8195_i2c_ddc: add new driver</title>
<updated>2026-08-13T15:03:57Z</updated>
<author>
<name>Julien Stephan</name>
<email>jstephan@baylibre.com</email>
</author>
<published>2026-07-27T08:43:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71142b57cd1afa78117cd5be8baf071392599939'/>
<id>urn:sha1:71142b57cd1afa78117cd5be8baf071392599939</id>
<content type='text'>
Add a new driver for HDMI DDC channel reading for MT8195 based SoCs.
The driver is based on the corresponding kernel driver.

Signed-off-by: Pavlo Yadvychuk &lt;pyadvychuk@baylibre.com&gt;
Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;
Link: https://patch.msgid.link/20260727-mt8188-add-ddc-i2c-driver-v2-2-bf1c45fcd588@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>i2c: geni: reset controller on NACK to recover from invalid bus state</title>
<updated>2026-08-07T12:47:08Z</updated>
<author>
<name>Aswin Murugan</name>
<email>aswin.murugan@oss.qualcomm.com</email>
</author>
<published>2026-06-02T06:43:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=175819691fe8dba191cc861ed984d10fdcbc2571'/>
<id>urn:sha1:175819691fe8dba191cc861ed984d10fdcbc2571</id>
<content type='text'>
During i2c probe, repeated accesses to non-existent slave addresses
generate consecutive NACK responses. On GENI I2C controllers, these
back-to-back error conditions leaves the controller in an invalid
or busy state, especially at lower bus frequencies (100 kHz and
400 kHz). As a result, subsequent transfers fails and valid slave
addresses are not detected.

Currently, controller recovery is triggered only on timeout errors.
However, NACK conditions (-EREMOTEIO) can lead to the same stale bus
state.

Handle -EREMOTEIO similar to -ETIMEDOUT by issuing a command abort
before starting the next transfer. This ensures the controller state
machine is reset and the bus is returned to a known good state.

This improves reliability of i2c probe and allows correct detection
of slave devices under repeated probing conditions.

Signed-off-by: Aswin Murugan &lt;aswin.murugan@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>i2c: k1: add I2C driver support</title>
<updated>2026-07-21T08:57:13Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@riscstar.com</email>
</author>
<published>2026-06-30T01:19:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=271546fb8e547231323503410a6e11f016da1f5e'/>
<id>urn:sha1:271546fb8e547231323503410a6e11f016da1f5e</id>
<content type='text'>
Add I2C driver support on Spacemit K1 SoC using driver model.

Signed-off-by: Raymond Mao &lt;raymond.mao@riscstar.com&gt;
Signed-off-by: Guodong Xu &lt;guodong@riscstar.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;
Tested-by: Songsong Zhang &lt;sszhang@vsit.ai&gt;
</content>
</entry>
<entry>
<title>treewide: Kconfig: use bool instead of tristate</title>
<updated>2026-07-10T21:45:57Z</updated>
<author>
<name>Anshul Dalal</name>
<email>anshuld@ti.com</email>
</author>
<published>2026-06-25T03:17:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=199a088b96c9d352cffa59ce4043e5ac60917697'/>
<id>urn:sha1:199a088b96c9d352cffa59ce4043e5ac60917697</id>
<content type='text'>
U-Boot does not support modules, so having tristate options is useless.

Therefore this patch does a blind replace of all tristate options to
bool tree-wide.

Signed-off-by: Anshul Dalal &lt;anshuld@ti.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;
Reviewed-by: Quentin Schulz &lt;quentin.schulz@cherry.de&gt;
Reviewed-by: Siddharth Vadapalli &lt;s-vadapalli@ti.com&gt;
Reviewed-by: Neha Malcom Francis &lt;n-francis@ti.com&gt;
Reviewed-by: Romain Gantois &lt;romain.gantois@bootlin.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>i2c: designware: fix i2c probe error</title>
<updated>2026-07-08T09:23:25Z</updated>
<author>
<name>Coben Han</name>
<email>cobenhan@mediastek.com</email>
</author>
<published>2026-06-11T03:06:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b8487e7e2d10f83bd356f42b0cc29134eafe97ca'/>
<id>urn:sha1:b8487e7e2d10f83bd356f42b0cc29134eafe97ca</id>
<content type='text'>
Probing i2c slave device just needs its device address.

A certain type of chipsets such as RTC S35390A have no offset,
which means address length should be 0.

But the current designware_i2c_probe_chip function requires
offset 0 and its length 1.

This causes the designware-i2c to be initialized again and again.

Furthermore, after booting into kernel, the designware-i2c kernel
driver complains its controller timeout.

This patch fixes this misbehaviour in such way that  only device
address is issued, no reinitialization needs when target device
not detected, the designware-i2c kernel driver continues working.

Signed-off-by: Coben Han &lt;cobenhan@mediastek.com&gt;
</content>
</entry>
<entry>
<title>i2c: nx: Add License</title>
<updated>2026-07-08T09:23:10Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2026-05-25T04:03:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a8d40f922d10da8b25973dd786380190a8ecb89e'/>
<id>urn:sha1:a8d40f922d10da8b25973dd786380190a8ecb89e</id>
<content type='text'>
Add License information for nx_i2c driver.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;
</content>
</entry>
<entry>
<title>i2c: nx: Use dev_read_addr_ptr()</title>
<updated>2026-07-08T09:22:48Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2026-05-25T04:03:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f6ba7d26fe51bd8bd5c610797902147d401df83e'/>
<id>urn:sha1:f6ba7d26fe51bd8bd5c610797902147d401df83e</id>
<content type='text'>
Use dev_read_addr_ptr() which supports both live device tree and flat DT
backends, avoiding direct dependency on devfdt_* helpers.

No functional changes.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;
</content>
</entry>
</feed>
