Re: [PATCH v7 02/14] clk: fixed-factor: add fwname-based constructor functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Théo Lebrun (2024-02-21 10:22:10)
> Add four functions to register clk_hw based on the fw_name field in
> clk_parent_data, ie the value in the DT property `clock-names`.
> 
> There are variants for devm or not and passing an accuracy or not
> passing one:
> 
>  - clk_hw_register_fixed_factor_fwname
>  - clk_hw_register_fixed_factor_with_accuracy_fwname
>  - devm_clk_hw_register_fixed_factor_fwname
>  - devm_clk_hw_register_fixed_factor_with_accuracy_fwname
> 
> The `struct clk_parent_data` init is extracted from
> __clk_hw_register_fixed_factor to each calling function. It is required
> to allow each function to pass whatever field they want, not only index.
> 
> Signed-off-by: Théo Lebrun <theo.lebrun@xxxxxxxxxxx>
> ---

Applied to clk-next

Hopefully these are all going to be used.





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux