Merge tag 'hwmon-for-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck...
[linux-2.6-block.git] / drivers / hwmon / Kconfig
index 83945397b6eb1bac0880160bc2ef684bab8cca17..e14ae18a973b3c2024c6c1237b167cfbc1feeeca 100644 (file)
@@ -40,7 +40,7 @@ comment "Native drivers"
 
 config SENSORS_ABITUGURU
        tristate "Abit uGuru (rev 1 & 2)"
-       depends on (X86 && DMI) || COMPILE_TEST
+       depends on (X86 && DMI) || COMPILE_TEST && HAS_IOPORT
        help
          If you say yes here you get support for the sensor part of the first
          and second revision of the Abit uGuru chip. The voltage and frequency
@@ -55,7 +55,7 @@ config SENSORS_ABITUGURU
 
 config SENSORS_ABITUGURU3
        tristate "Abit uGuru (rev 3)"
-       depends on (X86 && DMI) || COMPILE_TEST
+       depends on (X86 && DMI) || COMPILE_TEST && HAS_IOPORT
        help
          If you say yes here you get support for the sensor part of the
          third revision of the Abit uGuru chip. Only reading the sensors
@@ -611,6 +611,7 @@ config SENSORS_SPARX5
 
 config SENSORS_F71805F
        tristate "Fintek F71805F/FG, F71806F/FG and F71872F/FG"
+       depends on HAS_IOPORT
        depends on !PPC
        help
          If you say yes here you get support for hardware monitoring
@@ -622,6 +623,7 @@ config SENSORS_F71805F
 
 config SENSORS_F71882FG
        tristate "Fintek F71882FG and compatibles"
+       depends on HAS_IOPORT
        depends on !PPC
        help
          If you say yes here you get support for hardware monitoring
@@ -854,6 +856,7 @@ config SENSORS_CORETEMP
 
 config SENSORS_IT87
        tristate "ITE IT87xx and compatibles"
+       depends on HAS_IOPORT
        depends on !PPC
        select HWMON_VID
        help
@@ -914,6 +917,16 @@ config SENSORS_LAN966X
          This driver can also be built as a module. If so, the module
          will be called lan966x-hwmon.
 
+config SENSORS_LENOVO_EC
+        tristate "Sensor reader for Lenovo ThinkStations"
+        depends on X86
+        help
+          If you say yes here you get support for LENOVO
+          EC Sensor data on newer ThinkStation systems
+
+          This driver can also be built as a module. If so, the module
+          will be called lenovo_ec_sensors.
+
 config SENSORS_LINEAGE
        tristate "Lineage Compact Power Line Power Entry Module"
        depends on I2C
@@ -1220,6 +1233,7 @@ config SENSORS_MAX6621
 config SENSORS_MAX6639
        tristate "Maxim MAX6639 sensor chip"
        depends on I2C
+       select REGMAP_I2C
        help
          If you say yes here you get support for the MAX6639
          sensor chips.
@@ -1561,6 +1575,7 @@ config SENSORS_LM95245
 
 config SENSORS_PC87360
        tristate "National Semiconductor PC87360 family"
+       depends on HAS_IOPORT
        depends on !PPC
        select HWMON_VID
        help
@@ -1575,6 +1590,7 @@ config SENSORS_PC87360
 
 config SENSORS_PC87427
        tristate "National Semiconductor PC87427"
+       depends on HAS_IOPORT
        depends on !PPC
        help
          If you say yes here you get access to the hardware monitoring
@@ -1606,6 +1622,7 @@ config SENSORS_NTC_THERMISTOR
 
 config SENSORS_NCT6683
        tristate "Nuvoton NCT6683D"
+       depends on HAS_IOPORT
        depends on !PPC
        help
          If you say yes here you get support for the hardware monitoring
@@ -1627,6 +1644,7 @@ config SENSORS_NCT6775_CORE
 
 config SENSORS_NCT6775
        tristate "Platform driver for Nuvoton NCT6775F and compatibles"
