input: sensors: no default y

For small system.

Change-Id: I41b897bbb6ad97022b175cc7db2f2535c790de16
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2019-09-05 21:51:21 +08:00
parent 92e18f08e3
commit b6c3d16103
6 changed files with 60 additions and 20 deletions

View File

@@ -346,7 +346,27 @@ CONFIG_TOUCHSCREEN_VTL_CT36X=y
CONFIG_ROCKCHIP_REMOTECTL=y
CONFIG_ROCKCHIP_REMOTECTL_PWM=y
CONFIG_SENSOR_DEVICE=y
CONFIG_GSENSOR_DEVICE=y
CONFIG_GS_MMA8452=y
CONFIG_MPU6880_ACC=y
CONFIG_MPU6500_ACC=y
CONFIG_GS_LIS3DH=y
CONFIG_GS_MMA7660=y
CONFIG_GS_MC3230=y
CONFIG_GS_LSM303D=y
CONFIG_LSM330_ACC=y
CONFIG_COMPASS_DEVICE=y
CONFIG_COMPASS_AK8975=y
CONFIG_COMPASS_AK8963=y
CONFIG_GYROSCOPE_DEVICE=y
CONFIG_GYRO_L3G4200D=y
CONFIG_GYRO_L3G20D=y
CONFIG_GYRO_EWTSA=y
CONFIG_GYRO_MPU6880=y
CONFIG_GYRO_LSM330=y
CONFIG_LIGHT_DEVICE=y
CONFIG_LS_CM3217=y
CONFIG_LS_CM3218=y
CONFIG_HALL_DEVICE=y
CONFIG_HS_MH248=y
CONFIG_INPUT_MISC=y

View File

@@ -391,10 +391,30 @@ CONFIG_TOUCHSCREEN_GT1X=y
CONFIG_ROCKCHIP_REMOTECTL=y
CONFIG_ROCKCHIP_REMOTECTL_PWM=y
CONFIG_SENSOR_DEVICE=y
CONFIG_GSENSOR_DEVICE=y
CONFIG_GS_MMA8452=y
CONFIG_MPU6880_ACC=y
CONFIG_MPU6500_ACC=y
CONFIG_GS_KXTJ9=y
CONFIG_GS_LIS3DH=y
CONFIG_GS_MMA7660=y
CONFIG_GS_MC3230=y
CONFIG_GS_LSM303D=y
CONFIG_LSM330_ACC=y
CONFIG_BMA2XX_ACC=y
CONFIG_COMPASS_DEVICE=y
CONFIG_COMPASS_AK8975=y
CONFIG_COMPASS_AK8963=y
CONFIG_GYROSCOPE_DEVICE=y
CONFIG_GYRO_L3G4200D=y
CONFIG_GYRO_L3G20D=y
CONFIG_GYRO_EWTSA=y
CONFIG_GYRO_MPU6500=y
CONFIG_GYRO_MPU6880=y
CONFIG_GYRO_LSM330=y
CONFIG_LIGHT_DEVICE=y
CONFIG_LS_CM3217=y
CONFIG_LS_CM3218=y
CONFIG_LS_STK3410=y
CONFIG_PROXIMITY_DEVICE=y
CONFIG_PS_STK3410=y

View File

@@ -5,7 +5,7 @@
menuconfig GSENSOR_DEVICE
tristate "g_sensor device support"
default y
default n
help
Enable this to be able to choose the drivers for controlling the
g_sensor on some platforms, for example on PDAs.
@@ -13,7 +13,7 @@ menuconfig GSENSOR_DEVICE
if GSENSOR_DEVICE
config GS_MMA8452
bool "gsensor mma8451/mma8452/mma8453/mma8653"
default y
default n
help
To have support for your specific gsesnor you will have to
select the proper drivers which depend on this option.
@@ -27,14 +27,14 @@ config STK8BAXX_ACC
config MPU6880_ACC
bool "Sensor mpu6880_acc"
default y
default n
help
To have support for your specific gsesnor you will have to
select the proper drivers which depend on this option.
config MPU6500_ACC
bool "Sensor mpu6500_acc"
default y
default n
help
To have support for your specific gsesnor you will have to
select the proper drivers which depend on this option.
@@ -53,14 +53,14 @@ config GS_KXTJ9
config GS_LIS3DH
bool "gsensor lis3dh"
default y
default n
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
default n
help
To have support for your specific gsesnor you will have to
select the proper drivers which depend on this option.
@@ -85,7 +85,7 @@ config GS_DMT10
config GS_LSM303D
bool "gsensor lsm303d"
default y
default n
help
To have support for your sepcific gsensor you will have to
select het proper drivers which depend on this option.
@@ -98,7 +98,7 @@ config GS_BMA023
config LSM330_ACC
bool "gsensor lsm330"
default y
default n
help
To have support for your specific gsesnor you will have to
select the proper drivers which depend on this option.

View File

@@ -5,7 +5,7 @@
menuconfig COMPASS_DEVICE
tristate "Magnetometer sensors"
default y
default n
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
@@ -18,7 +18,7 @@ if COMPASS_DEVICE
config COMPASS_AK8975
tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
depends on I2C
default y
default n
help
Say yes here to build support for Asahi Kasei AK8975 3-Axis
Magnetometer.
@@ -29,7 +29,7 @@ config COMPASS_AK8975
config COMPASS_AK8963
tristate "Asahi Kasei AK8963 3-Axis Magnetometer"
depends on I2C
default y
default n
help
Say yes here to build support for Asahi Kasei AK8963 3-Axis Magnetometer.

View File

@@ -5,13 +5,13 @@
menuconfig GYROSCOPE_DEVICE
bool "gyroscope device support"
default y
default n
if GYROSCOPE_DEVICE
config GYRO_L3G4200D
bool "gyroscope l3g4200d"
default y
default n
config GYRO_K3G
bool "gyroscope k3g"
@@ -19,11 +19,11 @@ config GYRO_K3G
config GYRO_L3G20D
bool "gyroscope l3g20d"
default y
default n
config GYRO_EWTSA
bool "gyroscope ewtsa"
default y
default n
config GYRO_MPU6500
bool "gyroscope mpu6500_gyro"
@@ -31,9 +31,9 @@ config GYRO_MPU6500
config GYRO_MPU6880
bool "gyroscope mpu6880_gyro"
default y
default n
config GYRO_LSM330
bool "gyroscope lsm330_gyro"
default y
default n
endif

View File

@@ -5,16 +5,16 @@
menuconfig LIGHT_DEVICE
bool "light sensor device support"
default y
default n
if LIGHT_DEVICE
config LS_CM3217
bool "light sensor cm3217"
default y
default n
config LS_CM3218
bool "light sensor cm3218"
default y
default n
config LS_CM3232
bool "light sensor cm3232"