clk: impd1: Look up clock-output-names
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Apr 2020 08:13:48 +0000 (10:13 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 5 May 2020 19:13:12 +0000 (12:13 -0700)
The IM-PD1 still need to pass the clock output names.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lkml.kernel.org/r/20200416081348.326833-1-linus.walleij@linaro.org
Fixes: 84655b762a27 ("clk: versatile: Add device tree probing for IM-PD1 clocks")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/versatile/clk-impd1.c

index b05da85..f9f4bab 100644 (file)
@@ -206,6 +206,7 @@ static int integrator_impd1_clk_spawn(struct device *dev,
                return -ENODEV;
        }
 
+       of_property_read_string(np, "clock-output-names", &name);
        parent_name = of_clk_get_parent_name(np, 0);
        clk = icst_clk_setup(NULL, desc, name, parent_name, map,
                             ICST_INTEGRATOR_IM_PD1);