summaryrefslogtreecommitdiffstats
path: root/src/drivers/i2c/sx9324/Kconfig
blob: ac92585a02befbc273b389320e2d8e040d33e612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## SPDX-License-Identifier: GPL-2.0-only

config DRIVERS_I2C_SX9324
	bool
	default n
	depends on HAVE_ACPI_TABLES
	help
	  Board has a Semtech SX9324 proximity sensor.

config DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER
	bool
	default n
	depends on DRIVERS_I2C_SX9324
	help
	  Board may use the legacy sx932x linux driver.
	  This option is mainly to ease migrating from the legacy driver to the
	  Linux one and should be deleted once all variants finish migration.
	  This driver never reached upstream Linux and is only available in
	  ChromeOS kernel fork of 4.4 and 5.4. Linux later accepted a different
	  implementation named SX9324 and has been available since 5.4.
	  Ideally all variants should adopt the new driver; however, during the
	  transition phase, coreboot must support both drivers. By selecting this
	  option, coreboot's SX9324 driver will specify all properties to work with
	  both Linux kernel drivers.