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>
91 .name = "ocores-i2c",
101 .name = "tqmx86-wdt",
107 .name = "tqmx86-gpio",
180 struct device *dev = &pdev->dev; in tqmx86_probe()
201 return -EINVAL; in tqmx86_probe()
206 return -ENOMEM; in tqmx86_probe()
214 "Found %s - Board ID %d, PCB Revision %d, PLD Revision %d\n", in tqmx86_probe()
218 * The I2C_DETECT register is in the range assigned to the I2C driver in tqmx86_probe()
219 * later, so we don't extend TQMX86_IOSIZE. Use inb() for this one-off in tqmx86_probe()
231 return -EINVAL; in tqmx86_probe()
262 pdev = platform_device_alloc("tqmx86", -1); in tqmx86_create_platform_device()
264 return -ENOMEM; in tqmx86_create_platform_device()
277 DMI_MATCH(DMI_SYS_VENDOR, "TQ-Group"),
285 DMI_MATCH(DMI_SYS_VENDOR, "TQ-Systems"),
304 return -ENODEV; in tqmx86_init()