Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI / PMIC: Move TPS68470 OpRegion driver to drivers/acpi/pmic/

It is revealed now that TPS68470 OpRegion driver has been added
in slightly different scope. Let's move it to the drivers/acpi/pmic/
folder for sake of the unification.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Andy Shevchenko and committed by
Rafael J. Wysocki
e410c43b fa870509

+17 -17
-16
drivers/acpi/Kconfig
··· 521 521 522 522 source "drivers/acpi/pmic/Kconfig" 523 523 524 - config TPS68470_PMIC_OPREGION 525 - bool "ACPI operation region support for TPS68470 PMIC" 526 - depends on MFD_TPS68470 527 - help 528 - This config adds ACPI operation region support for TI TPS68470 PMIC. 529 - TPS68470 device is an advanced power management unit that powers 530 - a Compact Camera Module (CCM), generates clocks for image sensors, 531 - drives a dual LED for flash and incorporates two LED drivers for 532 - general purpose indicators. 533 - This driver enables ACPI operation region support control voltage 534 - regulators and clocks. 535 - 536 - This option is a bool as it provides an ACPI operation 537 - region, which must be available before any of the devices 538 - using this, are probed. 539 - 540 524 endif # ACPI 541 525 542 526 config X86_PM_TIMER
-1
drivers/acpi/Makefile
··· 110 110 obj-$(CONFIG_ACPI_CONFIGFS) += acpi_configfs.o 111 111 112 112 obj-y += pmic/ 113 - obj-$(CONFIG_TPS68470_PMIC_OPREGION) += pmic/tps68470_pmic.o 114 113 115 114 video-objs += acpi_video.o video_detect.o 116 115 obj-y += dptf/
+16
drivers/acpi/pmic/Kconfig
··· 49 49 This config adds ACPI operation region support for Dollar Cove TI PMIC. 50 50 51 51 endif # PMIC_OPREGION 52 + 53 + config TPS68470_PMIC_OPREGION 54 + bool "ACPI operation region support for TPS68470 PMIC" 55 + depends on MFD_TPS68470 56 + help 57 + This config adds ACPI operation region support for TI TPS68470 PMIC. 58 + TPS68470 device is an advanced power management unit that powers 59 + a Compact Camera Module (CCM), generates clocks for image sensors, 60 + drives a dual LED for flash and incorporates two LED drivers for 61 + general purpose indicators. 62 + This driver enables ACPI operation region support control voltage 63 + regulators and clocks. 64 + 65 + This option is a bool as it provides an ACPI operation 66 + region, which must be available before any of the devices 67 + using this, are probed.
+1
drivers/acpi/pmic/Makefile
··· 7 7 obj-$(CONFIG_BXT_WC_PMIC_OPREGION) += intel_pmic_bxtwc.o 8 8 obj-$(CONFIG_CHT_WC_PMIC_OPREGION) += intel_pmic_chtwc.o 9 9 obj-$(CONFIG_CHT_DC_TI_PMIC_OPREGION) += intel_pmic_chtdc_ti.o 10 + obj-$(CONFIG_TPS68470_PMIC_OPREGION) += tps68470_pmic.o