| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config DRIVERS_I2C_SX9324 |
| 4 |
bool |
| 5 |
default n |
| 6 |
depends on HAVE_ACPI_TABLES |
| 7 |
help |
| 8 |
Board has a Semtech SX9324 proximity sensor. |
| 9 |
|
| 10 |
config DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER |
| 11 |
bool |
| 12 |
default n |
| 13 |
depends on DRIVERS_I2C_SX9324 |
| 14 |
help |
| 15 |
Board may use the legacy sx932x linux driver. |
| 16 |
This option is mainly to ease migrating from the legacy driver to the |
| 17 |
Linux one and should be deleted once all variants finish migration. |
| 18 |
This driver never reached upstream Linux and is only available in |
| 19 |
ChromeOS kernel fork of 4.4 and 5.4. Linux later accepted a different |
| 20 |
implementation named SX9324 and has been available since 5.4. |
| 21 |
Ideally all variants should adopt the new driver; however, during the |
| 22 |
transition phase, coreboot must support both drivers. By selecting this |
| 23 |
option, coreboot's SX9324 driver will specify all properties to work with |
| 24 |
both Linux kernel drivers. |