VOOZH about

URL: https://www.phoronix.com/news/Linux-6.19-I2C-Drivers-Rust

⇱ Linux 6.19 Will Allow You To Write I2C Drivers In Rust - Phoronix


👁 Phoronix

Linux 6.19 Will Allow You To Write I2C Drivers In Rust

Written by Michael Larabel in Linux Kernel on 30 November 2025 at 06:32 AM EST. 31 Comments
With the upcoming Linux 6.19 kernel cycle there are yet more Rust kernel bindings being introduced and other additions to make it possible to write more Linux kernel drivers within the Rust programming language. Among the new Rust additions expected for Linux 6.19 are making it possible to write Inter-Integrated Circuit (I2C) bus drivers in Rust.

Queued in the past two weeks to the driver-core.git's driver-core-next Git branch are the patches enabling the Rust I2C bindings as well as sample drivers. Thus with the Linux 6.19 merge window expected to open as soon as tonight, Rust I2C drivers will become a possibility once the driver-core code gets submitted and merged.

This code coming for Linux 6.19 adds all the groundwork for writing Linux I2C drivers in Rust, including the core abstractions, an API for registering I2C devices, and then sample I2C driver code.

👁 Rust I2C sample driver


Beyond the Rust I2C sample driver code, for Linux 6.19 there doesn't appear to be any actual Rust I2C hardware drivers in tow at this point.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.