Lines Matching +full:i2c +full:- +full:ocores
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
12 #include <linux/i2c.h>
16 #include <linux/platform_data/i2c-ocores.h>
108 .name = "ocores-i2c",
118 .name = "tqmx86-wdt",
124 .name = "tqmx86-gpio",
224 return -EINVAL; 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()
263 * The I2C_DETECT register is in the range assigned to the I2C driver 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()