Thread (42 messages) 42 messages, 4 authors, 2020-06-05

Re: [PATCH v3 04/25] clk: bcm: rpi: Allow the driver to be probed by DT

From: Nicolas Saenz Julienne <hidden>
Date: 2020-06-04 17:52:57
Also in: linux-clk, lkml

On Wed, 2020-05-27 at 17:45 +0200, Maxime Ripard wrote:
The current firmware clock driver for the RaspberryPi can only be probed by
manually registering an associated platform_device.

While this works fine for cpufreq where the device gets attached a clkdev
lookup, it would be tedious to maintain a table of all the devices using
one of the clocks exposed by the firmware.

Since the DT on the other hand is the perfect place to store those
associations, make the firmware clocks driver probe-able through the device
tree so that we can represent it as a node.

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org
Signed-off-by: Maxime Ripard <redacted>
---
Reviewed-by: Nicolas Saenz Julienne <redacted>

Regards,
Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help