Lines Matching +full:im +full:-
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Clock driver for the ARM Integrator/IM-PD1 board
4 * Copyright (C) 2012-2013 Linus Walleij
6 #include <linux/clk-provider.h>
16 #include "clk-icst.h"
23 * There are two VCO's on the IM-PD1
67 struct clk *clk = ERR_PTR(-EINVAL); in integrator_impd1_clk_spawn()
68 const char *name = np->name; in integrator_impd1_clk_spawn()
75 pr_err("no regmap for syscon IM-PD1 ICST clock parent\n"); in integrator_impd1_clk_spawn()
79 if (of_device_is_compatible(np, "arm,impd1-vco1")) { in integrator_impd1_clk_spawn()
81 } else if (of_device_is_compatible(np, "arm,impd1-vco2")) { in integrator_impd1_clk_spawn()
85 return -ENODEV; in integrator_impd1_clk_spawn()
88 of_property_read_string(np, "clock-output-names", &name); in integrator_impd1_clk_spawn()
96 dev_err(dev, "error setting up IM-PD1 ICST clock\n"); in integrator_impd1_clk_spawn()
105 struct device *dev = &pdev->dev; in integrator_impd1_clk_probe()
106 struct device_node *np = dev->of_node; in integrator_impd1_clk_probe()
122 { .compatible = "arm,im-pd1-syscon", },
129 .name = "impd1-clk",
137 MODULE_DESCRIPTION("Arm IM-PD1 module clock driver");