Lines Matching +full:am654 +full:- +full:chipid
1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com
20 * 31-28 VARIANT Device variant
21 * 27-12 PARTNO Part number
22 * 11-1 MFG Indicates TI as manufacturer (0x17)
75 soc_dev_attr->family = k3_soc_ids[i].family_name; in k3_chipinfo_partno_to_names()
79 return -ENODEV; in k3_chipinfo_partno_to_names()
90 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "SR%s", in k3_chipinfo_variant_to_sr()
95 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "SR%x.0", in k3_chipinfo_variant_to_sr()
99 if (!soc_dev_attr->revision) in k3_chipinfo_variant_to_sr()
100 return -ENOMEM; in k3_chipinfo_variant_to_sr()
105 return -ENODEV; in k3_chipinfo_variant_to_sr()
110 struct device_node *node = pdev->dev.of_node; in k3_chipinfo_probe()
112 struct device *dev = &pdev->dev; in k3_chipinfo_probe()
134 return -ENODEV; in k3_chipinfo_probe()
145 return -ENOMEM; in k3_chipinfo_probe()
160 of_property_read_string(node, "model", &soc_dev_attr->machine); in k3_chipinfo_probe()
170 soc_dev_attr->family, in k3_chipinfo_probe()
171 soc_dev_attr->revision, jtag_id); in k3_chipinfo_probe()
176 kfree(soc_dev_attr->revision); in k3_chipinfo_probe()
183 { .compatible = "ti,am654-chipid", },
189 .name = "k3-chipinfo",