Thread (14 messages) 14 messages, 4 authors, 2024-09-05

Re: [PATCH 2/4] clk: ti: Improve clksel clock bit parsing for reg property

From: Stephen Boyd <sboyd@kernel.org>
Date: 2024-02-22 05:11:47
Also in: linux-clk, linux-omap

Quoting Tony Lindgren (2024-02-13 02:56:42)
Because of legacy reasons, the TI clksel composite clocks can have
overlapping reg properties, and use a custom ti,bit-shift property.

For the clksel clocks we can start using of the standard reg property
instead of the custom ti,bit-shift property.

To do this, let's add a ti_clk_get_legacy_bit_shift() helper, and make
ti_clk_get_reg_addr() populate the clock bit offset.

This makes it possible to update the devicetree files to use the reg
property one clock at a time.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
Acked-by: Stephen Boyd <sboyd@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help