Re: [PATCH V8 06/14] rust: Add bare minimal bindings for clk framework
From: Viresh Kumar
Date: Fri Feb 07 2025 - 05:43:29 EST
On 07-02-25, 14:54, Viresh Kumar wrote:
> On 07-02-25, 00:11, Danilo Krummrich wrote:
> > Guess this should be Opaque<bindings::clk>.
>
> So it should be this now ?
Also, I should be using ARef and AlwaysRefCounted along with that ? I
am not sure if I can use those with the clk API. Yes, it is refcounted
but there is no direct way of incrementing the refcount unlike other
frameworks. clk_get() accepts a dev pointer and a char pointer,
whereas clk_put() accepts the clk pointer itself.
--
viresh