^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) menuconfig PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) bool "PMIC (Power Management Integrated Circuit) operation region support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Select this option to enable support for ACPI operation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) region of the PMIC chip. The operation region can be used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) to control power rails and sensor reading/writing on the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) PMIC chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) if PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) config BYTCRC_PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) bool "ACPI operation region support for Bay Trail Crystal Cove PMIC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) depends on INTEL_SOC_PMIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) This config adds ACPI operation region support for the Bay Trail
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) version of the Crystal Cove PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config CHTCRC_PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) bool "ACPI operation region support for Cherry Trail Crystal Cove PMIC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on INTEL_SOC_PMIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) This config adds ACPI operation region support for the Cherry Trail
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) version of the Crystal Cove PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) config XPOWER_PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) bool "ACPI operation region support for XPower AXP288 PMIC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) depends on MFD_AXP20X_I2C && IOSF_MBI=y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) This config adds ACPI operation region support for XPower AXP288 PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) config BXT_WC_PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) bool "ACPI operation region support for BXT WhiskeyCove PMIC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) depends on INTEL_SOC_PMIC_BXTWC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) This config adds ACPI operation region support for BXT WhiskeyCove PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config CHT_WC_PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) bool "ACPI operation region support for CHT Whiskey Cove PMIC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on INTEL_SOC_PMIC_CHTWC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) This config adds ACPI operation region support for CHT Whiskey Cove PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) config CHT_DC_TI_PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) bool "ACPI operation region support for Dollar Cove TI PMIC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) depends on INTEL_SOC_PMIC_CHTDC_TI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) This config adds ACPI operation region support for Dollar Cove TI PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) endif # PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) config TPS68470_PMIC_OPREGION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) bool "ACPI operation region support for TPS68470 PMIC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) depends on MFD_TPS68470
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) This config adds ACPI operation region support for TI TPS68470 PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) TPS68470 device is an advanced power management unit that powers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) a Compact Camera Module (CCM), generates clocks for image sensors,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) drives a dual LED for flash and incorporates two LED drivers for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) general purpose indicators.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) This driver enables ACPI operation region support control voltage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) regulators and clocks.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) This option is a bool as it provides an ACPI operation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) region, which must be available before any of the devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) using this, are probed.