Skip to content

Commit

Permalink
drivers: misc: zte-sensor: Add AKM8963, accel mc3xxx, accel bm2xx
Browse files Browse the repository at this point in the history
Used in T792
  • Loading branch information
brinlyau committed Nov 24, 2015
1 parent 4d4ad87 commit 0f035de
Show file tree
Hide file tree
Showing 7 changed files with 7,976 additions and 5 deletions.
36 changes: 31 additions & 5 deletions drivers/misc/zte-sensor/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#
# TI's shared transport line discipline and the protocol
# drivers (BT, FM and GPS)
#
menu "ZTE sensors"
config ZTE_SENSORS_ACCEL_LIS3DH
tristate "accel lis3dh"
Expand All @@ -7,9 +11,31 @@ config ZTE_SENSORS_ACCEL_LIS3DH
If you say yes here, you just support st accel lis3dh

config ZTE_SENSORS_LIGHT_TAOS
tristate "taos light&proximity sensor tmd2771"
depends on I2C
default n
help
Say Y if you want to support tmd2771 light&proximity sensor
tristate "taos light&proximity sensor tmd2771"
depends on I2C
default n
help
Say Y if you want to support tmd2771 light&proximity sensor

config ZTE_SENSORS_COMPASS_AK8963
tristate "AK8963 compass support"
depends on I2C
help
If you say yes here you get support for Asahi Kasei's
orientation sensor AK8963.

config ZTE_SENSORS_ACCEL_MC3XXX
tristate "accel mc3xxx"
depends on I2C
select INPUT_POLLDEV
help
if you say yes here, you just support st accel mc3xxx

config ZTE_SENSORS_ACCEL_BMA2XX
tristate "accel bma2xx"
depends on I2C
select INPUT_POLLDEV
help
if you say yes here, you just support st accel bma2xx

endmenu
7 changes: 7 additions & 0 deletions drivers/misc/zte-sensor/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
#
# Makefile for TI's shared transport line discipline
# and its protocol drivers (BT, FM, GPS)
#
obj-$(CONFIG_ZTE_SENSORS_ACCEL_LIS3DH) += lis3dh_acc.o
obj-$(CONFIG_ZTE_SENSORS_LIGHT_TAOS) += taos.o
obj-$(CONFIG_ZTE_SENSORS_ACCEL_MC3XXX) += mc3xxx.o
obj-$(CONFIG_ZTE_SENSORS_ACCEL_BMA2XX) += bma2xx.o
obj-$(CONFIG_ZTE_SENSORS_COMPASS_AK8963) += akm8963.o
Loading

0 comments on commit 0f035de

Please sign in to comment.