Lines Matching +full:exynos4210 +full:- +full:chipid
1 // SPDX-License-Identifier: GPL-2.0
6 * Exynos - CHIP ID support
16 #include <linux/soc/samsung/exynos-chipid.h>
24 { "EXYNOS4210", 0x43200000 }, /* EVT0 revision */
25 { "EXYNOS4210", 0x43210000 },
60 "samsung,exynos4210-chipid"); in exynos_chipid_early_init()
62 return -ENODEV; in exynos_chipid_early_init()
78 return -ENOMEM; in exynos_chipid_early_init()
80 soc_dev_attr->family = "Samsung Exynos"; in exynos_chipid_early_init()
83 of_property_read_string(root, "model", &soc_dev_attr->machine); in exynos_chipid_early_init()
86 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%x", revision); in exynos_chipid_early_init()
87 soc_dev_attr->soc_id = product_id_to_soc_id(product_id); in exynos_chipid_early_init()
88 if (!soc_dev_attr->soc_id) { in exynos_chipid_early_init()
90 ret = -ENODEV; in exynos_chipid_early_init()
103 soc_dev_attr->soc_id, product_id, revision); in exynos_chipid_early_init()
108 kfree(soc_dev_attr->revision); in exynos_chipid_early_init()