mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 05:20:25 +07:00
9ba04ebf82
The core st-nci module is useless without either the I2C or the SPI access module. So hide NFC_ST_NCI and select it automatically if either NFC_ST_NCI_I2C or NFC_ST_NCI_SPI is selected. This avoids presenting NFC_ST_NCI when neither NFC_ST_NCI_I2C nor NFC_ST_NCI_SPI can be selected. Cc: Jean Delvare <jdelvare@suse.de> Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
31 lines
961 B
Plaintext
31 lines
961 B
Plaintext
config NFC_ST_NCI
|
|
tristate
|
|
---help---
|
|
STMicroelectronics NFC NCI chips core driver. It implements the chipset
|
|
NCI logic and hooks into the NFC kernel APIs. Physical layers will
|
|
register against it.
|
|
|
|
config NFC_ST_NCI_I2C
|
|
tristate "STMicroelectronics ST NCI NFC driver (I2C)"
|
|
depends on NFC_NCI && I2C
|
|
select NFC_ST_NCI
|
|
---help---
|
|
This module adds support for an I2C interface to the
|
|
STMicroelectronics NFC NCI chips familly.
|
|
Select this if your platform is using the i2c bus.
|
|
|
|
If you choose to build a module, it'll be called st-nci_i2c.
|
|
Say N if unsure.
|
|
|
|
config NFC_ST_NCI_SPI
|
|
tristate "STMicroelectronics ST NCI NFC driver (SPI)"
|
|
depends on NFC_NCI && SPI
|
|
select NFC_ST_NCI
|
|
---help---
|
|
This module adds support for an SPI interface to the
|
|
STMicroelectronics NFC NCI chips familly.
|
|
Select this if your platform is using the spi bus.
|
|
|
|
If you choose to build a module, it'll be called st-nci_spi.
|
|
Say N if unsure.
|