| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* Author: Hans de Goede <[email protected]> */ |
| 3 |
|
| 4 |
#include <linux/dmi.h> |
| 5 |
#include <linux/platform_data/x86/int3472.h> |
| 6 |
|
| 7 |
static const struct int3472_discrete_quirks lenovo_miix_510_quirks = { |
| 8 |
.avdd_second_sensor = "i2c-OVTI2680:00", |
| 9 |
}; |
| 10 |
|
| 11 |
const struct dmi_system_id skl_int3472_discrete_quirks[] = { |
| 12 |
{ |
| 13 |
/* Lenovo Miix 510-12IKB */ |
| 14 |
.matches = { |
| 15 |
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), |
| 16 |
DMI_MATCH(DMI_PRODUCT_VERSION, "MIIX 510-12IKB"), |
| 17 |
}, |
| 18 |
.driver_data = (void *)&lenovo_miix_510_quirks, |
| 19 |
}, |
| 20 |
{ } |
| 21 |
}; |