Lines Matching +full:lgm +full:- +full:clk
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020-2022 MaxLinear, Inc.
8 #include <linux/clk-provider.h>
12 #include <dt-bindings/clock/intel,lgm-clk.h>
13 #include "clk-cgu.h"
121 * It's more efficient to provide an explicit table due to non-linear
225 * (network on chip peripheral clk) as critical clocks because
427 struct device *dev = &pdev->dev; in lgm_cgu_probe()
428 struct device_node *np = dev->of_node; in lgm_cgu_probe()
434 return -ENOMEM; in lgm_cgu_probe()
436 ctx->clk_data.num = CLK_NR_CLKS; in lgm_cgu_probe()
438 ctx->membase = syscon_node_to_regmap(np); in lgm_cgu_probe()
439 if (IS_ERR(ctx->membase)) { in lgm_cgu_probe()
440 dev_err(dev, "Failed to get clk CGU iomem\n"); in lgm_cgu_probe()
441 return PTR_ERR(ctx->membase); in lgm_cgu_probe()
445 ctx->np = np; in lgm_cgu_probe()
446 ctx->dev = dev; in lgm_cgu_probe()
464 &ctx->clk_data); in lgm_cgu_probe()
468 { .compatible = "intel,cgu-lgm" },
475 .name = "cgu-lgm",