Happy Holidays: 21+ years in providing Linux hardware reviews with more than 5,500 original reviews / featured multi-page articles and more than 48,400 original news articles. 99% of the content written by one individual. If you enjoy Phoronix.com, consider joining Phoronix Premium. This week is the Cyber Week promotion to help support all of our Linux/open-source hardware and software operations. Thank you for your consideration and support this holiday season.
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.
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.
