Lines Matching +full:have +full:- +full:pmic

1 // SPDX-License-Identifier: GPL-2.0-only
7 * Based on various non upstream patches to support the CHT Whiskey Cove PMIC:
8 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved.
17 #include <asm/intel-family.h>
21 * Some ACPI devices are hidden (status == 0x0) in recent BIOS-es because
25 * Some BIOS-es (temporarily) hide specific APCI devices to work around Windows
28 * Likewise sometimes some not-actually present devices are sometimes
37 * are re-used on different SoCs for completely different devices.
107 * but it is. In the 67000+ DMI decode dumps from linux-hardware.org
108 * only 116 have board_vendor set to "AMI Corporation" and of those 116
112 * was copy-pasted from the GPD win, so it has a disabled KIOX000A
135 * The GPD win/pocket have a PCI wifi card, but its DSDT has the SDIO
136 * mmc controller enabled and that has a child-device which _PS3
175 if (acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &path)) in acpi_device_override_status()
187 if (!adev->pnp.unique_id || in acpi_device_override_status()
188 strcmp(adev->pnp.unique_id, override_status_ids[i].uid)) in acpi_device_override_status()
202 * is put into D3 over a Modern Standby / suspend-to-idle cycle.
207 * and most OEM systems don't have it in their BIOS.
215 * StorageD3Enable. But for two reasons we have added it.
216 * 1) The BIOS on a number of Dell systems have ambiguity
253 * list. These are known to always be correct (and in case of the audio-codecs
256 * Note these boards typically do actually have I2C and serdev devices,
259 * drivers/platform/x86/x86-android-tablets.c kernel module.
270 * 1. Devices with only the skip / don't-skip AC and battery quirks,
274 /* ECS EF20EA, AXP288 PMIC but uses separate fuel-gauge */
281 /* Lenovo Ideapad Miix 320, AXP288 PMIC, separate fuel-gauge */
285 DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo MIIX 320-10ICR"),
291 * 2. Devices which also have the skip i2c/serdev quirks and which
292 * need the x86-android-tablets module to properly work.
296 /* Acer Iconia One 7 B1-750 */
320 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
341 DMI_MATCH(DMI_BOARD_NAME, "BYT-T FFD8"),
353 DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
395 DMI_MATCH(DMI_BIOS_VERSION, "ZY-8-BI-PX4S70VTR400-X423B-005-D"),
408 { "INT33F4", 0 }, /* X-Powers AXP288 PMIC */
409 { "INT33FD", 0 }, /* Intel Crystal Cove PMIC */
410 { "INT34D3", 0 }, /* Intel Whiskey Cove PMIC */
424 quirks = (unsigned long)dmi_id->driver_data; in acpi_quirk_skip_i2c_client_enumeration()
452 quirks = (unsigned long)dmi_id->driver_data; in acpi_quirk_skip_serdev_enumeration()
459 return -ENODEV; /* Create tty cdev instead of serdev */ in acpi_quirk_skip_serdev_enumeration()
478 quirks = (unsigned long)dmi_id->driver_data; in acpi_quirk_skip_gpio_event_handlers()
484 /* Lists of PMIC ACPI HIDs with an (often better) native charger driver */
489 { "INT33F4", -1 }, /* X-Powers AXP288 PMIC */
490 { "INT34D3", 3 }, /* Intel Cherrytrail Whiskey Cove PMIC */
501 quirks = (unsigned long)dmi_id->driver_data; in acpi_quirk_skip_acpi_ac_and_battery()
512 pr_info_once("found native %s PMIC, skipping ACPI AC and battery devices\n", in acpi_quirk_skip_acpi_ac_and_battery()
527 pr_notice("%s detected - disabling mwait for CPU C-states\n", in acpi_proc_quirk_set_no_mwait()
528 id->ident); in acpi_proc_quirk_set_no_mwait()
552 * should not use mwait for CPU-states. in acpi_proc_quirk_mwait_check()