d4551c189d
IIO Backend support =================== New approach from Nuno Sa to the problem of reuse of drivers with IIO devices that are actually the combination of a highspeed chip and an FPGA core handling the data capture and flows. It will hopefully also apply to some other split designs. The ad9467 and axi-adi drivers are converted over to this framework. New device support ================== adi,admfm2000 - New driver for this dual microwave down converter. ams,as73211 - Add support for as7331 UV sensor. richtek,rtq6056 - Add support for related parts RTQ6053 and RTQ6059 st,lsm6dsx - Add ASM330LHHXG1 accelerometer and gyro support (mainly IDs) ti,ads1298 - New driver for this medical ADC. Features ======== tests - Unit tests for the gain-time-scale helper library. bosch,bmi088 - I2C support. bosh,bmi160 - Add 10EC5280 ACPI ID. Used in a number of devices that won't get fixed. The ID is actually a PCI ID belonging to realtech. No response was received to earlier attempts to notify them of this. The manufacturers of some devices have replied to say they will not fix this incorrect ID. Add the ID and hope it isn't a problem. bosch,bmi323 - Add BOSC0200 ACPI ID. Note this is a duplicate of one in the bmc150 driver (it appears these parts share a windows driver). Both drivers perform an ID check that is safe on the other part before successfully probing. hid-sensors-als - Add color temperature and chromaticity support. Note this is a replacement for the series reverted in 6.8 that correctly handles all the potential channel combinations. honeywell,hsc030pa - Triggered buffer support (after driver cleanup). honeywell,mprls00025pa - Improved error handling. - New DT binding to allow use of part number triplet as provided in data sheet to specify equivalent of most of the binding more efficiently. - SPI support. memsic,mxc4005 - ACPI ID MDA6655 as seen in the Chuwi Minibook X 2023 ti,hdc3020 - Add threshold event support (after some driver cleanup) veml,vcnl4000 - Switch to high resolution proximity measurement. Cleanup ======= Various minor typo fixes and better use of defines etc. Treewide - Stop using ACPI_PTR(). The savings in space are small and not worth the complexity of __maybe_unused of ifdef guards. To avoid use in new IIO drivers based on copy and paste, clean it out. - cleanup.h based handling of iio_device_claim_direct_mode()/ iio_device_release_direct_mode() using scope_cond_guard(). In many drivers this is combined with other automated cleanup to give maximum simplifications. An initial set of drivers are converted over to this infrastructure. Tools - Use rewinddir() instead of seekdir() to return to start of file. core - Make iio_bus_type constant. adi,ad16475 - Use irq_get_trigger_type() instead of opencoding. adi,ad16480 - Use irq_get_trigger_type() instead of opencoding. adi,ad-sigma-delta - Avoid overwriting IRQ flags if provided by firmware. ams,as73211 - Use IIO_VAL_FRACTIONAL for scales to simplify the code and potentially improve accuracy. gts-library - Use a div64_u64() instead of a loop to do a division. honeywell,mprls00025pa - Clean up dt-binding doc. - Drop defaults when DT binding not providing values. Very unlikely these were useful given they were wrong for vast majority of supported devices. - Whitespace cleanup miramems,da280 - Use i2c_get_match_data() to replace hand rolled ACPI matching code. semtech,sx9324 - Avoid unnecessary copying of property strings. st,lsm6dsx - Improve docs, particularly wrt to making addition of new device support less noisy. st,lsm9ds0 - Use dev_err_probe() in all probe() error handling. - Improved header includes. - Tidy up termination of ID tables. ti,ads1014 - Correct upper bound on PGA (wrong value had no actual impact) ti,afe4403/4404 - devm_ useage to simplify error handling in probe() and allow() remove to be dropped. voltage-divider - Add dt-binding for io-channel-cells to allow such a device to be both an IIO consumer and IIO producer at the same time. -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAmXXmXERHGppYzIzQGtl cm5lbC5vcmcACgkQVIU0mcT0Foj8Bg/+OZgU0FOEhUXidF58ulMBPTmWG4qBsCCK nB8MhimNn9XcoUDkZwns5ABgRKJvYVqK3VXaGj7HXRcpHzjOAHDCD1aS9EDdwHuo prH9Q5L7iVMhOjKcK3UwtzbUOAjrrmE4Oa74RH4oDLKV9ws6mb1VQfoOgpRNTsTK rA0A3B4W78U+UxLZPWIuYDUS/BgDfSfB024VFtUhMvo0B6G52u6hoDk04//hQuW8 IE0db4VxJLuRDYinBiTbtFtXWO8FNWd8r37MlQKx/llEKtjzI1ZttOK8DyQRudJ7 rLP3nO8svCcQ9oJn0YrnFL9y6PlW/ASUaXH47xBfAiCdKgHlQTf3kDyzwddCqQRD 3cqghbUbYp65Nm1o2TXYQio4zEInS/1ZMzpezb9K1+oiz/xGarjMCR+J4Za4cw76 5jCfnp8vBPDX7JdGwYgbK9nXkXAJ5ewdm7ad03t3oPwfAQPlXfAHIWDT8evNDVlc L94RSmKeMKL1BG3jOr7mJbqIwivf799pgudVJMuBfnlYR+gkBBVvFWhXrgvsJWhQ gKhqfEYCjtJ/t483zcJporvWBmmmf6gUvNOB4x6oA0j85GPGoDlTdfK54dkD+98k KP83Wd4LqDOM6V6PE+L7yTW05sOgT2qDHYrw/qAPoEogThSSCoqRm/kWwPBv3toL 0ykQId5/UBk= =xkgf -----END PGP SIGNATURE----- Merge tag 'iio-for-6.9a' of http://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next Jonathan writes: IIO: 1st set of new device support, features and cleanup for 6.9 IIO Backend support =================== New approach from Nuno Sa to the problem of reuse of drivers with IIO devices that are actually the combination of a highspeed chip and an FPGA core handling the data capture and flows. It will hopefully also apply to some other split designs. The ad9467 and axi-adi drivers are converted over to this framework. New device support ================== adi,admfm2000 - New driver for this dual microwave down converter. ams,as73211 - Add support for as7331 UV sensor. richtek,rtq6056 - Add support for related parts RTQ6053 and RTQ6059 st,lsm6dsx - Add ASM330LHHXG1 accelerometer and gyro support (mainly IDs) ti,ads1298 - New driver for this medical ADC. Features ======== tests - Unit tests for the gain-time-scale helper library. bosch,bmi088 - I2C support. bosh,bmi160 - Add 10EC5280 ACPI ID. Used in a number of devices that won't get fixed. The ID is actually a PCI ID belonging to realtech. No response was received to earlier attempts to notify them of this. The manufacturers of some devices have replied to say they will not fix this incorrect ID. Add the ID and hope it isn't a problem. bosch,bmi323 - Add BOSC0200 ACPI ID. Note this is a duplicate of one in the bmc150 driver (it appears these parts share a windows driver). Both drivers perform an ID check that is safe on the other part before successfully probing. hid-sensors-als - Add color temperature and chromaticity support. Note this is a replacement for the series reverted in 6.8 that correctly handles all the potential channel combinations. honeywell,hsc030pa - Triggered buffer support (after driver cleanup). honeywell,mprls00025pa - Improved error handling. - New DT binding to allow use of part number triplet as provided in data sheet to specify equivalent of most of the binding more efficiently. - SPI support. memsic,mxc4005 - ACPI ID MDA6655 as seen in the Chuwi Minibook X 2023 ti,hdc3020 - Add threshold event support (after some driver cleanup) veml,vcnl4000 - Switch to high resolution proximity measurement. Cleanup ======= Various minor typo fixes and better use of defines etc. Treewide - Stop using ACPI_PTR(). The savings in space are small and not worth the complexity of __maybe_unused of ifdef guards. To avoid use in new IIO drivers based on copy and paste, clean it out. - cleanup.h based handling of iio_device_claim_direct_mode()/ iio_device_release_direct_mode() using scope_cond_guard(). In many drivers this is combined with other automated cleanup to give maximum simplifications. An initial set of drivers are converted over to this infrastructure. Tools - Use rewinddir() instead of seekdir() to return to start of file. core - Make iio_bus_type constant. adi,ad16475 - Use irq_get_trigger_type() instead of opencoding. adi,ad16480 - Use irq_get_trigger_type() instead of opencoding. adi,ad-sigma-delta - Avoid overwriting IRQ flags if provided by firmware. ams,as73211 - Use IIO_VAL_FRACTIONAL for scales to simplify the code and potentially improve accuracy. gts-library - Use a div64_u64() instead of a loop to do a division. honeywell,mprls00025pa - Clean up dt-binding doc. - Drop defaults when DT binding not providing values. Very unlikely these were useful given they were wrong for vast majority of supported devices. - Whitespace cleanup miramems,da280 - Use i2c_get_match_data() to replace hand rolled ACPI matching code. semtech,sx9324 - Avoid unnecessary copying of property strings. st,lsm6dsx - Improve docs, particularly wrt to making addition of new device support less noisy. st,lsm9ds0 - Use dev_err_probe() in all probe() error handling. - Improved header includes. - Tidy up termination of ID tables. ti,ads1014 - Correct upper bound on PGA (wrong value had no actual impact) ti,afe4403/4404 - devm_ useage to simplify error handling in probe() and allow() remove to be dropped. voltage-divider - Add dt-binding for io-channel-cells to allow such a device to be both an IIO consumer and IIO producer at the same time. * tag 'iio-for-6.9a' of http://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (106 commits) iio: imu: bmi323: Add ACPI Match Table iio: accel: bmc150: Document duplicate ACPI entries with bmi323 driver iio: adc: ti-ads1298: Add driver dt-bindings: iio: adc: ti-ads1298: Add bindings iio: pressure: hsc030pa add triggered buffer iio: pressure: hsc030pa add mandatory delay iio: pressure: hsc030pa: update datasheet URLs iio: pressure: hsc030pa: include cleanup iio: pressure: hsc030pa: use signed type to hold div_64() result dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add spi props iio: st_sensors: lsm9ds0: Use common style for terminator in ID tables iio: st_sensors: lsm9ds0: Don't use "proxy" headers iio: st_sensors: lsm9ds0: Use dev_err_probe() everywhere iio: adc: adi-axi-adc: move to backend framework iio: adc: ad9467: convert to backend framework iio: add the IIO backend framework iio: buffer-dmaengine: export buffer alloc and free functions of: property: add device link support for io-backends dt-bindings: adc: axi-adc: update bindings for backend framework dt-bindings: adc: ad9467: add new io-backend property ...
661 lines
18 KiB
Plaintext
661 lines
18 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Accelerometer drivers
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Accelerometers"
|
|
|
|
config ADIS16201
|
|
tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
|
|
depends on SPI
|
|
select IIO_ADIS_LIB
|
|
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
|
|
help
|
|
Say Y here to build support for Analog Devices adis16201 dual-axis
|
|
digital inclinometer and accelerometer.
|
|
|
|
To compile this driver as a module, say M here: the module will
|
|
be called adis16201.
|
|
|
|
config ADIS16209
|
|
tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
|
|
depends on SPI
|
|
select IIO_ADIS_LIB
|
|
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
|
|
help
|
|
Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
|
|
and accelerometer.
|
|
|
|
To compile this driver as a module, say M here: the module will be
|
|
called adis16209.
|
|
|
|
config ADXL313
|
|
tristate
|
|
|
|
config ADXL313_I2C
|
|
tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver"
|
|
depends on I2C
|
|
select ADXL313
|
|
select REGMAP_I2C
|
|
help
|
|
Say Y here if you want to build i2c support for the Analog Devices
|
|
ADXL313 3-axis digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called adxl313_i2c and you will also get adxl313_core
|
|
for the core module.
|
|
|
|
config ADXL313_SPI
|
|
tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver"
|
|
depends on SPI
|
|
select ADXL313
|
|
select REGMAP_SPI
|
|
help
|
|
Say Y here if you want to build spi support for the Analog Devices
|
|
ADXL313 3-axis digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called adxl313_spi and you will also get adxl313_core
|
|
for the core module.
|
|
|
|
config ADXL345
|
|
tristate
|
|
|
|
config ADXL345_I2C
|
|
tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
|
|
depends on INPUT_ADXL34X=n
|
|
depends on I2C
|
|
select ADXL345
|
|
select REGMAP_I2C
|
|
help
|
|
Say Y here if you want to build support for the Analog Devices
|
|
ADXL345 or ADXL375 3-axis digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called adxl345_i2c and you will also get adxl345_core
|
|
for the core module.
|
|
|
|
config ADXL345_SPI
|
|
tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver"
|
|
depends on INPUT_ADXL34X=n
|
|
depends on SPI
|
|
select ADXL345
|
|
select REGMAP_SPI
|
|
help
|
|
Say Y here if you want to build support for the Analog Devices
|
|
ADXL345 or ADXL375 3-axis digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called adxl345_spi and you will also get adxl345_core
|
|
for the core module.
|
|
|
|
config ADXL355
|
|
tristate
|
|
|
|
config ADXL355_I2C
|
|
tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer I2C Driver"
|
|
depends on I2C
|
|
select ADXL355
|
|
select REGMAP_I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say Y here if you want to build i2c support for the Analog Devices
|
|
ADXL355 3-axis digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called adxl355_i2c and you will also get adxl355_core
|
|
for the core module.
|
|
|
|
config ADXL355_SPI
|
|
tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer SPI Driver"
|
|
depends on SPI
|
|
select ADXL355
|
|
select REGMAP_SPI
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say Y here if you want to build spi support for the Analog Devices
|
|
ADXL355 3-axis digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called adxl355_spi and you will also get adxl355_core
|
|
for the core module.
|
|
|
|
config ADXL367
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
config ADXL367_SPI
|
|
tristate "Analog Devices ADXL367 3-Axis Accelerometer SPI Driver"
|
|
depends on SPI
|
|
select ADXL367
|
|
select REGMAP_SPI
|
|
help
|
|
Say yes here to add support for the Analog Devices ADXL367 triaxial
|
|
acceleration sensor.
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called adxl367_spi.
|
|
|
|
config ADXL367_I2C
|
|
tristate "Analog Devices ADXL367 3-Axis Accelerometer I2C Driver"
|
|
depends on I2C
|
|
select ADXL367
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to add support for the Analog Devices ADXL367 triaxial
|
|
acceleration sensor.
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called adxl367_i2c.
|
|
|
|
config ADXL372
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
config ADXL372_SPI
|
|
tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver"
|
|
depends on SPI
|
|
select ADXL372
|
|
select REGMAP_SPI
|
|
help
|
|
Say yes here to add support for the Analog Devices ADXL372 triaxial
|
|
acceleration sensor.
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called adxl372_spi.
|
|
|
|
config ADXL372_I2C
|
|
tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver"
|
|
depends on I2C
|
|
select ADXL372
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to add support for the Analog Devices ADXL372 triaxial
|
|
acceleration sensor.
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called adxl372_i2c.
|
|
|
|
config BMA180
|
|
tristate "Bosch BMA023/BMA1x0/BMA250 3-Axis Accelerometer Driver"
|
|
depends on I2C && INPUT_BMA150=n
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say Y here if you want to build a driver for the Bosch BMA023, BMA150
|
|
BMA180, BMA250 or SMB380 triaxial acceleration sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called bma180.
|
|
|
|
config BMA220
|
|
tristate "Bosch BMA220 3-Axis Accelerometer Driver"
|
|
depends on SPI
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to add support for the Bosch BMA220 triaxial
|
|
acceleration sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called bma220_spi.
|
|
|
|
config BMA400
|
|
tristate "Bosch BMA400 3-Axis Accelerometer Driver"
|
|
select REGMAP
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select BMA400_I2C if I2C
|
|
select BMA400_SPI if SPI
|
|
help
|
|
Say Y here if you want to build a driver for the Bosch BMA400
|
|
triaxial acceleration sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called bma400_core and you will also get
|
|
bma400_i2c if I2C is enabled and bma400_spi if SPI is
|
|
enabled.
|
|
|
|
config BMA400_I2C
|
|
tristate
|
|
select REGMAP_I2C
|
|
depends on BMA400
|
|
|
|
config BMA400_SPI
|
|
tristate
|
|
select REGMAP_SPI
|
|
depends on BMA400
|
|
|
|
config BMC150_ACCEL
|
|
tristate "Bosch BMC150 Accelerometer Driver"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select REGMAP
|
|
select BMC150_ACCEL_I2C if I2C
|
|
select BMC150_ACCEL_SPI if SPI
|
|
help
|
|
Say yes here to build support for the following Bosch accelerometers:
|
|
BMA222, BMA222E, BMA250E, BMA253, BMA254, BMA255, BMA280, BMC150, BMC156
|
|
BMI055.
|
|
|
|
Note that some of these are combo modules:
|
|
- BMC150/BMC156: accelerometer and magnetometer
|
|
- BMI055: accelerometer and gyroscope
|
|
|
|
This driver is only implementing accelerometer part, which has
|
|
its own address and register map.
|
|
|
|
config BMC150_ACCEL_I2C
|
|
tristate
|
|
select REGMAP_I2C
|
|
|
|
config BMC150_ACCEL_SPI
|
|
tristate
|
|
select REGMAP_SPI
|
|
|
|
config BMI088_ACCEL
|
|
tristate "Bosch BMI088 Accelerometer Driver"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select REGMAP
|
|
select BMI088_ACCEL_SPI if SPI
|
|
select BMI088_ACCEL_I2C if I2C
|
|
help
|
|
Say yes here to build support for the following Bosch accelerometers:
|
|
BMI088, BMI085, BMI090L. Note that all of these are combo module that
|
|
include both accelerometer and gyroscope.
|
|
|
|
This driver only implements the accelerometer part, which has its own
|
|
address and register map. BMG160 provides the gyroscope driver.
|
|
|
|
config BMI088_ACCEL_I2C
|
|
tristate
|
|
select REGMAP_I2C
|
|
|
|
config BMI088_ACCEL_SPI
|
|
tristate
|
|
select REGMAP_SPI
|
|
|
|
config DA280
|
|
tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
|
|
digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called da280.
|
|
|
|
config DA311
|
|
tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
|
|
digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called da311.
|
|
|
|
config DMARD06
|
|
tristate "Domintech DMARD06 Digital Accelerometer Driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to build support for the Domintech low-g tri-axial
|
|
digital accelerometers: DMARD05, DMARD06, DMARD07.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called dmard06.
|
|
|
|
config DMARD09
|
|
tristate "Domintech DMARD09 3-axis Accelerometer Driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to get support for the Domintech DMARD09 3-axis
|
|
accelerometer.
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
will be called dmard09.
|
|
|
|
config DMARD10
|
|
tristate "Domintech DMARD10 3-axis Accelerometer Driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to get support for the Domintech DMARD10 3-axis
|
|
accelerometer.
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
will be called dmard10.
|
|
|
|
config FXLS8962AF
|
|
tristate
|
|
depends on I2C || !I2C # cannot be built-in for modular I2C
|
|
|
|
config FXLS8962AF_I2C
|
|
tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer I2C Driver"
|
|
depends on I2C
|
|
select FXLS8962AF
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to build support for the NXP 3-axis automotive
|
|
accelerometer FXLS8962AF/FXLS8964AF with I2C support.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called fxls8962af_i2c.
|
|
|
|
config FXLS8962AF_SPI
|
|
tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer SPI Driver"
|
|
depends on SPI
|
|
depends on I2C || !I2C
|
|
select FXLS8962AF
|
|
select REGMAP_SPI
|
|
help
|
|
Say yes here to build support for the NXP 3-axis automotive
|
|
accelerometer FXLS8962AF/FXLS8964AF with SPI support.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called fxls8962af_spi.
|
|
|
|
config HID_SENSOR_ACCEL_3D
|
|
depends on HID_SENSOR_HUB
|
|
select IIO_BUFFER
|
|
select HID_SENSOR_IIO_COMMON
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
tristate "HID Accelerometers 3D"
|
|
help
|
|
Say yes here to build support for the HID SENSOR
|
|
accelerometers 3D.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called hid-sensor-accel-3d.
|
|
|
|
config IIO_CROS_EC_ACCEL_LEGACY
|
|
tristate "ChromeOS EC Legacy Accelerometer Sensor"
|
|
depends on IIO_CROS_EC_SENSORS_CORE
|
|
help
|
|
Say yes here to get support for accelerometers on Chromebook using
|
|
legacy EC firmware.
|
|
Sensor data is retrieved through IO memory.
|
|
Newer devices should use IIO_CROS_EC_SENSORS.
|
|
|
|
config IIO_ST_ACCEL_3AXIS
|
|
tristate "STMicroelectronics accelerometers 3-Axis Driver"
|
|
depends on (I2C || SPI_MASTER) && SYSFS
|
|
depends on !SENSORS_LIS3_I2C
|
|
depends on !SENSORS_LIS3_SPI
|
|
select IIO_ST_SENSORS_CORE
|
|
select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
|
|
help
|
|
Say yes here to build support for STMicroelectronics accelerometers:
|
|
LSM303C, LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
|
|
LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
|
|
LNG2DM, LIS3DE, LIS2DE12, LIS2HH12
|
|
|
|
Also need to enable at least one of I2C and SPI interface drivers
|
|
below.
|
|
|
|
config IIO_ST_ACCEL_I2C_3AXIS
|
|
tristate "STMicroelectronics accelerometers 3-Axis I2C Interface"
|
|
depends on I2C && IIO_ST_ACCEL_3AXIS
|
|
default I2C && IIO_ST_ACCEL_3AXIS
|
|
select IIO_ST_SENSORS_I2C
|
|
help
|
|
Build support for STMicroelectronics accelerometers I2C interface.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called st_accel_i2c.
|
|
|
|
config IIO_ST_ACCEL_SPI_3AXIS
|
|
tristate "STMicroelectronics accelerometers 3-Axis SPI Interface"
|
|
depends on SPI_MASTER && IIO_ST_ACCEL_3AXIS
|
|
default SPI_MASTER && IIO_ST_ACCEL_3AXIS
|
|
select IIO_ST_SENSORS_SPI
|
|
help
|
|
Build support for STMicroelectronics accelerometers SPI interface.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called st_accel_spi.
|
|
|
|
config IIO_KX022A
|
|
tristate
|
|
|
|
config IIO_KX022A_SPI
|
|
tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"
|
|
depends on SPI
|
|
select IIO_KX022A
|
|
select REGMAP_SPI
|
|
help
|
|
Enable support for the Kionix digital tri-axis accelerometers
|
|
connected to SPI interface. Supported devices are:
|
|
KX022A, KX132-1211, KX132ACR-LBZ
|
|
|
|
config IIO_KX022A_I2C
|
|
tristate "Kionix KX022A tri-axis digital accelerometer I2C interface"
|
|
depends on I2C
|
|
select IIO_KX022A
|
|
select REGMAP_I2C
|
|
help
|
|
Enable support for the Kionix digital tri-axis accelerometers
|
|
connected to I2C interface. Supported devices are:
|
|
KX022A, KX132-1211, KX132ACR-LBZ
|
|
|
|
config KXSD9
|
|
tristate "Kionix KXSD9 Accelerometer Driver"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to build support for the Kionix KXSD9 accelerometer.
|
|
It can be accessed using an (optional) SPI or I2C interface.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called kxsd9.
|
|
|
|
config KXSD9_SPI
|
|
tristate "Kionix KXSD9 SPI transport"
|
|
depends on KXSD9
|
|
depends on SPI
|
|
default KXSD9
|
|
select REGMAP_SPI
|
|
help
|
|
Say yes here to enable the Kionix KXSD9 accelerometer
|
|
SPI transport channel.
|
|
|
|
config KXSD9_I2C
|
|
tristate "Kionix KXSD9 I2C transport"
|
|
depends on KXSD9
|
|
depends on I2C
|
|
default KXSD9
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to enable the Kionix KXSD9 accelerometer
|
|
I2C transport channel.
|
|
|
|
config KXCJK1013
|
|
tristate "Kionix 3-Axis Accelerometer Driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say Y here if you want to build a driver for the Kionix KXCJK-1013
|
|
triaxial acceleration sensor. This driver also supports KXCJ9-1008,
|
|
KXTJ2-1009 and KXTF9.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called kxcjk-1013.
|
|
|
|
config MC3230
|
|
tristate "mCube MC3230 Digital Accelerometer Driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to build support for the mCube MC3230 low-g tri-axial
|
|
digital accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called mc3230.
|
|
|
|
config MMA7455
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
config MMA7455_I2C
|
|
tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
|
|
depends on I2C
|
|
select MMA7455
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to build support for the Freescale MMA7455L and
|
|
MMA7456L 3-axis accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mma7455_i2c.
|
|
|
|
config MMA7455_SPI
|
|
tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
|
|
depends on SPI_MASTER
|
|
select MMA7455
|
|
select REGMAP_SPI
|
|
help
|
|
Say yes here to build support for the Freescale MMA7455L and
|
|
MMA7456L 3-axis accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mma7455_spi.
|
|
|
|
config MMA7660
|
|
tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to get support for the Freescale MMA7660FC 3-Axis
|
|
accelerometer.
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
will be called mma7660.
|
|
|
|
config MMA8452
|
|
tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to build support for the following Freescale / NXP 3-axis
|
|
accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
|
|
FXLS8471Q.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mma8452.
|
|
|
|
config MMA9551_CORE
|
|
tristate
|
|
|
|
config MMA9551
|
|
tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
|
|
depends on I2C
|
|
select MMA9551_CORE
|
|
|
|
help
|
|
Say yes here to build support for the Freescale MMA9551L
|
|
Intelligent Motion-Sensing Platform Driver.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mma9551.
|
|
|
|
config MMA9553
|
|
tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
|
|
depends on I2C
|
|
select MMA9551_CORE
|
|
help
|
|
Say yes here to build support for the Freescale MMA9553L
|
|
Intelligent Pedometer Platform Driver.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mma9553.
|
|
|
|
config MSA311
|
|
tristate "MEMSensing Digital 3-Axis Accelerometer Driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to build support for the MEMSensing MSA311
|
|
accelerometer driver.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called msa311.
|
|
|
|
config MXC4005
|
|
tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to build support for the Memsic MXC4005XC 3-axis
|
|
accelerometer.
|
|
|
|
To compile this driver as a module, choose M. The module will be
|
|
called mxc4005.
|
|
|
|
config MXC6255
|
|
tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
|
|
depends on I2C
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to build support for the Memsic MXC6255 Orientation
|
|
Sensing Accelerometer Driver.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called mxc6255.
|
|
|
|
config SCA3000
|
|
select IIO_BUFFER
|
|
select IIO_KFIFO_BUF
|
|
depends on SPI
|
|
tristate "VTI SCA3000 series accelerometers"
|
|
help
|
|
Say Y here to build support for the VTI SCA3000 series of SPI
|
|
accelerometers. These devices use a hardware ring buffer.
|
|
|
|
To compile this driver as a module, say M here: the module will be
|
|
called sca3000.
|
|
|
|
config SCA3300
|
|
tristate "Murata SCA3300 3-Axis Accelerometer Driver"
|
|
depends on SPI
|
|
select CRC8
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to build support for Murata SCA3300 3-Axis
|
|
accelerometer.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called sca3300.
|
|
|
|
config STK8312
|
|
tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to get support for the Sensortek STK8312 3-axis
|
|
accelerometer.
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
will be called stk8312.
|
|
|
|
config STK8BA50
|
|
tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to get support for the Sensortek STK8BA50 3-axis
|
|
accelerometer.
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
will be called stk8ba50.
|
|
|
|
endmenu
|