Lines Matching +full:reg +full:- +full:names
1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
49 struct device *dev = &pdev->dev; in fsl_flexspi_clk_probe()
50 struct device_node *np = dev->of_node; in fsl_flexspi_clk_probe()
51 const char *clk_name = np->name; in fsl_flexspi_clk_probe()
54 void __iomem *reg; in fsl_flexspi_clk_probe() local
60 return -ENOENT; in fsl_flexspi_clk_probe()
64 return -ENOENT; in fsl_flexspi_clk_probe()
70 reg = devm_ioremap(dev, res->start, resource_size(res)); in fsl_flexspi_clk_probe()
71 if (!reg) in fsl_flexspi_clk_probe()
72 return -ENOMEM; in fsl_flexspi_clk_probe()
76 return -EINVAL; in fsl_flexspi_clk_probe()
78 of_property_read_string(np, "clock-output-names", &clk_name); in fsl_flexspi_clk_probe()
81 reg, 0, 5, 0, divs, NULL); in fsl_flexspi_clk_probe()
89 { .compatible = "fsl,ls1028a-flexspi-clk", .data = &ls1028a_flexspi_divs },
90 { .compatible = "fsl,lx2160a-flexspi-clk", .data = &lx2160a_flexspi_divs },
97 .name = "fsl-flexspi-clk",