···12991299 depends on PCI && IOSF_MBI && PM13001300 help13011301 Power-management driver for Intel's Image Signal Processor found on13021302- Bay and Cherry Trail devices. This dummy driver's sole purpose is to13031303- turn the ISP off (put it in D3) to save power and to allow entering13041304- of S0ix modes.13021302+ Bay Trail and Cherry Trail devices. This dummy driver's sole purpose13031303+ is to turn the ISP off (put it in D3) to save power and to allow13041304+ entering of S0ix modes.1305130513061306 To compile this driver as a module, choose M here: the module13071307 will be called intel_atomisp2_pm.
+5-6
drivers/platform/x86/intel_atomisp2_pm.c
···11// SPDX-License-Identifier: GPL-2.022/*33- * Dummy driver for Intel's Image Signal Processor found on Bay and Cherry44- * Trail devices. The sole purpose of this driver is to allow the ISP to55- * be put in D3.33+ * Dummy driver for Intel's Image Signal Processor found on Bay Trail44+ * and Cherry Trail devices. The sole purpose of this driver is to allow55+ * the ISP to be put in D3.66 *77 * Copyright (C) 2018 Hans de Goede <hdegoede@redhat.com>88 *···3636static int isp_set_power(struct pci_dev *dev, bool enable)3737{3838 unsigned long timeout;3939- u32 val = enable ? ISPSSPM0_IUNIT_POWER_ON :4040- ISPSSPM0_IUNIT_POWER_OFF;3939+ u32 val = enable ? ISPSSPM0_IUNIT_POWER_ON : ISPSSPM0_IUNIT_POWER_OFF;41404241 /* Write to ISPSSPM0 bit[1:0] to power on/off the IUNIT */4342 iosf_mbi_modify(BT_MBI_UNIT_PMC, MBI_REG_READ, ISPSSPM0,···44454546 /*4647 * There should be no IUNIT access while power-down is4747- * in progress HW sighting: 45678654848+ * in progress. HW sighting: 4567865.4849 * Wait up to 50 ms for the IUNIT to shut down.4950 * And we do the same for power on.5051 */