Lines Matching +full:chip +full:- +full:scu

1 // SPDX-License-Identifier: GPL-2.0-or-later
57 np = dev->of_node; in rockchip_get_core_reset()
92 ret = -1; in pmu_set_power_domain()
122 return -ENXIO; in rockchip_boot_secondary()
128 return -ENXIO; in rockchip_boot_secondary()
159 * rockchip_smp_prepare_sram - populate necessary sram block
160 * Starting cores execute the code residing at the start of the on-chip sram
161 * after power-on. Therefore make sure, this sram region is reserved and
163 * core to the real startup code in ram into the sram-region.
164 * @node: mmio-sram device node
168 unsigned int trampoline_sz = &rockchip_secondary_trampoline_end - in rockchip_smp_prepare_sram()
185 return -EINVAL; in rockchip_smp_prepare_sram()
202 .name = "rockchip-pmu",
214 * This function is only called via smp_ops->smp_prepare_cpu(). in rockchip_smp_prepare_pmu()
216 * and has an "enable-method" property that selects the SMP in rockchip_smp_prepare_pmu()
226 pmu = syscon_regmap_lookup_by_compatible("rockchip,rk3066-pmu"); in rockchip_smp_prepare_pmu()
232 node = of_find_compatible_node(NULL, NULL, "rockchip,rk3066-pmu"); in rockchip_smp_prepare_pmu()
235 return -ENODEV; in rockchip_smp_prepare_pmu()
242 return -ENOMEM; in rockchip_smp_prepare_pmu()
263 node = of_find_compatible_node(NULL, NULL, "rockchip,rk3066-smp-sram"); in rockchip_smp_prepare_cpus()
287 /* enable the SCU power domain */ in rockchip_smp_prepare_cpus()
291 node = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); in rockchip_smp_prepare_cpus()
293 pr_err("%s: missing scu\n", __func__); in rockchip_smp_prepare_cpus()
299 pr_err("%s: could not map scu registers\n", __func__); in rockchip_smp_prepare_cpus()
306 * number of cores from the scu to verify this value when in rockchip_smp_prepare_cpus()
373 CPU_METHOD_OF_DECLARE(rk3036_smp, "rockchip,rk3036-smp", &rk3036_smp_ops);
374 CPU_METHOD_OF_DECLARE(rk3066_smp, "rockchip,rk3066-smp", &rockchip_smp_ops);