Loading arch/arm/configs/mdm9607-perf_defconfig +3 −0 Original line number Diff line number Diff line Loading @@ -217,6 +217,9 @@ CONFIG_INPUT_EVDEV=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=m CONFIG_BOSCH_DRIVER_LOG_FUNC=y CONFIG_SENSORS_SMI_ACC2X2=y CONFIG_SENSORS_SMI_ACC2X2_ENABLE_INT2=y CONFIG_SERIO_LIBPS2=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_MSM_HS=y Loading arch/arm/configs/mdm9607_defconfig +3 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,9 @@ CONFIG_INPUT_EVDEV=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=m CONFIG_BOSCH_DRIVER_LOG_FUNC=y CONFIG_SENSORS_SMI_ACC2X2=y CONFIG_SENSORS_SMI_ACC2X2_ENABLE_INT2=y CONFIG_SERIO_LIBPS2=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_MSM_HS=y Loading drivers/input/Kconfig +2 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,8 @@ source "drivers/input/touchscreen/Kconfig" source "drivers/input/misc/Kconfig" source "drivers/input/sensors/smi130/Kconfig" endif menu "Hardware I/O ports" Loading drivers/input/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -28,3 +28,4 @@ obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o obj-$(CONFIG_INPUT_KEYRESET) += keyreset.o obj-$(CONFIG_INPUT_KEYCOMBO) += keycombo.o obj-$(CONFIG_SENSORS_HALL) += hall_sensor.o obj-y += sensors/smi130/ drivers/input/sensors/smi130/smi130_acc.c +4 −4 Original line number Diff line number Diff line Loading @@ -154,7 +154,7 @@ #include "bs_log.h" #define DRIVER_VERSION "0.0.53.0" #define ACC_NAME "ACC" #define SMI_ACC2X2_ENABLE_INT1 1 #define SMI_ACC2X2_ENABLE_INT2 1 #define CONFIG_SMI_ACC_ENABLE_NEWDATA_INT 1 #define SENSOR_NAME "smi130_acc" Loading Loading @@ -6802,7 +6802,7 @@ static void smi130_acc_irq_work_func(struct work_struct *work) #endif smi130_acc_get_interruptstatus1(smi130_acc->smi130_acc_client, &status); PINFO("smi130_acc_irq_work_func, status = 0x%x\n", status); PDEBUG("smi130_acc_irq_work_func, status = 0x%x\n", status); #ifdef CONFIG_SIG_MOTION if (status & 0x04) { Loading Loading @@ -7480,8 +7480,8 @@ static struct i2c_driver smi130_acc_driver = { .name = SENSOR_NAME, .of_match_table = smi130_acc_of_match, }, //.suspend = smi130_acc_suspend, //.resume = smi130_acc_resume, .suspend = smi130_acc_suspend, .resume = smi130_acc_resume, .id_table = smi130_acc_id, .probe = smi130_acc_probe, .remove = smi130_acc_remove, Loading Loading
arch/arm/configs/mdm9607-perf_defconfig +3 −0 Original line number Diff line number Diff line Loading @@ -217,6 +217,9 @@ CONFIG_INPUT_EVDEV=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=m CONFIG_BOSCH_DRIVER_LOG_FUNC=y CONFIG_SENSORS_SMI_ACC2X2=y CONFIG_SENSORS_SMI_ACC2X2_ENABLE_INT2=y CONFIG_SERIO_LIBPS2=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_MSM_HS=y Loading
arch/arm/configs/mdm9607_defconfig +3 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,9 @@ CONFIG_INPUT_EVDEV=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=m CONFIG_BOSCH_DRIVER_LOG_FUNC=y CONFIG_SENSORS_SMI_ACC2X2=y CONFIG_SENSORS_SMI_ACC2X2_ENABLE_INT2=y CONFIG_SERIO_LIBPS2=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_MSM_HS=y Loading
drivers/input/Kconfig +2 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,8 @@ source "drivers/input/touchscreen/Kconfig" source "drivers/input/misc/Kconfig" source "drivers/input/sensors/smi130/Kconfig" endif menu "Hardware I/O ports" Loading
drivers/input/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -28,3 +28,4 @@ obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o obj-$(CONFIG_INPUT_KEYRESET) += keyreset.o obj-$(CONFIG_INPUT_KEYCOMBO) += keycombo.o obj-$(CONFIG_SENSORS_HALL) += hall_sensor.o obj-y += sensors/smi130/
drivers/input/sensors/smi130/smi130_acc.c +4 −4 Original line number Diff line number Diff line Loading @@ -154,7 +154,7 @@ #include "bs_log.h" #define DRIVER_VERSION "0.0.53.0" #define ACC_NAME "ACC" #define SMI_ACC2X2_ENABLE_INT1 1 #define SMI_ACC2X2_ENABLE_INT2 1 #define CONFIG_SMI_ACC_ENABLE_NEWDATA_INT 1 #define SENSOR_NAME "smi130_acc" Loading Loading @@ -6802,7 +6802,7 @@ static void smi130_acc_irq_work_func(struct work_struct *work) #endif smi130_acc_get_interruptstatus1(smi130_acc->smi130_acc_client, &status); PINFO("smi130_acc_irq_work_func, status = 0x%x\n", status); PDEBUG("smi130_acc_irq_work_func, status = 0x%x\n", status); #ifdef CONFIG_SIG_MOTION if (status & 0x04) { Loading Loading @@ -7480,8 +7480,8 @@ static struct i2c_driver smi130_acc_driver = { .name = SENSOR_NAME, .of_match_table = smi130_acc_of_match, }, //.suspend = smi130_acc_suspend, //.resume = smi130_acc_resume, .suspend = smi130_acc_suspend, .resume = smi130_acc_resume, .id_table = smi130_acc_id, .probe = smi130_acc_probe, .remove = smi130_acc_remove, Loading