i2c: add HAS_IOPORT dependencies
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. We thus need to add HAS_IOPORT as dependency for those drivers using them. Co-developed-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
parent
893fef0bc6
commit
47c21d2d52
@ -18,7 +18,7 @@ config I2C_CCGX_UCSI
|
|||||||
|
|
||||||
config I2C_ALI1535
|
config I2C_ALI1535
|
||||||
tristate "ALI 1535"
|
tristate "ALI 1535"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the SMB
|
If you say yes to this option, support will be included for the SMB
|
||||||
Host controller on Acer Labs Inc. (ALI) M1535 South Bridges. The SMB
|
Host controller on Acer Labs Inc. (ALI) M1535 South Bridges. The SMB
|
||||||
@ -30,7 +30,7 @@ config I2C_ALI1535
|
|||||||
|
|
||||||
config I2C_ALI1563
|
config I2C_ALI1563
|
||||||
tristate "ALI 1563"
|
tristate "ALI 1563"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the SMB
|
If you say yes to this option, support will be included for the SMB
|
||||||
Host controller on Acer Labs Inc. (ALI) M1563 South Bridges. The SMB
|
Host controller on Acer Labs Inc. (ALI) M1563 South Bridges. The SMB
|
||||||
@ -42,7 +42,7 @@ config I2C_ALI1563
|
|||||||
|
|
||||||
config I2C_ALI15X3
|
config I2C_ALI15X3
|
||||||
tristate "ALI 15x3"
|
tristate "ALI 15x3"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the
|
If you say yes to this option, support will be included for the
|
||||||
Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces.
|
Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces.
|
||||||
@ -52,7 +52,7 @@ config I2C_ALI15X3
|
|||||||
|
|
||||||
config I2C_AMD756
|
config I2C_AMD756
|
||||||
tristate "AMD 756/766/768/8111 and nVidia nForce"
|
tristate "AMD 756/766/768/8111 and nVidia nForce"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the AMD
|
If you say yes to this option, support will be included for the AMD
|
||||||
756/766/768 mainboard I2C interfaces. The driver also includes
|
756/766/768 mainboard I2C interfaces. The driver also includes
|
||||||
@ -77,7 +77,7 @@ config I2C_AMD756_S4882
|
|||||||
|
|
||||||
config I2C_AMD8111
|
config I2C_AMD8111
|
||||||
tristate "AMD 8111"
|
tristate "AMD 8111"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the
|
If you say yes to this option, support will be included for the
|
||||||
second (SMBus 2.0) AMD 8111 mainboard I2C interface.
|
second (SMBus 2.0) AMD 8111 mainboard I2C interface.
|
||||||
@ -107,7 +107,7 @@ config I2C_HIX5HD2
|
|||||||
|
|
||||||
config I2C_I801
|
config I2C_I801
|
||||||
tristate "Intel 82801 (ICH/PCH)"
|
tristate "Intel 82801 (ICH/PCH)"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
select P2SB if X86
|
select P2SB if X86
|
||||||
select CHECK_SIGNATURE if X86 && DMI
|
select CHECK_SIGNATURE if X86 && DMI
|
||||||
select I2C_SMBUS
|
select I2C_SMBUS
|
||||||
@ -165,7 +165,7 @@ config I2C_I801
|
|||||||
|
|
||||||
config I2C_ISCH
|
config I2C_ISCH
|
||||||
tristate "Intel SCH SMBus 1.0"
|
tristate "Intel SCH SMBus 1.0"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
select LPC_SCH
|
select LPC_SCH
|
||||||
help
|
help
|
||||||
Say Y here if you want to use SMBus controller on the Intel SCH
|
Say Y here if you want to use SMBus controller on the Intel SCH
|
||||||
@ -186,7 +186,7 @@ config I2C_ISMT
|
|||||||
|
|
||||||
config I2C_PIIX4
|
config I2C_PIIX4
|
||||||
tristate "Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)"
|
tristate "Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the Intel
|
If you say yes to this option, support will be included for the Intel
|
||||||
PIIX4 family of mainboard I2C interfaces. Specifically, the following
|
PIIX4 family of mainboard I2C interfaces. Specifically, the following
|
||||||
@ -232,7 +232,7 @@ config I2C_CHT_WC
|
|||||||
|
|
||||||
config I2C_NFORCE2
|
config I2C_NFORCE2
|
||||||
tristate "Nvidia nForce2, nForce3 and nForce4"
|
tristate "Nvidia nForce2, nForce3 and nForce4"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the Nvidia
|
If you say yes to this option, support will be included for the Nvidia
|
||||||
nForce2, nForce3 and nForce4 families of mainboard I2C interfaces.
|
nForce2, nForce3 and nForce4 families of mainboard I2C interfaces.
|
||||||
@ -265,7 +265,7 @@ config I2C_NVIDIA_GPU
|
|||||||
|
|
||||||
config I2C_SIS5595
|
config I2C_SIS5595
|
||||||
tristate "SiS 5595"
|
tristate "SiS 5595"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the
|
If you say yes to this option, support will be included for the
|
||||||
SiS5595 SMBus (a subset of I2C) interface.
|
SiS5595 SMBus (a subset of I2C) interface.
|
||||||
@ -275,7 +275,7 @@ config I2C_SIS5595
|
|||||||
|
|
||||||
config I2C_SIS630
|
config I2C_SIS630
|
||||||
tristate "SiS 630/730/964"
|
tristate "SiS 630/730/964"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the
|
If you say yes to this option, support will be included for the
|
||||||
SiS630, SiS730 and SiS964 SMBus (a subset of I2C) interface.
|
SiS630, SiS730 and SiS964 SMBus (a subset of I2C) interface.
|
||||||
@ -285,7 +285,7 @@ config I2C_SIS630
|
|||||||
|
|
||||||
config I2C_SIS96X
|
config I2C_SIS96X
|
||||||
tristate "SiS 96x"
|
tristate "SiS 96x"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the SiS
|
If you say yes to this option, support will be included for the SiS
|
||||||
96x SMBus (a subset of I2C) interfaces. Specifically, the following
|
96x SMBus (a subset of I2C) interfaces. Specifically, the following
|
||||||
@ -303,7 +303,7 @@ config I2C_SIS96X
|
|||||||
|
|
||||||
config I2C_VIA
|
config I2C_VIA
|
||||||
tristate "VIA VT82C586B"
|
tristate "VIA VT82C586B"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
select I2C_ALGOBIT
|
select I2C_ALGOBIT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the VIA
|
If you say yes to this option, support will be included for the VIA
|
||||||
@ -314,7 +314,7 @@ config I2C_VIA
|
|||||||
|
|
||||||
config I2C_VIAPRO
|
config I2C_VIAPRO
|
||||||
tristate "VIA VT82C596/82C686/82xx and CX700/VX8xx/VX900"
|
tristate "VIA VT82C596/82C686/82xx and CX700/VX8xx/VX900"
|
||||||
depends on PCI
|
depends on PCI && HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the VIA
|
If you say yes to this option, support will be included for the VIA
|
||||||
VT82C596 and later SMBus interface. Specifically, the following
|
VT82C596 and later SMBus interface. Specifically, the following
|
||||||
@ -885,6 +885,7 @@ config I2C_NPCM
|
|||||||
|
|
||||||
config I2C_OCORES
|
config I2C_OCORES
|
||||||
tristate "OpenCores I2C Controller"
|
tristate "OpenCores I2C Controller"
|
||||||
|
depends on HAS_IOPORT
|
||||||
help
|
help
|
||||||
If you say yes to this option, support will be included for the
|
If you say yes to this option, support will be included for the
|
||||||
OpenCores I2C controller. For details see
|
OpenCores I2C controller. For details see
|
||||||
@ -1397,6 +1398,7 @@ config I2C_ICY
|
|||||||
config I2C_MLXCPLD
|
config I2C_MLXCPLD
|
||||||
tristate "Mellanox I2C driver"
|
tristate "Mellanox I2C driver"
|
||||||
depends on X86_64 || (ARM64 && ACPI) || COMPILE_TEST
|
depends on X86_64 || (ARM64 && ACPI) || COMPILE_TEST
|
||||||
|
depends on HAS_IOPORT
|
||||||
help
|
help
|
||||||
This exposes the Mellanox platform I2C busses to the linux I2C layer
|
This exposes the Mellanox platform I2C busses to the linux I2C layer
|
||||||
for X86 and ARM64/ACPI based systems.
|
for X86 and ARM64/ACPI based systems.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user