Lines Matching +full:label +full:- +full:revision
1 // SPDX-License-Identifier: GPL-2.0+
3 * TQ-Systems PLD MFD core driver, based on vendor driver by
6 * Copyright (c) 2015 TQ-Systems GmbH
16 #include <linux/platform_data/i2c-ocores.h>
108 .name = "ocores-i2c",
118 .name = "tqmx86-wdt",
124 .name = "tqmx86-gpio",
203 static int tqmx86_setup_irq(struct device *dev, const char *label, u8 irq, in tqmx86_setup_irq() argument
223 dev_err(dev, "invalid %s IRQ (%d)\n", label, irq); in tqmx86_setup_irq()
224 return -EINVAL; in tqmx86_setup_irq()
234 dev_warn(dev, "%s interrupts not supported\n", label); in tqmx86_setup_irq()
235 return -EINVAL; in tqmx86_setup_irq()
244 struct device *dev = &pdev->dev; in tqmx86_probe()
251 return -ENOMEM; in tqmx86_probe()
259 "Found %s - Board ID %d, PCB Revision %d, PLD Revision %d\n", in tqmx86_probe()
264 * later, so we don't extend TQMX86_IOSIZE. Use inb() for this one-off in tqmx86_probe()
305 pdev = platform_device_alloc("tqmx86", -1); in tqmx86_create_platform_device()
307 return -ENOMEM; in tqmx86_create_platform_device()
320 DMI_MATCH(DMI_SYS_VENDOR, "TQ-Group"),
328 DMI_MATCH(DMI_SYS_VENDOR, "TQ-Systems"),
347 return -ENODEV; in tqmx86_init()