Lines Matching +full:imx51 +full:- +full:src
1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/reset-controller.h>
61 return -EINVAL; in imx_src_reset_module()
74 return -ETIME; in imx_src_reset_module()
132 mask = 1 << (BP_SRC_A7RCR1_A7_CORE1_ENABLE + cpu - 1); in imx_enable_cpu()
137 mask = 1 << (BP_SRC_SCR_CORE1_ENABLE + cpu - 1); in imx_enable_cpu()
140 val |= 1 << (BP_SRC_SCR_CORE1_RST + cpu - 1); in imx_enable_cpu()
170 np = of_find_compatible_node(NULL, NULL, "fsl,imx51-src"); in imx_src_init()
193 np = of_find_compatible_node(NULL, NULL, "fsl,imx7d-src"); in imx7_src_init()
201 np = of_find_compatible_node(NULL, NULL, "fsl,imx7d-gpc"); in imx7_src_init()
211 { .compatible = "fsl,imx51-src" },
219 rcdev = devm_kzalloc(&pdev->dev, sizeof(*rcdev), GFP_KERNEL); in imx_src_probe()
221 return -ENOMEM; in imx_src_probe()
223 rcdev->ops = &imx_src_ops; in imx_src_probe()
224 rcdev->dev = &pdev->dev; in imx_src_probe()
225 rcdev->of_node = pdev->dev.of_node; in imx_src_probe()
226 rcdev->nr_resets = ARRAY_SIZE(sw_reset_bits); in imx_src_probe()
228 return devm_reset_controller_register(&pdev->dev, rcdev); in imx_src_probe()
233 .name = "imx-src",