sensor: enable sensors defconfig by default y
This commit is contained in:
@@ -6,6 +6,7 @@ comment "handle all sensors"
|
||||
|
||||
menuconfig SENSOR_DEVICE
|
||||
tristate "handle angle,accel,compass,gyroscope,lsensor psensor etc"
|
||||
default y
|
||||
|
||||
if SENSOR_DEVICE
|
||||
source "drivers/input/sensors/angle/Kconfig"
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
#
|
||||
|
||||
menuconfig GSENSOR_DEVICE
|
||||
bool "g_sensor device support"
|
||||
tristate "g_sensor device support"
|
||||
default y
|
||||
help
|
||||
Enable this to be able to choose the drivers for controlling the
|
||||
g_sensor on some platforms, for example on PDAs.
|
||||
@@ -11,6 +12,7 @@ menuconfig GSENSOR_DEVICE
|
||||
if GSENSOR_DEVICE
|
||||
config GS_MMA8452
|
||||
bool "gsensor mma8451/mma8452/mma8453/mma8653"
|
||||
default y
|
||||
help
|
||||
To have support for your specific gsesnor you will have to
|
||||
select the proper drivers which depend on this option.
|
||||
@@ -30,12 +32,14 @@ config GS_KXTJ9
|
||||
|
||||
config GS_LIS3DH
|
||||
bool "gsensor lis3dh"
|
||||
default y
|
||||
help
|
||||
To have support for your specific gsesnor you will have to
|
||||
select the proper drivers which depend on this option.
|
||||
|
||||
config GS_MMA7660
|
||||
bool "gsensor mma7660"
|
||||
default y
|
||||
help
|
||||
To have support for your specific gsesnor you will have to
|
||||
select the proper drivers which depend on this option.
|
||||
@@ -54,6 +58,7 @@ config GS_DMT10
|
||||
|
||||
config GS_LSM303D
|
||||
bool "gsensor lsm303d"
|
||||
default y
|
||||
help
|
||||
To have support for your sepcific gsensor you will have to
|
||||
select het proper drivers which depend on this option.
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
#
|
||||
|
||||
menuconfig COMPASS_DEVICE
|
||||
bool "Magnetometer sensors"
|
||||
tristate "Magnetometer sensors"
|
||||
default y
|
||||
help
|
||||
Say Y here, and a list of Magnetometer sensors drivers will be displayed.
|
||||
Everything that didn't fit into the other categories is here. This option
|
||||
@@ -16,6 +17,7 @@ if COMPASS_DEVICE
|
||||
config COMPASS_AK8975
|
||||
tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
|
||||
depends on I2C
|
||||
default y
|
||||
help
|
||||
Say yes here to build support for Asahi Kasei AK8975 3-Axis
|
||||
Magnetometer.
|
||||
@@ -26,6 +28,7 @@ config COMPASS_AK8975
|
||||
config COMPASS_AK8963
|
||||
tristate "Asahi Kasei AK8963 3-Axis Magnetometer"
|
||||
depends on I2C
|
||||
default y
|
||||
help
|
||||
Say yes here to build support for Asahi Kasei AK8963 3-Axis Magnetometer.
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
menuconfig GYROSCOPE_DEVICE
|
||||
bool "gyroscope device support"
|
||||
default n
|
||||
default y
|
||||
|
||||
if GYROSCOPE_DEVICE
|
||||
|
||||
config GYRO_L3G4200D
|
||||
bool "gyroscope l3g4200d"
|
||||
default n
|
||||
default y
|
||||
|
||||
config GYRO_K3G
|
||||
bool "gyroscope k3g"
|
||||
@@ -18,9 +18,9 @@ config GYRO_K3G
|
||||
|
||||
config GYRO_L3G20D
|
||||
bool "gyroscope l3g20d"
|
||||
default n
|
||||
default y
|
||||
|
||||
config GYRO_EWTSA
|
||||
bool "gyroscope ewtsa"
|
||||
default n
|
||||
default y
|
||||
endif
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
menuconfig HALL_DEVICE
|
||||
bool "hall sensor device support"
|
||||
default n
|
||||
default y
|
||||
|
||||
if HALL_DEVICE
|
||||
config HS_OCH165T
|
||||
bool "hall sensor och165t"
|
||||
default n
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
|
||||
menuconfig LIGHT_DEVICE
|
||||
bool "light sensor device support"
|
||||
default n
|
||||
default y
|
||||
|
||||
if LIGHT_DEVICE
|
||||
config LS_CM3217
|
||||
bool "light sensor cm3217"
|
||||
default n
|
||||
default y
|
||||
|
||||
config LS_CM3218
|
||||
bool "light sensor cm3218"
|
||||
default n
|
||||
default y
|
||||
|
||||
config LS_CM3232
|
||||
bool "light sensor cm3232"
|
||||
|
||||
Reference in New Issue
Block a user