Lines Matching +full:revision +full:- +full:id
1 // SPDX-License-Identifier: GPL-2.0
19 struct revision { struct
24 static const struct revision revisions[] __initconst = { argument
51 const char *revision; in wpcm450_soc_init() local
59 gcr = syscon_regmap_lookup_by_compatible("nuvoton,wpcm450-gcr"); in wpcm450_soc_init()
67 pr_warn("Unknown chip ID in GCR.PDID: 0x%06x\n", PDID_CHIP(pdid)); in wpcm450_soc_init()
68 return -ENODEV; in wpcm450_soc_init()
71 revision = get_revision(PDID_REV(pdid)); in wpcm450_soc_init()
72 if (!revision) { in wpcm450_soc_init()
73 pr_warn("Unknown chip revision in GCR.PDID: 0x%02x\n", PDID_REV(pdid)); in wpcm450_soc_init()
74 return -ENODEV; in wpcm450_soc_init()
79 return -ENOMEM; in wpcm450_soc_init()
81 attr->family = "Nuvoton NPCM"; in wpcm450_soc_init()
82 attr->soc_id = "WPCM450"; in wpcm450_soc_init()
83 attr->revision = revision; in wpcm450_soc_init()