+       depends on HAS_IOPORT
        depends on !PPC
        depends on ACPI || ACPI=n
        select HWMON_VID
@@ -1778,7 +1796,7 @@ config SENSORS_PT5161L
 
 config SENSORS_PWM_FAN
        tristate "PWM fan"
-       depends on (PWM && OF) || COMPILE_TEST
+       depends on PWM || COMPILE_TEST
        depends on THERMAL || THERMAL=n
        help
          If you say yes here you get support for fans connected to PWM lines.
@@ -1883,7 +1901,7 @@ config SENSORS_SHTC1
 
 config SENSORS_SIS5595
        tristate "Silicon Integrated Systems Corp. SiS5595"
-       depends on PCI
+       depends on PCI && HAS_IOPORT
        help
          If you say yes here you get support for the integrated sensors in
          SiS5595 South Bridges.
@@ -1903,6 +1921,7 @@ config SENSORS_SY7636A
 
 config SENSORS_DME1737
        tristate "SMSC DME1737, SCH311x and compatibles"
+       depends on HAS_IOPORT
        depends on I2C && !PPC
        select HWMON_VID
        help
@@ -1959,6 +1978,7 @@ config SENSORS_EMC6W201
 
 config SENSORS_SMSC47M1
        tristate "SMSC LPC47M10x and compatibles"
+       depends on HAS_IOPORT
        depends on !PPC
        help
          If you say yes here you get support for the integrated fan
@@ -1993,6 +2013,7 @@ config SENSORS_SMSC47M192
 
 config SENSORS_SMSC47B397
        tristate "SMSC LPC47B397-NC"
+       depends on HAS_IOPORT
        depends on !PPC
        help
          If you say yes here you get support for the SMSC LPC47B397-NC
@@ -2007,6 +2028,7 @@ config SENSORS_SCH56XX_COMMON
 
 config SENSORS_SCH5627
        tristate "SMSC SCH5627"
+       depends on HAS_IOPORT
        depends on !PPC && WATCHDOG
        select SENSORS_SCH56XX_COMMON
        select WATCHDOG_CORE
@@ -2020,6 +2042,7 @@ config SENSORS_SCH5627
 
 config SENSORS_SCH5636
        tristate "SMSC SCH5636"
+       depends on HAS_IOPORT
        depends on !PPC && WATCHDOG
        select SENSORS_SCH56XX_COMMON
        select WATCHDOG_CORE
@@ -2272,7 +2295,7 @@ config SENSORS_VIA_CPUTEMP
 
 config SENSORS_VIA686A
        tristate "VIA686A"
-       depends on PCI
+       depends on PCI && HAS_IOPORT
        help
          If you say yes here you get support for the integrated sensors in
          Via 686A/B South Bridges.
@@ -2282,6 +2305,7 @@ config SENSORS_VIA686A
 
 config SENSORS_VT1211
        tristate "VIA VT1211"
+       depends on HAS_IOPORT
        depends on !PPC
        select HWMON_VID
        help
@@ -2293,7 +2317,7 @@ config SENSORS_VT1211
 
 config SENSORS_VT8231
        tristate "VIA VT8231"
-       depends on PCI
+       depends on PCI && HAS_IOPORT
        select HWMON_VID
        help
          If you say yes here then you get support for the integrated sensors
@@ -2401,6 +2425,7 @@ config SENSORS_W83L786NG
 
 config SENSORS_W83627HF
        tristate "Winbond W83627HF, W83627THF, W83637HF, W83687THF, W83697HF"
+       depends on HAS_IOPORT
        depends on !PPC
        select HWMON_VID
        help
@@ -2413,6 +2438,7 @@ config SENSORS_W83627HF
 
 config SENSORS_W83627EHF
        tristate "Winbond W83627EHF/EHG/DHG/UHG, W83667HG"
+       depends on HAS_IOPORT
        depends on !PPC
        select HWMON_VID
        help