summaryrefslogtreecommitdiff
path: root/rust/kernel/i2c.rs
diff options
context:
space:
mode:
authorIgor Korotin <igor.korotin.linux@gmail.com>2025-11-16 16:22:10 +0000
committerDanilo Krummrich <dakr@kernel.org>2025-11-18 10:31:41 +1300
commit13ae55e24a854efd33eb84bbd19a74b933228ccd (patch)
tree97c1778070d578efa0d4aa4aa79142e2b703ebd4 /rust/kernel/i2c.rs
parentd05b8e97690fa19be39f0af03e7f117f601b6319 (diff)
samples: rust: add Rust I2C client registration sample
Add a new `rust_i2c_client` sample, showing how to create a new i2c client using `i2c::Registration` Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Igor Korotin <igor.korotin.linux@gmail.com> Link: https://patch.msgid.link/20251116162210.171542-1-igor.korotin.linux@gmail.com [ * Remove dependency to I2C_CHARDEV, depend on I2C=y. * Remove unnecessary impl Drop for SampleDriver. * Rename i2c::Registration, import Devres. * Fixup module description. * Add new source file to MAINTAINERS. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/i2c.rs')
0 files changed, 0 insertions, 0 deletions