sensor: enable sensors defconfig by default y
author郭毅 <gy@rock-chips.com>
Wed, 19 Mar 2014 09:33:58 +0000 (17:33 +0800)
committer郭毅 <gy@rock-chips.com>
Wed, 19 Mar 2014 09:35:36 +0000 (17:35 +0800)
drivers/input/sensors/Kconfig
drivers/input/sensors/accel/Kconfig
drivers/input/sensors/compass/Kconfig
drivers/input/sensors/gyro/Kconfig
drivers/input/sensors/hall/Kconfig
drivers/input/sensors/lsensor/Kconfig

index 5214ef52541395409246ddfb67b4975063900e17..c1314e5cd7764eb56a3fa76b66fba0c485057827 100755 (executable)
@@ -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"
index e48f942af840624e0126fe4a0e3573c057274bf5..eea2fc4939710a9de9acbe1c7cff3421dc040037 100755 (executable)
@@ -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.
index efb97620982086d8d3170ba66effcb1b96835525..70f78149f6ce8e8907a342d20610e205e221dc7f 100755 (executable)
@@ -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.
 
index a1a03a224854e5a64f29ca77ccecd54658362e14..43f28a0ece0209ff1dcef675b82802f2c6f907a2 100755 (executable)
@@ -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
index 6619e6ffcde8d729c82d99b1176b950070a90259..2cc02be76e344faa56a447a3fb6a88e4f189f7ca 100644 (file)
@@ -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
 
index 72cdbd0666b3db973525dcf7c553a4024edd4400..826bc27097cba2dcddde4a5f3cdfe615fa2feebe 100755 (executable)
@@ -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"