[PATCH v5 04/27] clk: bcm: rpi: Allow the driver to be probed by DT

Stephen Boyd sboyd at kernel.org
Wed Jun 24 20:42:33 EDT 2020


Quoting Maxime Ripard (2020-06-15 01:40:44)
> 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 at baylibre.com>
> Cc: linux-clk at vger.kernel.org
> Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Reviewed-by: Stephen Boyd <sboyd at kernel.org>
> Tested-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list