| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Intel Quark MFD PCI driver for I2C & GPIO |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright(c) 2014 Intel Corporation. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | - * under the terms and conditions of the GNU General Public License, |
|---|
| 8 | | - * version 2, as published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 11 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 12 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 13 | | - * more details. |
|---|
| 14 | 6 | * |
|---|
| 15 | 7 | * Intel Quark PCI device for I2C and GPIO controller sharing the same |
|---|
| 16 | 8 | * PCI function. This PCI driver will split the 2 devices into their |
|---|
| .. | .. |
|---|
| 74 | 66 | { |
|---|
| 75 | 67 | .matches = { |
|---|
| 76 | 68 | DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"), |
|---|
| 77 | | - DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG, |
|---|
| 78 | | - "6ES7647-0AA00-0YA2"), |
|---|
| 79 | | - }, |
|---|
| 80 | | - .driver_data = (void *)400000, |
|---|
| 81 | | - }, |
|---|
| 82 | | - { |
|---|
| 83 | | - .matches = { |
|---|
| 84 | | - DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"), |
|---|
| 85 | | - DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG, |
|---|
| 86 | | - "6ES7647-0AA00-1YA2"), |
|---|
| 87 | 69 | }, |
|---|
| 88 | 70 | .driver_data = (void *)400000, |
|---|
| 89 | 71 | }, |
|---|
| .. | .. |
|---|
| 234 | 216 | pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO; |
|---|
| 235 | 217 | pdata->properties->gpio_base = INTEL_QUARK_MFD_GPIO_BASE; |
|---|
| 236 | 218 | pdata->properties->irq[0] = pdev->irq; |
|---|
| 237 | | - pdata->properties->has_irq = true; |
|---|
| 238 | 219 | pdata->properties->irq_shared = true; |
|---|
| 239 | 220 | |
|---|
| 240 | 221 | cell->platform_data = pdata; |
|---|