Skip to content

Commit e410c43

Browse files
andy-shevrafaeljw
authored andcommitted
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>
1 parent fa87050 commit e410c43

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

drivers/acpi/Kconfig

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -521,22 +521,6 @@ endif
521521

522522
source "drivers/acpi/pmic/Kconfig"
523523

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-
540524
endif # ACPI
541525

542526
config X86_PM_TIMER

drivers/acpi/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ obj-$(CONFIG_ACPI_EXTLOG) += acpi_extlog.o
110110
obj-$(CONFIG_ACPI_CONFIGFS) += acpi_configfs.o
111111

112112
obj-y += pmic/
113-
obj-$(CONFIG_TPS68470_PMIC_OPREGION) += pmic/tps68470_pmic.o
114113

115114
video-objs += acpi_video.o video_detect.o
116115
obj-y += dptf/

drivers/acpi/pmic/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,19 @@ config CHT_DC_TI_PMIC_OPREGION
4949
This config adds ACPI operation region support for Dollar Cove TI PMIC.
5050

5151
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.

drivers/acpi/pmic/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ obj-$(CONFIG_XPOWER_PMIC_OPREGION) += intel_pmic_xpower.o
77
obj-$(CONFIG_BXT_WC_PMIC_OPREGION) += intel_pmic_bxtwc.o
88
obj-$(CONFIG_CHT_WC_PMIC_OPREGION) += intel_pmic_chtwc.o
99
obj-$(CONFIG_CHT_DC_TI_PMIC_OPREGION) += intel_pmic_chtdc_ti.o
10+
obj-$(CONFIG_TPS68470_PMIC_OPREGION) += tps68470_pmic.o

0 commit comments

Comments
 (0)