[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aFSw44++s7xMkJ9I@x1>
Date: Thu, 19 Jun 2025 17:52:51 -0700
From: Drew Fustini <fustini@...nel.org>
To: Michal Wilczynski <m.wilczynski@...sung.com>
Cc: Uwe Kleine-König <ukleinek@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, Drew Fustini <drew@...7.com>,
Guo Ren <guoren@...nel.org>, Fu Wei <wefu@...hat.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Benno Lossin <lossin@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, linux-kernel@...r.kernel.org,
linux-pwm@...r.kernel.org, rust-for-linux@...r.kernel.org,
linux-riscv@...ts.infradead.org, devicetree@...r.kernel.org,
linux-clk@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH v4 0/9] Rust Abstractions for PWM subsystem with TH1520
PWM driver
On Wed, Jun 18, 2025 at 02:27:33PM +0200, Michal Wilczynski wrote:
> This patch series introduces Rust support for the T-HEAD TH1520 PWM
> controller and demonstrates its use for fan control on the Sipeed Lichee
> Pi 4A board.
[snip]
> [2] - https://github.com/mwilczy/linux/commits/rust-next-pwm-working-fan-for-sending-v8/
I checked out your branch and get a compiler error about missing pwm.c:
$ make W=1 LLVM=1 ARCH=riscv
CALL scripts/checksyscalls.sh
BINDGEN rust/bindings/bindings_helpers_generated.rs
rust/helpers/helpers.c:34:10: fatal error: 'pwm.c' file not found
Unable to generate bindings: clang diagnosed error: rust/helpers/helpers.c:34:10: fatal error: 'pwm.c' file not found
make[2]: *** [rust/Makefile:371: rust/bindings/bindings_helpers_generated.rs] Error 1
make[2]: *** Deleting file 'rust/bindings/bindings_helpers_generated.rs'
make[1]: *** [/home/pdp7/linux/Makefile:1280: prepare] Error 2
make: *** [Makefile:248: __sub-make] Error 2
Did I do something wrong?
My kernel config:
ihttps://gist.github.com/pdp7/8f5b4324a43119f39d4c40158bf3325e
Thanks,
Drew
Powered by blists - more mailing lists