Lines Matching +full:s900 +full:- +full:cmu
1 // SPDX-License-Identifier: GPL-2.0+
3 // OWL S900 SoC clock driver
6 // Author: David Liu <liuwei@actions-semi.com>
11 #include <linux/clk-provider.h>
14 #include "owl-common.h"
15 #include "owl-composite.h"
16 #include "owl-divider.h"
17 #include "owl-factor.h"
18 #include "owl-fixed-factor.h"
19 #include "owl-gate.h"
20 #include "owl-mux.h"
21 #include "owl-pll.h"
22 #include "owl-reset.h"
24 #include <dt-bindings/clock/actions,s900-cmu.h>
25 #include <dt-bindings/reset/actions,s900-reset.h>
769 reset = devm_kzalloc(&pdev->dev, sizeof(*reset), GFP_KERNEL); in s900_clk_probe()
771 return -ENOMEM; in s900_clk_probe()
773 reset->rcdev.of_node = pdev->dev.of_node; in s900_clk_probe()
774 reset->rcdev.ops = &owl_reset_ops; in s900_clk_probe()
775 reset->rcdev.nr_resets = desc->num_resets; in s900_clk_probe()
776 reset->reset_map = desc->resets; in s900_clk_probe()
777 reset->regmap = desc->regmap; in s900_clk_probe()
779 ret = devm_reset_controller_register(&pdev->dev, &reset->rcdev); in s900_clk_probe()
781 dev_err(&pdev->dev, "Failed to register reset controller\n"); in s900_clk_probe()
783 return owl_clk_probe(&pdev->dev, desc->hw_clks); in s900_clk_probe()
787 { .compatible = "actions,s900-cmu", },
794 .name = "s900-cmu",