[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <654a33c729af90d8d5bd70d320fa6f6f.sboyd@kernel.org>
Date: Wed, 21 Feb 2024 22:13:16 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Conor Dooley <conor+dt@...nel.org>, Gregory CLEMENT <gregory.clement@...tlin.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>, Linus Walleij <linus.walleij@...aro.org>, Michael Turquette <mturquette@...libre.com>, Philipp Zabel <p.zabel@...gutronix.de>, Rafał Miłecki <rafal@...ecki.pl>, Rob Herring <robh+dt@...nel.org>, Thomas Bogendoerfer <tsbogend@...ha.franken.de>, Théo Lebrun <theo.lebrun@...tlin.com>
Cc: Vladimir Kondratiev <vladimir.kondratiev@...ileye.com>, linux-mips@...r.kernel.org, linux-clk@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, Thomas Petazzoni <thomas.petazzoni@...tlin.com>, Tawfik Bayouk <tawfik.bayouk@...ileye.com>, linux-gpio@...r.kernel.org, Théo Lebrun <theo.lebrun@...tlin.com>
Subject: Re: [PATCH v7 02/14] clk: fixed-factor: add fwname-based constructor functions
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@...tlin.com>
> ---
Applied to clk-next
Hopefully these are all going to be used.
Powered by blists - more mailing lists