Lines Matching +full:psci +full:- +full:0
4 * SPDX-License-Identifier: GPL-2.0+
12 #include <asm/psci.h>
22 unsigned int psci_ver = 0; in fdt_psci()
26 if (nodeoff < 0) { in fdt_psci()
31 /* add 'enable-method = "psci"' to each cpu node */ in fdt_psci()
33 tmp >= 0; in fdt_psci()
43 if (strcmp(prop->data, "cpu")) in fdt_psci()
51 fdt_setprop_string(fdt, tmp, "enable-method", "psci"); in fdt_psci()
54 nodeoff = fdt_path_offset(fdt, "/psci"); in fdt_psci()
55 if (nodeoff >= 0) in fdt_psci()
59 if (nodeoff < 0) in fdt_psci()
62 nodeoff = fdt_add_subnode(fdt, nodeoff, "psci"); in fdt_psci()
63 if (nodeoff < 0) in fdt_psci()
75 "compatible", "arm,psci-1.0"); in fdt_psci()
80 "compatible", "arm,psci-0.2"); in fdt_psci()
85 * The Secure firmware framework isn't able to support PSCI version 0.1. in fdt_psci()
89 "compatible", "arm,psci"); in fdt_psci()
117 return 0; in fdt_psci()