Thread (26 messages) 26 messages, 4 authors, 2022-01-18

Re: [PATCH 2/7] clk: stm32mp1: The dev is always NULL, replace it with np

From: Marek Vasut <marex@denx.de>
Date: 2021-04-16 13:40:02
Also in: linux-clk

On 4/16/21 8:44 AM, gabriel.fernandez@foss.st.com wrote:
Hi Marek,
Hello Gabriel,
I have a patch-set in progress using $dev (convertion into module driver).

https://patchwork.kernel.org/project/linux-clk/list/?series=421767

Then rebase of your patch, [PATCH 4/7] clk: stm32mp1: Add parent_data to 
ETHRX clock, can be done easily.
I suspect the aforementioned patchset will have to be reworked, since 
the current approach to push SCMI onto every system and renumerate the 
clock has been rejected, because it caused DT ABI break and boot 
problems on many systems.

btw please don't top-post.
Best regards
Gabriel

On 4/8/21 8:57 PM, Marek Vasut wrote:
quoted
Instead of passing around $dev to all the registration functions, which
is always NULL, pass around struct device_node pointer $np. This way it
is possible to use of_clk_hw_register*() functions and/or register clock
with associated $np pointer.
[...]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help