Re: [RFC PATCH v7 0/4] iio: position: add Rust driver for ams AS5600

From: Jonathan Cameron

Date: Fri Dec 04 2026 - 15:04:02 EST


On Fri, 4 Dec 2026 11:01:21 +0100
Joshua Crofts <crofts@xxxxxxxxxx> wrote:

> On 01-Dec-26 18:09, Muchamad Coirul Anwar wrote:
> > On Mon, 30 Nov 2026 at 18:42, Joshua Crofts <crofts@xxxxxxxxxx> wrote:
> >>
> >> On 09-Nov-26 16:57, Muchamad Coirul Anwar wrote:
> >> > create mode 100644 drivers/iio/position/as5600.rs
> >> > create mode 100644 rust/kernel/iio.rs
> >>
> >> How about adding entries to MAINTAINERS for the driver and for the abstraction?
> >> Would be good for you to get Cc'd on Rust related stuff for IIO.
> >
> > Hi Joshua,
> >
> > That sounds interesting, and I am available to maintain the Rust IIO
> > abstractions and the AS5600 driver, though I am not sure where to add
> > them in MAINTAINERS.
> >
> > What do the other IIO maintainers think? Maybe they could give some
> > guidance on whether these entries should go under the existing IIO entry
> > or a separate [RUST] section, and whether I should list myself as M: or
> > R:.
>
> For the bindings and Rust drivers I'd do something like (only a suggestion):
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 02015eaec312..9f4f09dff554 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12983,6 +12983,12 @@ S: Maintained
> F: Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml
> F: drivers/iio/multiplexer/iio-mux.c
>
> +IIO RUST SUPPORT
> +M: Muchamad Coirul Anwar <muchamadcoirulanwar@xxxxxxxxx>
> +S: Maintained
> +F: drivers/iio/*/*.rs
> +F: rust/kernel/iio.rs
> +
> IIO SCMI BASED DRIVER
> M: Jyoti Bhayana <jbhayana@xxxxxxxxxx>
> L: linux-iio@xxxxxxxxxxxxxxx
> @@ -13007,6 +13013,7 @@ F: drivers/iio/
> F: drivers/staging/iio/
> F: include/dt-bindings/iio/
> F: include/linux/iio/
> +F: rust/kernel/iio.rs
> F: tools/iio/
>
> Shame I don't know Rust, I'd offer to help with maintaining/reviewing this!
>
The suggested changes look good to me.

Jonathan