From: "Onur Özkan" <work@onurozkan.dev>
To: Markus Probst <markus.probst@posteo.de>
Cc: Danilo Krummrich <dakr@kernel.org>,
Miguel Ojeda <ojeda@kernel.org>,
Alex Gaynor <alex.gaynor@gmail.com>, Lee Jones <lee@kernel.org>,
Pavel Machek <pavel@kernel.org>,
Lorenzo Stoakes <lorenzo.stoakes@oracle.com>,
Vlastimil Babka <vbabka@suse.cz>,
"Liam R. Howlett" <Liam.Howlett@oracle.com>,
Uladzislau Rezki <urezki@gmail.com>,
Boqun Feng <boqun.feng@gmail.com>, Gary Guo <gary@garyguo.net>,
bjorn3_gh@protonmail.com, Benno Lossin <lossin@kernel.org>,
Andreas Hindborg <a.hindborg@kernel.org>,
Alice Ryhl <aliceryhl@google.com>,
Trevor Gross <tmgross@umich.edu>,
rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-leds@vger.kernel.org
Subject: Re: [PATCH 0/2] rust: leds: add led classdev abstractions
Date: Thu, 9 Oct 2025 20:46:32 +0300 [thread overview]
Message-ID: <20251009204632.16cfb175@nimda.home> (raw)
In-Reply-To: <20251009170739.235221-1-markus.probst@posteo.de>
On Thu, 09 Oct 2025 17:07:55 +0000
Markus Probst <markus.probst@posteo.de> wrote:
> This patch series has previously been contained in
> https://lore.kernel.org/rust-for-linux/20251008181027.662616-1-markus.probst@posteo.de/T/#t
> which added a rust written led driver for a microcontroller via i2c.
>
> As the reading and writing to the i2c client via the register!
> macro has not been implemented yet [1], the patch series will only
> contain the additional abstractions required.
>
> [1]
> https://lore.kernel.org/rust-for-linux/DDDS2V0V2NVJ.16ZKXCKUA1HUV@kernel.org/
>
> The following changes were made:
> * add basic Pin<Vec<T, A>> abstractions, that allow to initialize
> PinInit items with the gurantee that these will never be moved.
>
"gurantee" -> "guarantee"
> * add basic led classdev abstractions to register and unregister leds
>
>
> Markus Probst (2):
> rust: add basic Pin<Vec<T, A>> abstractions
> rust: leds: add basic led classdev abstractions
>
> rust/kernel/alloc.rs | 1 +
> rust/kernel/alloc/kvec.rs | 86 +++++++++++
> rust/kernel/led.rs | 296
> ++++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs |
> 1 + rust/kernel/prelude.rs | 2 +-
> 5 files changed, 385 insertions(+), 1 deletion(-)
> create mode 100644 rust/kernel/led.rs
>
prev parent reply other threads:[~2025-10-09 17:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-09 17:07 [PATCH 0/2] rust: leds: add led classdev abstractions Markus Probst
2025-10-09 17:07 ` [PATCH 1/2] rust: add basic Pin<Vec<T, A>> abstractions Markus Probst
2025-10-09 17:45 ` Onur Özkan
2025-10-09 17:07 ` [PATCH 2/2] rust: leds: add basic led classdev abstractions Markus Probst
2025-10-09 17:49 ` Onur Özkan
2025-10-10 18:36 ` Danilo Krummrich
2025-10-09 17:46 ` Onur Özkan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251009204632.16cfb175@nimda.home \
--to=work@onurozkan.dev \
--cc=Liam.Howlett@oracle.com \
--cc=a.hindborg@kernel.org \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=dakr@kernel.org \
--cc=gary@garyguo.net \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=lossin@kernel.org \
--cc=markus.probst@posteo.de \
--cc=ojeda@kernel.org \
--cc=pavel@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
--cc=urezki@gmail.com \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox