clk: add stub clock driver
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 10 Feb 2025 16:27:25 +0000 (16:27 +0000)
committerCaleb Connolly <caleb.connolly@linaro.org>
Wed, 26 Feb 2025 13:16:40 +0000 (13:16 +0000)
commitd31a3bd08ed46c51cdc5f5f126f2a721c5425bfb
treec4100d109442e1c84d5d7c648a08718f93b2d0dc
parentdc0ee458f1afae4cb5c8a7b2c875bb24ffdf71ca
clk: add stub clock driver

Add a stub clock driver which can be used to bind clock controllers
which aren't required for the platform to boot, but which are needed for
U-Boot drivers to work.

In addition, add a NOP parent driver to allow for binding the parent
nodes of the clock.

Initially this driver supports a Qualcomm platform where the MMC driver
tries to fetch the RPM clock controller, which is not actually required
for the device to work.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk-stub.c [new file with mode: 0644]