123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- # SPDX-License-Identifier: GPL-2.0-only
- #
- # Input cs40l26 drivers configuration
- #
- config INPUT_CS40L26_I2C
- tristate "Cirrus Logic CS40L26 Haptic Driver (I2C)"
- depends on I2C
- select REGMAP_I2C
- help
- Say Y here to enable support for CS40L26 boosted
- haptic amplifier with I2C control port.
- To complie the driver as a module choose M here: the
- module will be called input_cs40l26_i2c.
- config INPUT_CS40L26_SPI
- tristate "Cirrus Logic CS40L26 Haptic Driver (SPI)"
- depends on SPI_MASTER
- select REGMAP_SPI
- help
- Say Y here to enable support for CS40L26 boosted
- haptic amplifier with SPI control port.
- To compile the driver as a module choose M here: the
- module will be called input_cs40l26_spi.
- config CS40L26_SAMSUNG_FEATURE
- bool "Cirrus CS40L26 Haptic Driver for Samsung feature"
- depends on INPUT_CS40L26_I2C
- default n
- help
- Say Y to enable CS40L26_SAMSUNG_FEATURE
- codes featured with this comment
- aren't the original code from cirrus.
- To use samsung concept, please enable this.
- config CS40L26_SAMSUNG_USE_DVL
- bool "Cirrus CS40L26 Haptic Driver uses dvl bin"
- default n
- help
- Say Y to enable CS40L26_SAMSUNG_USE_DVL.
- is used for enabling dvl firmware load
- config CS40L26_SAMSUNG_USE_MAX_DATA_TX_SIZE
- bool "Cirrus CS40L26 driver uses max data transfer size"
- depends on CS40L26_SAMSUNG_FEATURE
- default n
- help
- Say Y to enable CS40L26_SAMSUNG_USE_MAX_DATA_TX_SIZE.
- Samsung feature uses only 32 byte transfer due to SLSI AP's
- I3C Regmap limitation. To use maximum data transfer size
- please enable it.
- config CS40L26_KUNIT_TEST
- tristate "KUnit test for cs40l26_test"
- depends on SEC_KUNIT
- depends on UML
- select REGMAP_IRQ
- select MFD_CORE
- help
- TODO: Describe config fully.
- This CONFIG is recommended to set to y.
|