sensor: enable sensors defconfig by default y

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