From 8109ef1f3e0c5dc8a552f5ec06e5cb9ff6e8ca88 Mon Sep 17 00:00:00 2001 From: sunxuejiao Date: Mon, 6 Dec 2021 16:51:35 +0800 Subject: [PATCH 1/2] feat:open sensor function Signed-off-by: sunxuejiao --- .../arm/configs/hi3516dv300_standard_defconfig | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig b/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig index c4a699b..d8fd91c 100755 --- a/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig +++ b/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig @@ -2670,10 +2670,19 @@ CONFIG_DRIVERS_HDF_WIFI=y CONFIG_DRIVERS_HI3881=y # CONFIG_DRIVERS_HDF_BT is not set CONFIG_DRIVERS_HDF_SENSOR=y -# CONFIG_DRIVERS_HDF_SENSOR_ACCEL is not set -# CONFIG_DRIVERS_HDF_SENSOR_GYRO is not set -CONFIG_DRIVERS_HDF_USB_F_GENERIC=y -CONFIG_DRIVERS_HDF_USB_PNP_NOTIFY=y +CONFIG_DRIVERS_HDF_SENSOR_ACCEL=y +CONFIG_DRIVERS_HDF_SENSOR_ACCEL_BMI160=y +CONFIG_DRIVERS_HDF_SENSOR_ALS=y +CONFIG_DRIVERS_HDF_SENSOR_ALS_BH1745=y +CONFIG_DRIVERS_HDF_SENSOR_GYRO=y +CONFIG_DRIVERS_HDF_SENSOR_GYRO_BMI160=y +CONFIG_DRIVERS_HDF_SENSOR_BAROMETER=y +CONFIG_DRIVERS_HDF_SENSOR_BAROMETER_BMP180=y +# CONFIG_DRIVERS_HDF_SENSOR_HALL is not set +CONFIG_DRIVERS_HDF_SENSOR_MAGNETIC=y +CONFIG_DRIVERS_HDF_SENSOR_MAGNETIC_LSM303=y +CONFIG_DRIVERS_HDF_SENSOR_PROXIMITY=y +CONFIG_DRIVERS_HDF_SENSOR_PROXIMITY_APDS9960=y CONFIG_DRIVERS_HDF_STORAGE=y CONFIG_DRIVERS_HDF_VIBRATOR=y CONFIG_DRIVERS_HDF_VIBRATOR_LINEAR=y -- Gitee From 5257021c8837308faff7a9fbf78d100dee9d7132 Mon Sep 17 00:00:00 2001 From: sunxuejiao Date: Mon, 6 Dec 2021 18:05:20 +0800 Subject: [PATCH 2/2] feat:open sensor function Signed-off-by: sunxuejiao --- linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig b/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig index d8fd91c..d970529 100755 --- a/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig +++ b/linux-5.10/arch/arm/configs/hi3516dv300_standard_defconfig @@ -2684,6 +2684,8 @@ CONFIG_DRIVERS_HDF_SENSOR_MAGNETIC_LSM303=y CONFIG_DRIVERS_HDF_SENSOR_PROXIMITY=y CONFIG_DRIVERS_HDF_SENSOR_PROXIMITY_APDS9960=y CONFIG_DRIVERS_HDF_STORAGE=y +CONFIG_DRIVERS_HDF_USB_F_GENERIC=y +CONFIG_DRIVERS_HDF_USB_PNP_NOTIFY=y CONFIG_DRIVERS_HDF_VIBRATOR=y CONFIG_DRIVERS_HDF_VIBRATOR_LINEAR=y CONFIG_DRIVERS_HDF_DSOFTBUS=y -- Gitee