Lines Matching +full:ao +full:- +full:secure
5 * SPDX-License-Identifier: GPL-2.0+
138 np = of_find_compatible_node(NULL, NULL, "amlogic,meson-gx-ao-secure"); in meson_gx_socinfo_init()
140 return -ENODEV; in meson_gx_socinfo_init()
145 return -ENODEV; in meson_gx_socinfo_init()
148 /* check if chip-id is available */ in meson_gx_socinfo_init()
149 if (!of_property_read_bool(np, "amlogic,has-chip-id")) { in meson_gx_socinfo_init()
151 return -ENODEV; in meson_gx_socinfo_init()
159 return -ENODEV; in meson_gx_socinfo_init()
168 return -EINVAL; in meson_gx_socinfo_init()
173 return -ENODEV; in meson_gx_socinfo_init()
175 soc_dev_attr->family = "Amlogic Meson"; in meson_gx_socinfo_init()
178 of_property_read_string(np, "model", &soc_dev_attr->machine); in meson_gx_socinfo_init()
181 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%x:%x - %x:%x", in meson_gx_socinfo_init()
186 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%s (%s)", in meson_gx_socinfo_init()
192 kfree(soc_dev_attr->revision); in meson_gx_socinfo_init()
193 kfree_const(soc_dev_attr->soc_id); in meson_gx_socinfo_init()
200 soc_dev_attr->soc_id, in meson_gx_socinfo_init()