Lines Matching +full:sun6i +full:- +full:a31 +full:- +full:cpuconfig
1 // SPDX-License-Identifier: GPL-2.0
7 * Maxime Ripard <maxime.ripard@free-electrons.com>
10 * Copyright (C) 2012-2013 Allwinner Ltd.
44 node = of_find_compatible_node(NULL, NULL, "allwinner,sun6i-a31-prcm"); in sun6i_smp_prepare_cpus()
46 pr_err("Missing A31 PRCM node in the device tree\n"); in sun6i_smp_prepare_cpus()
53 pr_err("Couldn't map A31 PRCM registers\n"); in sun6i_smp_prepare_cpus()
58 "allwinner,sun6i-a31-cpuconfig"); in sun6i_smp_prepare_cpus()
60 pr_err("Missing A31 CPU config node in the device tree\n"); in sun6i_smp_prepare_cpus()
67 pr_err("Couldn't map A31 CPU config registers\n"); in sun6i_smp_prepare_cpus()
78 return -EFAULT; in sun6i_smp_boot_secondary()
102 /* Clear CPU power-off gating */ in sun6i_smp_boot_secondary()
123 CPU_METHOD_OF_DECLARE(sun6i_a31_smp, "allwinner,sun6i-a31", &sun6i_smp_ops);
129 node = of_find_compatible_node(NULL, NULL, "allwinner,sun8i-a23-prcm"); in sun8i_smp_prepare_cpus()
143 "allwinner,sun8i-a23-cpuconfig"); in sun8i_smp_prepare_cpus()
162 return -EFAULT; in sun8i_smp_boot_secondary()
177 /* Clear CPU power-off gating */ in sun8i_smp_boot_secondary()
194 CPU_METHOD_OF_DECLARE(sun8i_a23_smp, "allwinner,sun8i-a23", &sun8i_smp_ops);