Lines Matching +full:meson +full:- +full:gx +full:- +full:ao +full:- +full:secure
5 * SPDX-License-Identifier: GPL-2.0+
139 np = of_find_compatible_node(NULL, NULL, "amlogic,meson-gx-ao-secure"); in meson_gx_socinfo_init()
141 return -ENODEV; in meson_gx_socinfo_init()
146 return -ENODEV; in meson_gx_socinfo_init()
149 /* check if chip-id is available */ in meson_gx_socinfo_init()
150 if (!of_property_read_bool(np, "amlogic,has-chip-id")) { in meson_gx_socinfo_init()
152 return -ENODEV; in meson_gx_socinfo_init()
160 return -ENODEV; in meson_gx_socinfo_init()
169 return -EINVAL; in meson_gx_socinfo_init()
174 return -ENODEV; in meson_gx_socinfo_init()
176 soc_dev_attr->family = "Amlogic Meson"; in meson_gx_socinfo_init()
177 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%x:%x - %x:%x", in meson_gx_socinfo_init()
182 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%s (%s)", in meson_gx_socinfo_init()
188 kfree(soc_dev_attr->revision); in meson_gx_socinfo_init()
189 kfree_const(soc_dev_attr->soc_id); in meson_gx_socinfo_init()
195 dev_info(dev, "Amlogic Meson %s Revision %x:%x (%x:%x) Detected\n", in meson_gx_socinfo_init()
196 soc_dev_attr->soc_id, in meson_gx_socinfo_init()