[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eb451771c3d25ecd2eedb7c473c63f6d.sboyd@kernel.org>
Date: Thu, 17 Oct 2024 11:52:28 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Conor Dooley <conor+dt@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Michael Turquette <mturquette@...libre.com>, Rob Herring <robh@...nel.org>, Théo Lebrun <theo.lebrun@...tlin.com>
Cc: devicetree@...r.kernel.org, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, Vladimir Kondratiev <vladimir.kondratiev@...ileye.com>, Grégory Clement <gregory.clement@...tlin.com>, Thomas Petazzoni <thomas.petazzoni@...tlin.com>, Tawfik Bayouk <tawfik.bayouk@...ileye.com>, Théo Lebrun <theo.lebrun@...tlin.com>
Subject: Re: [PATCH v5 3/4] clk: divider: Introduce CLK_DIVIDER_EVEN_INTEGERS flag
Quoting Théo Lebrun (2024-10-07 06:49:18)
> Add CLK_DIVIDER_EVEN_INTEGERS flag to support divisor of 2, 4, 6, etc.
> The same divisor can be done using a table, which would be big and
> wasteful for a clock dividor of width 8 (256 entries).
>
> Require increasing flags size from u8 to u16 because
> CLK_DIVIDER_EVEN_INTEGERS is the eighth flag. u16 is used inside struct
> clk_divider; `unsigned long` is used for function arguments.
>
> Signed-off-by: Théo Lebrun <theo.lebrun@...tlin.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists