Lines Matching +full:ls1028a +full:- +full:flexspi +full:- +full:clk
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Layerscape FlexSPI clock driver
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()
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()
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()
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",
104 MODULE_DESCRIPTION("FlexSPI clock driver for Layerscape SoCs");