commit 4094f619b1eba7632ebcb05ba64c6279d22f8461 Author: LuK1337 Date: Mon Feb 21 22:18:51 2022 +0100 Import sm8250-common and its users from lineage-18.1 (ab4145f) Change-Id: I5ed31c1abe988113b0f47cbeb2d405e89720c64b diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..00417fe --- /dev/null +++ b/Android.bp @@ -0,0 +1,7 @@ +// Automatically generated file. DO NOT MODIFY +// +// This file is generated by device/oneplus/kebab/setup-makefiles.sh + +soong_namespace { +} + diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..0770a1b --- /dev/null +++ b/Android.mk @@ -0,0 +1,9 @@ +# Automatically generated file. DO NOT MODIFY +# +# This file is generated by device/oneplus/kebab/setup-makefiles.sh + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),kebab) + +endif diff --git a/BoardConfigVendor.mk b/BoardConfigVendor.mk new file mode 100644 index 0000000..eb48cca --- /dev/null +++ b/BoardConfigVendor.mk @@ -0,0 +1,4 @@ +# Automatically generated file. DO NOT MODIFY +# +# This file is generated by device/oneplus/kebab/setup-makefiles.sh + diff --git a/kebab-vendor.mk b/kebab-vendor.mk new file mode 100644 index 0000000..8d7b7f7 --- /dev/null +++ b/kebab-vendor.mk @@ -0,0 +1,310 @@ +# Automatically generated file. DO NOT MODIFY +# +# This file is generated by device/oneplus/kebab/setup-makefiles.sh + +PRODUCT_SOONG_NAMESPACES += \ + vendor/oneplus/kebab + +PRODUCT_COPY_FILES += \ + vendor/oneplus/kebab/proprietary/odm/etc/odm_feature_list:$(TARGET_COPY_OUT_ODM)/etc/odm_feature_list \ + vendor/oneplus/kebab/proprietary/vendor/bin/hw/android.hardware.keymaster@4.1-service-qti:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.keymaster@4.1-service-qti \ + vendor/oneplus/kebab/proprietary/vendor/bin/hw/vendor.pixelworks.hardware.display.iris-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.pixelworks.hardware.display.iris-service \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_General_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_General_cal.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_Global_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_Global_cal.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_Handset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_Handset_cal.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_Headset_cal.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_Speaker_cal.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/MTP_workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/MTP_workspaceFile.qwsp \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/MTP/acdb_version:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/MTP/acdb_version \ + vendor/oneplus/kebab/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/M_Attribute_AG_BMW_1.1.0.model.hardcode:$(TARGET_COPY_OUT_VENDOR)/etc/camera/M_Attribute_AG_BMW_1.1.0.model.hardcode \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/ashdr/ncf_pack.ncf:$(TARGET_COPY_OUT_VENDOR)/etc/camera/ashdr/ncf_pack.ncf \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx471.ncf:$(TARGET_COPY_OUT_VENDOR)/etc/camera/ashdr/ncf_pack_imx471.ncf \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx481.ncf:$(TARGET_COPY_OUT_VENDOR)/etc/camera/ashdr/ncf_pack_imx481.ncf \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx586.ncf:$(TARGET_COPY_OUT_VENDOR)/etc/camera/ashdr/ncf_pack_imx586.ncf \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/calibrationOutput_uw.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/calibrationOutput_uw.bin \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/darksight/darksight_main.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/darksight/darksight_main.bin \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/darksight/darksight_ultrawide.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/darksight/darksight_ultrawide.bin \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/depth.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/depth.dlc \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/distortion_result.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/distortion_result.bin \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/model.data:$(TARGET_COPY_OUT_VENDOR)/etc/camera/model.data \ + vendor/oneplus/kebab/proprietary/vendor/etc/camera/segment.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/segment.dlc \ + vendor/oneplus/kebab/proprietary/vendor/etc/init/android.hardware.keymaster@4.1-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.keymaster@4.1-service-qti.rc \ + vendor/oneplus/kebab/proprietary/vendor/etc/init/calibrationOutput_uw.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/calibrationOutput_uw.rc \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm1.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm1.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm10.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm10.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm11.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm11.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm12.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm12.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm13.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm13.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm14.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm14.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm15.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm15.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm16.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm16.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm17.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm17.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm18.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm18.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm2.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm2.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm3.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm3.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm4.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm4.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm5.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm5.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm6.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm6.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm7.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm7.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm8.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm8.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/inparm/irissoft/inParm9.txt:$(TARGET_COPY_OUT_VENDOR)/etc/inparm/irissoft/inParm9.txt \ + vendor/oneplus/kebab/proprietary/vendor/etc/irissoft.fw:$(TARGET_COPY_OUT_VENDOR)/etc/irissoft.fw \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/bmi26x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/bmi26x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/bmi26x_0_crt.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/bmi26x_0_crt.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/bmi26x_0_crt_cfg.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/bmi26x_0_crt_cfg.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/bmp380_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/bmp380_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_T0_sx9324_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_T0_sx9324_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_T0_sx9324up_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_T0_sx9324up_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_ak991x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_ak991x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_bmi26x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_bmi26x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_bmp380_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_bmp380_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_bu52053nvx_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_bu52053nvx_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_default_sensors.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_default_sensors.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_dynamic_sensors.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_dynamic_sensors.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_hdk_ak991x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_hdk_ak991x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_hdk_lsm6dst_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_1.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_hdk_lsm6dst_1.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_irq.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_irq.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_lps22hh_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_lps22hh_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_lsm6dsm_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_lsm6dsm_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_lsm6dst_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_lsm6dst_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_lsm6dst_1.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_lsm6dst_1.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_mmc5603x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_mmc5603x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_power_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_power_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_qrd_ak991x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_qrd_ak991x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_qrd_lsm6dst_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_qrd_lsm6dst_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_qrd_sx932x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_qrd_sx932x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_qrd_tmd2725_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_qrd_tmd2725_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_shtw2_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_shtw2_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_stk2232_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_stk2232_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_stk3a6x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_stk3a6x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_svr_bma4_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_svr_bma4_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_svr_bmg160_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_svr_bmg160_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_svr_icm4x6xx_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_svr_icm4x6xx_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_svr_rpr0521rs_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_svr_rpr0521rs_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_sx9324_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_sx9324_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_sx9324up_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_sx9324up_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_sx932x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_sx932x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_tcs3408.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_tcs3408.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_tcs3701.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_tcs3701.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_tcs3707.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_tcs3707.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/kona_tmd2725_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/kona_tmd2725_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/lsm6dsm_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/lsm6dsm_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/lsm6dsm_0_8g.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/lsm6dsm_0_8g.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/mmc5603x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/mmc5603x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_amd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_amd.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_amd_sw_disabled.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_amd_sw_enabled.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_aont.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_aont.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_basic_gestures.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_basic_gestures.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_bring_to_ear.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_bring_to_ear.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_ccd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_ccd.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_ccd_v2_walk.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_ccd_v3_1_walk.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_ccd_v3_1_walk.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_ccd_v3_walk.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_cm.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_cm.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_dae.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_dae.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_device_orient.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_device_orient.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_diag_filter.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_diag_filter.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_distance_bound.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_distance_bound.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_dpc.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_dpc.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_facing.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_facing.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_fmv.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_fmv.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_fmv_legacy.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_fmv_legacy.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_geomag_rv.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_gyro_cal.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_heart_rate.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_heart_rate.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_mag_cal.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_mag_cal.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_mag_cal_legacy.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_multishake.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_multishake.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_pedometer.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_pedometer.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_rmd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_rmd.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_rotv.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_rotv.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_smd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_smd.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_tilt.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_sw_disabled.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_sw_enabled.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_to_wake.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_wrist_pedo.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/stk2232_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/stk2232_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/stk3a6x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/stk3a6x_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sx9324_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sx9324_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/sx9324up_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sx9324up_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/tcs3408.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/tcs3408.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/tcs3701.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/tcs3701.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/tcs3707.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/tcs3707.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/config/wigig_sensing_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/wigig_sensing_0.json \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/descriptor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/descriptor.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/nanopb.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/nanopb.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/qti_gravity.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/qti_gravity.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_accel.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_accel.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_accel_cal.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_activity_recognition.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ambient_light.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ambient_temperature.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_amd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_amd.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_aont.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_aont.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_async_com_port.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_async_com_port.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_basic_gestures.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_bring_to_ear.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_cal.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_ccd_ttw.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ccd_ttw.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_ccd_walk.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ccd_walk.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_client.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_client.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_cmc.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_cmc.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_cmd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_cmd.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_da_test.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_da_test.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_dae.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_dae.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_data_acquisition_engine.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_data_acquisition_engine.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_device_mode.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_device_orient.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_diag.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_diag.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_diag_sensor.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_distance_bound.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_distance_bound.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_dpc.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_dpc.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ext_svc.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_facing.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_facing.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_fmv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_fmv.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_formatter.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_formatter.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_fw.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_fw.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_game_rv.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_geomag_rv.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_gravity.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gravity.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_gyro.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gyro.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gyro_cal.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gyro_rot_matrix.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_hall.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_hall.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_heart_beat.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_heart_rate.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_hinge_angle.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_humidity.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_humidity.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_interrupt.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_interrupt.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_mag.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_mag.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_mag_cal.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_mcmd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_mcmd.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_motion_detect.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_motion_detect.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_multishake.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_multishake.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_oem1.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_oem1.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_offbody_detect.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_op_motion_detect.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_op_motion_detect.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_op_sar.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_op_sar.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pedometer.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pedometer_wrist.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_physical_sensor_test.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_pocket.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pocket.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pose_6dof.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_ppg.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ppg.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_pressure.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pressure.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_proximity.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_proximity.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_psmd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_psmd.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_registry.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_registry.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_remote_proc_state.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_remote_proc_state.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_resampler.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_resampler.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_rgb.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_rgb.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_rmd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_rmd.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_rotv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_rotv.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_sar.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sar.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sensor_temperature.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sig_motion.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_signal_sensor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_signal_sensor.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_sim.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sim.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_sim_legacy.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sim_legacy.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_std.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std_event_gated_sensor.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std_sensor.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_std_type.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std_type.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_step_detect.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_suid.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_suid.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_thermopile.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_threshold.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_threshold.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_tilt.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_tilt.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_tilt_to_wake.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_timer.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_timer.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ultra_violet.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_wrist_tilt_gesture.proto \ + vendor/oneplus/kebab/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \ + vendor/oneplus/kebab/proprietary/vendor/etc/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \ + vendor/oneplus/kebab/proprietary/vendor/firmware/tfa98xx.cnt:$(TARGET_COPY_OUT_VENDOR)/firmware/tfa98xx.cnt \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_photo_preview.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/CFR_OnePlus_UW_photo_preview.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_video.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/CFR_OnePlus_UW_video.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/CFR_para2_OnePlus_EF017_UW_snapshot.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/CFR_para2_OnePlus_EF017_UW_snapshot.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.truly_cmb433.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensor.gc02m1b.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.gc02m1b.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensor.gc5035.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.gc5035.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensor.imx471.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.imx471.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensor.imx481.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.imx481.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensor.imx586.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.imx586.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensormodule.holitech_gc02m1b.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.holitech_gc02m1b.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensormodule.qtech_imx481.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.qtech_imx481.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensormodule.semco_imx586.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.semco_imx586.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensormodule.shine_gc5035.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.shine_gc5035.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.sensormodule.truly_imx471.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.truly_imx471.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.tuned.holitech_gc02m1b.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.holitech_gc02m1b.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.tuned.qtech_imx481.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.qtech_imx481.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.tuned.semco_imx586.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.semco_imx586.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.tuned.shine_gc5035.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.shine_gc5035.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/com.qti.tuned.truly_imx471.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.truly_imx471.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrsnapshot.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.oneplus.node.cfrsnapshot.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrvideo.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.oneplus.node.cfrvideo.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.oneplus.node.memcpy.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.oneplus.node.memcpy.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.oneplus.node.preview.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview_nv.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.oneplus.node.preview_nv.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.oneplus.node.rtb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.oneplus.node.rtb.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.oneplus.node.sat.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.oneplus.node.sat.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.camx.chiiqutils.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.eisv2.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.eisv3.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.hvx.addconstant.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.hvx.binning.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.customhwnode.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.depth.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.dummyrtb.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.dummysat.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.eisv2.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.eisv3.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.fcv.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.gpu.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.memcpy.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.remosaic.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.stich.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.swregistration.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.aec.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.aecwrapper.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.af.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.afd.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.afwrapper.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.asd.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.awb.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.awbwrapper.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.haf.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.hafoverride.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.pdlib.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.pdlibsony.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.pdlibwrapper.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.tracker.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.aec.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.af.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.awb.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.pdlib.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/libdepthmapwrapper.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/fdconfigpreview.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigpreview.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigpreviewlite.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/fdconfigvideo.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigvideo.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/camera/fdconfigvideolite.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigvideolite.bin \ + vendor/oneplus/kebab/proprietary/vendor/lib64/fp_hal_extension.so:$(TARGET_COPY_OUT_VENDOR)/lib64/fp_hal_extension.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/hw/camera.qcom.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/camera.qcom.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/hw/goodix.fod.kona.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/goodix.fod.kona.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/hw/goodix.g6.fod.kona.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/goodix.g6.fod.kona.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libarm_proxy_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarm_proxy_skel.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libgf_g6_ud_hal.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libgf_g6_ud_hal.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libgf_ud_hal.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libgf_ud_hal.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libhvx_proxy_stub.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libhvx_proxy_stub.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libkeymasterdeviceutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libkeymasterdeviceutils.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libkeymasterprovision.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libkeymasterprovision.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libkeymasterutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libkeymasterutils.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/libqtikeymaster4.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libqtikeymaster4.so \ + vendor/oneplus/kebab/proprietary/vendor/lib64/vendor.goodix.hardware.biometrics.fingerprint@2.1.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.goodix.hardware.biometrics.fingerprint@2.1.so diff --git a/proprietary/odm/etc/odm_feature_list b/proprietary/odm/etc/odm_feature_list new file mode 100644 index 0000000..3365411 --- /dev/null +++ b/proprietary/odm/etc/odm_feature_list @@ -0,0 +1,373 @@ +[0] UnKnown = false +[1] UnKnown = true +[2] UnKnown = true +[3] UnKnown = true +[4] UnKnown = true +[5] UnKnown = true +[6] UnKnown = true +[7] UnKnown = false +[8] UnKnown = true +[9] UnKnown = true +[10] UnKnown = true +[11] UnKnown = false +[12] UnKnown = true +[13] UnKnown = true +[14] UnKnown = true +[15] UnKnown = true +[16] UnKnown = false +[17] UnKnown = false +[18] UnKnown = true +[19] UnKnown = true +[20] UnKnown = true +[21] UnKnown = true +[22] UnKnown = true +[23] UnKnown = true +[24] UnKnown = true +[25] UnKnown = false +[26] UnKnown = true +[27] UnKnown = true +[28] UnKnown = true +[29] UnKnown = false +[30] UnKnown = true +[31] UnKnown = true +[32] UnKnown = true +[33] UnKnown = true +[34] UnKnown = true +[35] UnKnown = true +[36] UnKnown = true +[37] UnKnown = true +[38] UnKnown = true +[39] UnKnown = false +[40] UnKnown = true +[41] UnKnown = false +[42] UnKnown = false +[43] UnKnown = false +[44] UnKnown = false +[45] UnKnown = false +[46] UnKnown = false +[47] UnKnown = false +[48] UnKnown = false +[49] UnKnown = true +[50] UnKnown = true +[51] UnKnown = true +[52] UnKnown = false +[53] UnKnown = true +[54] UnKnown = false +[55] UnKnown = false +[56] UnKnown = false +[57] UnKnown = false +[58] UnKnown = true +[59] UnKnown = false +[60] UnKnown = true +[61] UnKnown = true +[62] UnKnown = false +[63] UnKnown = false +[64] UnKnown = true +[65] UnKnown = false +[66] UnKnown = false +[67] UnKnown = true +[68] UnKnown = false +[69] UnKnown = true +[70] UnKnown = false +[71] UnKnown = false +[72] UnKnown = false +[73] UnKnown = false +[74] UnKnown = false +[75] UnKnown = true +[76] UnKnown = true +[77] UnKnown = true +[78] UnKnown = true +[79] UnKnown = true +[80] UnKnown = true +[81] UnKnown = true +[82] UnKnown = true +[83] UnKnown = false +[84] UnKnown = false +[85] UnKnown = true +[86] UnKnown = true +[87] UnKnown = false +[88] UnKnown = false +[89] UnKnown = false +[90] UnKnown = false +[91] UnKnown = false +[92] UnKnown = false +[93] UnKnown = true +[94] UnKnown = false +[95] UnKnown = false +[96] UnKnown = true +[97] UnKnown = true +[98] UnKnown = true +[99] UnKnown = true +[100] UnKnown = false +[101] UnKnown = false +[102] UnKnown = false +[103] UnKnown = true +[104] UnKnown = true +[105] UnKnown = true +[106] UnKnown = true +[107] UnKnown = false +[108] UnKnown = true +[109] UnKnown = false +[110] UnKnown = false +[111] UnKnown = true +[112] UnKnown = false +[113] UnKnown = true +[114] UnKnown = false +[115] UnKnown = true +[116] UnKnown = true +[117] UnKnown = false +[118] UnKnown = false +[119] UnKnown = true +[120] UnKnown = false +[121] UnKnown = false +[122] UnKnown = false +[123] UnKnown = false +[124] UnKnown = false +[125] UnKnown = true +[126] UnKnown = true +[127] UnKnown = true +[128] UnKnown = false +[129] UnKnown = false +[130] UnKnown = true +[131] UnKnown = true +[132] UnKnown = true +[133] UnKnown = true +[134] UnKnown = true +[135] UnKnown = true +[136] UnKnown = true +[137] UnKnown = true +[138] UnKnown = true +[139] UnKnown = true +[140] UnKnown = true +[141] UnKnown = true +[142] UnKnown = true +[143] UnKnown = true +[144] UnKnown = true +[145] UnKnown = true +[146] UnKnown = true +[147] UnKnown = false +[148] UnKnown = true +[149] UnKnown = true +[150] UnKnown = true +[151] UnKnown = true +[152] UnKnown = true +[153] UnKnown = true +[154] UnKnown = true +[155] UnKnown = true +[156] UnKnown = true +[157] UnKnown = true +[158] UnKnown = true +[159] UnKnown = true +[160] UnKnown = true +[161] UnKnown = true +[162] UnKnown = false +[163] UnKnown = false +[164] UnKnown = true +[165] UnKnown = true +[166] UnKnown = true +[167] UnKnown = true +[168] UnKnown = true +[169] UnKnown = true +[170] UnKnown = true +[171] UnKnown = true +[172] UnKnown = true +[173] UnKnown = true +[174] UnKnown = true +[175] UnKnown = true +[176] UnKnown = true +[177] UnKnown = true +[178] UnKnown = true +[179] UnKnown = false +[180] UnKnown = true +[181] UnKnown = false +[182] UnKnown = true +[183] UnKnown = false +[184] UnKnown = true +[185] UnKnown = false +[186] UnKnown = true +[187] UnKnown = true +[188] UnKnown = false +[189] UnKnown = true +[190] UnKnown = true +[191] UnKnown = true +[192] UnKnown = false +[193] UnKnown = true +[194] UnKnown = false +[195] UnKnown = false +[196] UnKnown = false +[197] UnKnown = false +[198] UnKnown = false +[199] UnKnown = true +[200] UnKnown = false +[201] UnKnown = false +[202] UnKnown = false +[203] UnKnown = true +[204] UnKnown = false +[205] UnKnown = false +[206] UnKnown = true +[207] UnKnown = false +[208] UnKnown = false +[209] UnKnown = false +[210] UnKnown = true +[211] UnKnown = true +[212] UnKnown = true +[213] UnKnown = false +[214] UnKnown = true +[215] UnKnown = false +[216] UnKnown = false +[217] UnKnown = false +[218] UnKnown = false +[219] UnKnown = true +[220] UnKnown = false +[221] UnKnown = false +[222] UnKnown = true +[223] UnKnown = false +[224] UnKnown = false +[225] UnKnown = false +[226] UnKnown = false +[227] UnKnown = false +[228] UnKnown = false +[229] UnKnown = true +[230] UnKnown = true +[231] UnKnown = false +[232] UnKnown = false +[233] UnKnown = true +[234] UnKnown = false +[235] UnKnown = true +[236] UnKnown = true +[237] UnKnown = false +[238] UnKnown = true +[239] UnKnown = false +[240] UnKnown = true +[241] UnKnown = false +[242] UnKnown = false +[243] UnKnown = false +[244] UnKnown = false +[245] UnKnown = false +[246] UnKnown = false +[247] UnKnown = false +[248] UnKnown = false +[249] UnKnown = false +[250] UnKnown = false +[251] UnKnown = false +[252] UnKnown = false +[253] UnKnown = false +[254] UnKnown = false +[255] UnKnown = false +[256] UnKnown = true +[257] UnKnown = false +[258] UnKnown = false +[259] UnKnown = true +[260] UnKnown = true +[261] UnKnown = false +[262] UnKnown = true +[263] UnKnown = false +[264] UnKnown = true +[265] UnKnown = true +[266] UnKnown = false +[267] UnKnown = true +[268] UnKnown = true +[269] UnKnown = true +[270] UnKnown = false +[271] UnKnown = false +[272] UnKnown = true +[273] UnKnown = true +[274] UnKnown = true +[275] UnKnown = true +[276] UnKnown = true +[277] UnKnown = false +[278] UnKnown = true +[279] UnKnown = false +[280] UnKnown = true +[281] UnKnown = true +[282] UnKnown = false +[283] UnKnown = false +[284] UnKnown = true +[285] UnKnown = false +[286] UnKnown = true +[287] UnKnown = false +[288] UnKnown = false +[289] UnKnown = false +[290] UnKnown = true +[291] UnKnown = true +[292] UnKnown = false +[293] UnKnown = true +[294] UnKnown = false +[295] UnKnown = true +[296] UnKnown = false +[297] UnKnown = false +[298] UnKnown = false +[299] UnKnown = false +[300] UnKnown = true +[301] UnKnown = true +[302] UnKnown = true +[303] UnKnown = false +[304] UnKnown = false +[305] UnKnown = true +[306] UnKnown = true +[307] UnKnown = false +[308] UnKnown = false +[309] UnKnown = true +[310] UnKnown = false +[311] UnKnown = true +[312] UnKnown = false +[313] UnKnown = true +[314] UnKnown = false +[315] UnKnown = false +[316] UnKnown = false +[317] UnKnown = false +[318] UnKnown = false +[319] UnKnown = false +[320] UnKnown = true +[321] UnKnown = true +[322] UnKnown = false +[323] UnKnown = true +[324] UnKnown = false +[325] UnKnown = true +[326] UnKnown = true +[327] UnKnown = false +[328] UnKnown = false +[329] UnKnown = false +[330] UnKnown = false +[331] UnKnown = false +[332] UnKnown = false +[333] UnKnown = false +[334] UnKnown = false +[335] UnKnown = false +[336] UnKnown = false +[337] UnKnown = false +[338] UnKnown = false +[339] UnKnown = false +[340] UnKnown = false +[341] UnKnown = false +[342] UnKnown = false +[343] UnKnown = true +[344] UnKnown = true +[345] UnKnown = true +[346] UnKnown = true +[347] UnKnown = false +[348] UnKnown = false +[349] UnKnown = false +[350] UnKnown = false +[351] UnKnown = false +[352] UnKnown = true +[353] UnKnown = false +[354] UnKnown = false +[355] UnKnown = true +[356] UnKnown = false +[357] UnKnown = false +[358] UnKnown = false +[359] UnKnown = false +[360] UnKnown = false +[361] UnKnown = false +[362] UnKnown = false +[363] UnKnown = false +[364] UnKnown = false +[365] UnKnown = false +[366] UnKnown = false +[367] UnKnown = false +[368] UnKnown = false +[369] UnKnown = false +[370] UnKnown = true +[371] UnKnown = false +[372] UnKnown = true diff --git a/proprietary/vendor/bin/hw/android.hardware.keymaster@4.1-service-qti b/proprietary/vendor/bin/hw/android.hardware.keymaster@4.1-service-qti new file mode 100644 index 0000000..2538cbe Binary files /dev/null and b/proprietary/vendor/bin/hw/android.hardware.keymaster@4.1-service-qti differ diff --git a/proprietary/vendor/bin/hw/vendor.pixelworks.hardware.display.iris-service b/proprietary/vendor/bin/hw/vendor.pixelworks.hardware.display.iris-service new file mode 100644 index 0000000..0f35006 Binary files /dev/null and b/proprietary/vendor/bin/hw/vendor.pixelworks.hardware.display.iris-service differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb b/proprietary/vendor/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb new file mode 100644 index 0000000..77e3022 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_General_cal.acdb b/proprietary/vendor/etc/acdbdata/MTP/MTP_General_cal.acdb new file mode 100644 index 0000000..72c4f74 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_General_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_Global_cal.acdb b/proprietary/vendor/etc/acdbdata/MTP/MTP_Global_cal.acdb new file mode 100644 index 0000000..6fefde1 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_Global_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_Handset_cal.acdb b/proprietary/vendor/etc/acdbdata/MTP/MTP_Handset_cal.acdb new file mode 100644 index 0000000..a6a9a6d Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_Handset_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb b/proprietary/vendor/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb new file mode 100644 index 0000000..5bf2636 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_Headset_cal.acdb b/proprietary/vendor/etc/acdbdata/MTP/MTP_Headset_cal.acdb new file mode 100644 index 0000000..143636e Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_Headset_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_Speaker_cal.acdb b/proprietary/vendor/etc/acdbdata/MTP/MTP_Speaker_cal.acdb new file mode 100644 index 0000000..9798801 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_Speaker_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/MTP_workspaceFile.qwsp b/proprietary/vendor/etc/acdbdata/MTP/MTP_workspaceFile.qwsp new file mode 100644 index 0000000..76565af Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/MTP/MTP_workspaceFile.qwsp differ diff --git a/proprietary/vendor/etc/acdbdata/MTP/acdb_version b/proprietary/vendor/etc/acdbdata/MTP/acdb_version new file mode 100644 index 0000000..d103235 --- /dev/null +++ b/proprietary/vendor/etc/acdbdata/MTP/acdb_version @@ -0,0 +1 @@ +version:19805-O2-acdb-20210330 \ No newline at end of file diff --git a/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb b/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb new file mode 100644 index 0000000..10124cf Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb differ diff --git a/proprietary/vendor/etc/camera/M_Attribute_AG_BMW_1.1.0.model.hardcode b/proprietary/vendor/etc/camera/M_Attribute_AG_BMW_1.1.0.model.hardcode new file mode 100644 index 0000000..d924f2f Binary files /dev/null and b/proprietary/vendor/etc/camera/M_Attribute_AG_BMW_1.1.0.model.hardcode differ diff --git a/proprietary/vendor/etc/camera/ashdr/ncf_pack.ncf b/proprietary/vendor/etc/camera/ashdr/ncf_pack.ncf new file mode 100644 index 0000000..4b0e5ec Binary files /dev/null and b/proprietary/vendor/etc/camera/ashdr/ncf_pack.ncf differ diff --git a/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx471.ncf b/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx471.ncf new file mode 100644 index 0000000..9ffd21e Binary files /dev/null and b/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx471.ncf differ diff --git a/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx481.ncf b/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx481.ncf new file mode 100644 index 0000000..0a719f6 Binary files /dev/null and b/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx481.ncf differ diff --git a/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx586.ncf b/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx586.ncf new file mode 100644 index 0000000..8388883 Binary files /dev/null and b/proprietary/vendor/etc/camera/ashdr/ncf_pack_imx586.ncf differ diff --git a/proprietary/vendor/etc/camera/calibrationOutput_uw.bin b/proprietary/vendor/etc/camera/calibrationOutput_uw.bin new file mode 100644 index 0000000..62820ab Binary files /dev/null and b/proprietary/vendor/etc/camera/calibrationOutput_uw.bin differ diff --git a/proprietary/vendor/etc/camera/darksight/darksight_main.bin b/proprietary/vendor/etc/camera/darksight/darksight_main.bin new file mode 100644 index 0000000..10c761a Binary files /dev/null and b/proprietary/vendor/etc/camera/darksight/darksight_main.bin differ diff --git a/proprietary/vendor/etc/camera/darksight/darksight_ultrawide.bin b/proprietary/vendor/etc/camera/darksight/darksight_ultrawide.bin new file mode 100644 index 0000000..b519834 Binary files /dev/null and b/proprietary/vendor/etc/camera/darksight/darksight_ultrawide.bin differ diff --git a/proprietary/vendor/etc/camera/depth.dlc b/proprietary/vendor/etc/camera/depth.dlc new file mode 100644 index 0000000..c3153e0 Binary files /dev/null and b/proprietary/vendor/etc/camera/depth.dlc differ diff --git a/proprietary/vendor/etc/camera/distortion_result.bin b/proprietary/vendor/etc/camera/distortion_result.bin new file mode 100644 index 0000000..8b2a81d Binary files /dev/null and b/proprietary/vendor/etc/camera/distortion_result.bin differ diff --git a/proprietary/vendor/etc/camera/model.data b/proprietary/vendor/etc/camera/model.data new file mode 100644 index 0000000..1a5e299 Binary files /dev/null and b/proprietary/vendor/etc/camera/model.data differ diff --git a/proprietary/vendor/etc/camera/segment.dlc b/proprietary/vendor/etc/camera/segment.dlc new file mode 100644 index 0000000..201d8be Binary files /dev/null and b/proprietary/vendor/etc/camera/segment.dlc differ diff --git a/proprietary/vendor/etc/init/android.hardware.keymaster@4.1-service-qti.rc b/proprietary/vendor/etc/init/android.hardware.keymaster@4.1-service-qti.rc new file mode 100644 index 0000000..0b3a29e --- /dev/null +++ b/proprietary/vendor/etc/init/android.hardware.keymaster@4.1-service-qti.rc @@ -0,0 +1,7 @@ +on init + start keymaster-4-1 + +service keymaster-4-1 /vendor/bin/hw/android.hardware.keymaster@4.1-service-qti + class early_hal + user system + group system drmrpc diff --git a/proprietary/vendor/etc/init/calibrationOutput_uw.rc b/proprietary/vendor/etc/init/calibrationOutput_uw.rc new file mode 100644 index 0000000..9075118 --- /dev/null +++ b/proprietary/vendor/etc/init/calibrationOutput_uw.rc @@ -0,0 +1,2 @@ +on post-fs + chmod 777 /vendor/etc/camera/calibrationOutput_uw.bin diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm1.txt b/proprietary/vendor/etc/inparm/irissoft/inParm1.txt new file mode 100644 index 0000000..6eb7876 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm1.txt @@ -0,0 +1,238 @@ +0.6890 +0.3110 +0.2420 +0.7120 +0.1360 +0.0480 +0.3000 +0.3100 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87277326 +0.22692811 +-0.09970137 +0 +0.02146328 +0.7957425 +0.01715895 +0 +-0.00704654 +-0.05037417 +0.24904062 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.84989446 +-0.03578947 +0.02247912 +0 +-0.00345145 +0.86205857 +-0.00417986 +0 +0.00143757 +0.01139258 +0.98716985 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +0 +0 +1 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm10.txt b/proprietary/vendor/etc/inparm/irissoft/inParm10.txt new file mode 100644 index 0000000..f7d0300 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm10.txt @@ -0,0 +1,238 @@ +0.708000000000000 +0.292000000000000 +0.170000000000000 +0.797000000000000 +0.131000000000000 +0.046000000000000 +0.312713000000000 +0.329060000000000 +0 +0 +10 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +200 +1400 +0.125 +1.5 +0.33333 +0 +1 +0 +1 +0 +0 +1.65 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm11.txt b/proprietary/vendor/etc/inparm/irissoft/inParm11.txt new file mode 100644 index 0000000..916aef9 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm11.txt @@ -0,0 +1,238 @@ +0.708000000000000 +0.292000000000000 +0.170000000000000 +0.797000000000000 +0.131000000000000 +0.046000000000000 +0.312713000000000 +0.329060000000000 +0 +0 +10 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +200 +1400 +0.125 +1.5 +0.33333 +1 +0 +0 +1 +1 +0 +1.65 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm12.txt b/proprietary/vendor/etc/inparm/irissoft/inParm12.txt new file mode 100644 index 0000000..fa3401d --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm12.txt @@ -0,0 +1,238 @@ +0.708000000000000 +0.292000000000000 +0.170000000000000 +0.797000000000000 +0.131000000000000 +0.046000000000000 +0.312713000000000 +0.329060000000000 +0 +0 +10 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +200 +4000 +0.125 +1.5 +0.33333 +2 +0 +0 +1 +0 +0 +1.65 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm13.txt b/proprietary/vendor/etc/inparm/irissoft/inParm13.txt new file mode 100644 index 0000000..54e75f1 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm13.txt @@ -0,0 +1,251 @@ +0.684000000000000 +0.320000000000000 +0.264800000000000 +0.690700000000000 +0.149500000000000 +0.059000000000000 +0.3061 +0.3164 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87802262 +0.22035174 +-0.09837436 +0 +0.02085663 +0.80322066 +0.01700253 +0 +-0.00691779 +-0.04971179 +0.26336757 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.80571713 +-0.04157272 +0.02926461 +0 +-0.00404018 +0.81985403 +-0.00554317 +0 +0.00182215 +0.01484294 +0.98333491 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +0 +0 +0 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2.4 +0 +1 +0 +0.20 +1 +0.20 +1 +0.3 +2 +1 +2 +3 +2 +0.4 +1 +0.6 +1 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.3061 +0.3124 +0.4545454545 +0 +4 +2.5 +5 +2.5 +10 +2 +0.05 +1.05 +-0.2 +1.55 +0 +1.5 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0.5 +0.9 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm14.txt b/proprietary/vendor/etc/inparm/irissoft/inParm14.txt new file mode 100644 index 0000000..67dfcfb --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm14.txt @@ -0,0 +1,251 @@ +0.684000000000000 +0.320000000000000 +0.264800000000000 +0.690700000000000 +0.149500000000000 +0.059000000000000 +0.3061 +0.3164 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87802262 +0.22035174 +-0.09837436 +0 +0.02085663 +0.80322066 +0.01700253 +0 +-0.00691779 +-0.04971179 +0.26336757 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.80571713 +-0.04157272 +0.02926461 +0 +-0.00404018 +0.81985403 +-0.00554317 +0 +0.00182215 +0.01484294 +0.98333491 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +1 +0 +0 +1 +1 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2.4 +0 +1 +0 +0.20 +1 +0.20 +1 +0.3 +2 +1 +2 +3 +2 +0.4 +1 +0.6 +1 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.3061 +0.3124 +0.4545454545 +0 +4 +2.5 +5 +2.5 +10 +2 +0.05 +1.05 +-0.2 +1.55 +0 +1.5 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0.5 +0.9 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm15.txt b/proprietary/vendor/etc/inparm/irissoft/inParm15.txt new file mode 100644 index 0000000..9c85dfc --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm15.txt @@ -0,0 +1,251 @@ +0.684000000000000 +0.320000000000000 +0.264800000000000 +0.690700000000000 +0.149500000000000 +0.059000000000000 +0.3061 +0.3164 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87802262 +0.22035174 +-0.09837436 +0 +0.02085663 +0.80322066 +0.01700253 +0 +-0.00691779 +-0.04971179 +0.26336757 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.80571713 +-0.04157272 +0.02926461 +0 +-0.00404018 +0.81985403 +-0.00554317 +0 +0.00182215 +0.01484294 +0.98333491 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +2 +0 +0 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2.4 +0 +1 +0 +0.20 +1 +0.20 +1 +0.3 +2 +1 +2 +3 +2 +0.4 +1 +0.6 +1 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.3061 +0.3124 +0.4545454545 +0 +4 +2.5 +5 +2.5 +10 +2 +0.05 +1.05 +-0.2 +1.55 +0 +1.5 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0.5 +0.9 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm16.txt b/proprietary/vendor/etc/inparm/irissoft/inParm16.txt new file mode 100644 index 0000000..d6fe69f --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm16.txt @@ -0,0 +1,238 @@ +0.681000000000000 +0.320100000000000 +0.265000000000000 +0.690000000000000 +0.149000000000000 +0.059000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +0 +0 +0 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm17.txt b/proprietary/vendor/etc/inparm/irissoft/inParm17.txt new file mode 100644 index 0000000..2419daf --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm17.txt @@ -0,0 +1,238 @@ +0.681000000000000 +0.320100000000000 +0.265000000000000 +0.690000000000000 +0.149000000000000 +0.059000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +1 +0 +0 +1 +1 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm18.txt b/proprietary/vendor/etc/inparm/irissoft/inParm18.txt new file mode 100644 index 0000000..b94e7ff --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm18.txt @@ -0,0 +1,238 @@ +0.681000000000000 +0.320100000000000 +0.265000000000000 +0.690000000000000 +0.149000000000000 +0.059000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +2 +0 +0 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm2.txt b/proprietary/vendor/etc/inparm/irissoft/inParm2.txt new file mode 100644 index 0000000..d40f025 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm2.txt @@ -0,0 +1,238 @@ +0.6890 +0.3110 +0.2420 +0.7120 +0.1360 +0.0480 +0.3000 +0.3100 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87277326 +0.22692811 +-0.09970137 +0 +0.02146328 +0.7957425 +0.01715895 +0 +-0.00704654 +-0.05037417 +0.24904062 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.84989446 +-0.03578947 +0.02247912 +0 +-0.00345145 +0.86205857 +-0.00417986 +0 +0.00143757 +0.01139258 +0.98716985 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +1 +0 +1 +1 +1 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm3.txt b/proprietary/vendor/etc/inparm/irissoft/inParm3.txt new file mode 100644 index 0000000..bf54819 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm3.txt @@ -0,0 +1,238 @@ +0.6890 +0.3110 +0.2420 +0.7120 +0.1360 +0.0480 +0.3000 +0.3100 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87277326 +0.22692811 +-0.09970137 +0 +0.02146328 +0.7957425 +0.01715895 +0 +-0.00704654 +-0.05037417 +0.24904062 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.84989446 +-0.03578947 +0.02247912 +0 +-0.00345145 +0.86205857 +-0.00417986 +0 +0.00143757 +0.01139258 +0.98716985 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +2 +0 +1 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm4.txt b/proprietary/vendor/etc/inparm/irissoft/inParm4.txt new file mode 100644 index 0000000..abf83e6 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm4.txt @@ -0,0 +1,238 @@ +0.643000000000000 +0.330600000000000 +0.300000000000000 +0.603000000000000 +0.149000000000000 +0.059000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +0 +0 +0 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm5.txt b/proprietary/vendor/etc/inparm/irissoft/inParm5.txt new file mode 100644 index 0000000..cb7a65a --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm5.txt @@ -0,0 +1,238 @@ +0.643000000000000 +0.330600000000000 +0.300000000000000 +0.603000000000000 +0.149000000000000 +0.059000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +1 +0 +0 +1 +1 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm6.txt b/proprietary/vendor/etc/inparm/irissoft/inParm6.txt new file mode 100644 index 0000000..4badea4 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm6.txt @@ -0,0 +1,238 @@ +0.643000000000000 +0.330600000000000 +0.300000000000000 +0.603000000000000 +0.149000000000000 +0.059000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87663084 +0.21778052 +-0.09441136 +0 +0.02058558 +0.80270812 +0.01618998 +0 +-0.00670111 +-0.04769481 +0.28536144 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.73821893 +-0.0393215 +0.04002821 +0 +-0.00394282 +0.75161839 +-0.00793695 +0 +0.00231986 +0.02034213 +0.97733802 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +2 +0 +0 +1 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.11 +2.6 +0 +0.3 +0 +0 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.312713000000000 +0.329060000000000 +0.4545454545 +0 +3 +3 +2.5 +2.5 +10 +5 +0.1 +1.15 +0.23 +1.55 +0 +0.9 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0 +1 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm7.txt b/proprietary/vendor/etc/inparm/irissoft/inParm7.txt new file mode 100644 index 0000000..d810380 --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm7.txt @@ -0,0 +1,251 @@ +0.7080 +0.2920 +0.2650 +0.6900 +0.1405 +0.0530 +0.3061 +0.3164 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87802262 +0.22035174 +-0.09837436 +0 +0.02085663 +0.80322066 +0.01700253 +0 +-0.00691779 +-0.04971179 +0.26336757 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.80571713 +-0.04157272 +0.02926461 +0 +-0.00404018 +0.81985403 +-0.00554317 +0 +0.00182215 +0.01484294 +0.98333491 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +0 +0 +0 +1 +0 +0 +1 +0 +0.000000 +-0.225899 +-0.043104 +-0.910746 +-1.959246 +-2.949932 +-3.757070 +-4.394904 +-5.004701 +-5.626968 +-6.255192 +-6.882903 +-7.437684 +-7.959844 +-8.502101 +-8.929554 +-9.368351 +-9.735669 +-9.927644 +-10.179537 +-10.243040 +-10.254847 +-10.131141 +-9.849450 +-9.500495 +-8.960357 +-8.329936 +-7.476323 +-6.510417 +-5.282575 +-3.753700 +-2.054258 +0.000000 +2.098630 +4.418835 +6.986536 +9.610226 +12.293300 +15.244568 +18.280480 +21.616618 +25.033162 +28.840004 +32.754270 +36.814856 +41.321403 +45.661293 +50.879064 +56.046196 +61.378694 +67.486026 +73.458241 +80.590109 +88.125627 +95.627782 +104.166667 +113.747337 +124.735603 +135.913338 +149.536133 +165.323573 +182.462993 +209.263393 +240.325928 +0.000000 +0 +2.4 +0 +1 +0 +0.20 +1 +0.20 +1 +0.3 +2 +1 +2 +3 +2 +0.4 +1 +0.6 +1 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.3061 +0.3124 +0.4545454545 +0 +4 +2.5 +5 +2.5 +10 +2 +0.05 +1.05 +-0.2 +1.55 +0 +1.5 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0.5 +0.9 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm8.txt b/proprietary/vendor/etc/inparm/irissoft/inParm8.txt new file mode 100644 index 0000000..098ba4e --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm8.txt @@ -0,0 +1,251 @@ +0.708000000000000 +0.292000000000000 +0.2650 +0.6900 +0.1405 +0.0530 +0.3061 +0.3164 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87802262 +0.22035174 +-0.09837436 +0 +0.02085663 +0.80322066 +0.01700253 +0 +-0.00691779 +-0.04971179 +0.26336757 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.80571713 +-0.04157272 +0.02926461 +0 +-0.00404018 +0.81985403 +-0.00554317 +0 +0.00182215 +0.01484294 +0.98333491 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +1 +0 +0 +1 +1 +0 +1 +0 +0.000000 +-0.225899 +-0.043104 +-0.910746 +-1.959246 +-2.949932 +-3.757070 +-4.394904 +-5.004701 +-5.626968 +-6.255192 +-6.882903 +-7.437684 +-7.959844 +-8.502101 +-8.929554 +-9.368351 +-9.735669 +-9.927644 +-10.179537 +-10.243040 +-10.254847 +-10.131141 +-9.849450 +-9.500495 +-8.960357 +-8.329936 +-7.476323 +-6.510417 +-5.282575 +-3.753700 +-2.054258 +0.000000 +2.098630 +4.418835 +6.986536 +9.610226 +12.293300 +15.244568 +18.280480 +21.616618 +25.033162 +28.840004 +32.754270 +36.814856 +41.321403 +45.661293 +50.879064 +56.046196 +61.378694 +67.486026 +73.458241 +80.590109 +88.125627 +95.627782 +104.166667 +113.747337 +124.735603 +135.913338 +149.536133 +165.323573 +182.462993 +209.263393 +240.325928 +0.000000 +0 +2.4 +0 +1 +0 +0.20 +1 +0.20 +1 +0.3 +2 +1 +2 +3 +2 +0.4 +1 +0.6 +1 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.3061 +0.3124 +0.4545454545 +0 +4 +2.5 +5 +2.5 +10 +2 +0.05 +1.05 +-0.2 +1.55 +0 +1.5 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0.5 +0.9 diff --git a/proprietary/vendor/etc/inparm/irissoft/inParm9.txt b/proprietary/vendor/etc/inparm/irissoft/inParm9.txt new file mode 100644 index 0000000..ea584fd --- /dev/null +++ b/proprietary/vendor/etc/inparm/irissoft/inParm9.txt @@ -0,0 +1,251 @@ +0.708000000000000 +0.292000000000000 +0.2650 +0.6900 +0.1405 +0.0530 +0.3061 +0.3164 +0.4166666667 +0 +10 +0 +0 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0.100000000000000 +0.100000000000000 +0.050000000000000 +0 +0 +0 +0 +0 +1 +0 +0 +0 +0.500000000000000 +0.500000000000000 +0.500000000000000 +0.500000000000000 +3 +0 +0 +0 +0.87802262 +0.22035174 +-0.09837436 +0 +0.02085663 +0.80322066 +0.01700253 +0 +-0.00691779 +-0.04971179 +0.26336757 +0 +1 +0 +0 +0 +0 +1 +0 +0 +0 +0 +1 +0 +0.80571713 +-0.04157272 +0.02926461 +0 +-0.00404018 +0.81985403 +-0.00554317 +0 +0.00182215 +0.01484294 +0.98333491 +0 +0 +0 +0 +0 +2.40000000000000 +0 +0 +0 +1.0000 +420 +151 +1000 +0.125 +1.5 +0.33333 +2 +0 +0 +1 +0 +0 +1 +0 +0.000000 +-0.225899 +-0.043104 +-0.910746 +-1.959246 +-2.949932 +-3.757070 +-4.394904 +-5.004701 +-5.626968 +-6.255192 +-6.882903 +-7.437684 +-7.959844 +-8.502101 +-8.929554 +-9.368351 +-9.735669 +-9.927644 +-10.179537 +-10.243040 +-10.254847 +-10.131141 +-9.849450 +-9.500495 +-8.960357 +-8.329936 +-7.476323 +-6.510417 +-5.282575 +-3.753700 +-2.054258 +0.000000 +2.098630 +4.418835 +6.986536 +9.610226 +12.293300 +15.244568 +18.280480 +21.616618 +25.033162 +28.840004 +32.754270 +36.814856 +41.321403 +45.661293 +50.879064 +56.046196 +61.378694 +67.486026 +73.458241 +80.590109 +88.125627 +95.627782 +104.166667 +113.747337 +124.735603 +135.913338 +149.536133 +165.323573 +182.462993 +209.263393 +240.325928 +0.000000 +0 +2.4 +0 +1 +0 +0.20 +1 +0.20 +1 +0.3 +2 +1 +2 +3 +2 +0.4 +1 +0.6 +1 +0.640000000000000 +0.330000000000000 +0.300000000000000 +0.600000000000000 +0.150000000000000 +0.060000000000000 +0.3061 +0.3124 +0.4545454545 +0 +4 +2.5 +5 +2.5 +10 +2 +0.05 +1.05 +-0.2 +1.55 +0 +1.5 +0.1 +0.1 +90 +265 +0.35 +0.143 +-30 +14 +2 +2 +-0.5 +1.5 +0.5 +0.9 diff --git a/proprietary/vendor/etc/irissoft.fw b/proprietary/vendor/etc/irissoft.fw new file mode 100644 index 0000000..ae7496f Binary files /dev/null and b/proprietary/vendor/etc/irissoft.fw differ diff --git a/proprietary/vendor/etc/sensors/config/bmi26x_0.json b/proprietary/vendor/etc/sensors/config/bmi26x_0.json new file mode 100644 index 0000000..5c35e93 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/bmi26x_0.json @@ -0,0 +1,82 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"], + "soc_id": ["356"] + }, + "bmi26x_0":{ + "owner": "sns_bmi26x", + ".accel":{ + "owner": "sns_bmi26x", + ".config":{ + "owner": "sns_bmi26x", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "sns_bmi26x", + ".config":{ + "owner": "sns_bmi26x", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "sns_bmi26x", + ".config":{ + "owner": "sns_bmi26x", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "sns_bmi26x", + ".config":{ + "owner": "sns_bmi26x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/bmi26x_0_crt.json b/proprietary/vendor/etc/sensors/config/bmi26x_0_crt.json new file mode 100644 index 0000000..b12927b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/bmi26x_0_crt.json @@ -0,0 +1,37 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"], + "soc_id": ["356"] + }, + "bmi26x_crt_state":{ + "owner": "sns_bmi26x", + ".crt_gain":{ + "owner": "sns_bmi26x", + "gain_x":{ "type": "int", "ver": "0", + "data": "0" + }, + "gain_y":{ "type": "int", "ver": "0", + "data": "1" + }, + "gain_z":{ "type": "int", "ver": "0", + "data": "2" + } + } + }, + "bmi26x_ois_cfg":{ + "owner": "sns_bmi26x", + ".ois_cfg":{ + "owner": "sns_bmi26x", + "enable":{ "type": "int", "ver": "0", + "data": "1" + }, + "range_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "spi4":{ "type": "int", "ver": "0", + "data": "1" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/bmi26x_0_crt_cfg.json b/proprietary/vendor/etc/sensors/config/bmi26x_0_crt_cfg.json new file mode 100644 index 0000000..c46b27d --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/bmi26x_0_crt_cfg.json @@ -0,0 +1,22 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"], + "soc_id": ["356"] + }, + "bmi26x_crt_config":{ + "owner": "sns_bmi26x", + ".crt_cfg":{ + "owner": "sns_bmi26x", + "crt_itvl":{ "type": "int", "ver": "0", + "data": "2" + }, + "repeate_on_error":{ "type": "int", "ver": "0", + "data": "1" + }, + "reserved":{ "type": "int", "ver": "0", + "data": "2" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/bmp380_0.json b/proprietary/vendor/etc/sensors/config/bmp380_0.json new file mode 100644 index 0000000..2a35594 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/bmp380_0.json @@ -0,0 +1,46 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"], + "soc_id": ["356"] + }, + "bmp380_0":{ + "owner": "sns_bmp380", + ".temp":{ + "owner": "sns_bmp380", + ".config":{ + "owner": "sns_bmp380", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".pressure":{ + "owner": "sns_bmp380", + ".config":{ + "owner": "sns_bmp380", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/config/kona_T0_sx9324_0.json b/proprietary/vendor/etc/sensors/config/kona_T0_sx9324_0.json new file mode 100644 index 0000000..b410567 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_T0_sx9324_0.json @@ -0,0 +1,98 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "RCM", "HDK", "IDP", "QRD"], + "soc_id": ["356"], + "hw_id": ["11"] + }, + "sx9324_0_platform":{ + "owner": "sns_sx9324", + ".config":{ + "owner": "sns_sx9324", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "40" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "51" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".placement":{ + "owner": "sns_sx9324", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_T0_sx9324up_0.json b/proprietary/vendor/etc/sensors/config/kona_T0_sx9324up_0.json new file mode 100644 index 0000000..ec5ded5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_T0_sx9324up_0.json @@ -0,0 +1,98 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "RCM", "HDK", "IDP", "QRD"], + "soc_id": ["356"], + "hw_id": ["11"] + }, + "sx9324up_0_platform":{ + "owner": "sns_sx9324up", + ".config":{ + "owner": "sns_sx9324up", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "44" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "113" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".placement":{ + "owner": "sns_sx9324up", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_ak991x_0.json b/proprietary/vendor/etc/sensors/config/kona_ak991x_0.json new file mode 100644 index 0000000..0f8b078 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_ak991x_0.json @@ -0,0 +1,223 @@ +{ + "config": + { + "hw_platform": ["MTP", "Surf", "RCM"], + "soc_id": ["356"] + }, + "ak0991x_0":{ + "owner": "sns_ak0991x", + ".mag":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".config_2":{ + "owner": "sns_ak0991x", + "use_fifo":{ "type": "int", "ver": "0", + "data": "0" + }, + "nsf":{ "type": "int", "ver": "0", + "data": "0" + }, + "sdr":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "ak0991x_0_platform":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "12" + }, + "i3c_address":{ "type": "int", "ver": "0", + "data": "30" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "sns_ak0991x", + "x":{ "type": "str", "ver": "0", + "data": "+y" + }, + "y":{ "type": "str", "ver": "0", + "data": "-x" + }, + "z":{ "type": "str", "ver": "0", + "data": "+z" + } + }, + ".mag":{ + "owner": "sns_ak0991x", + ".fac_cal":{ + "owner": "sns_ak0991x", + ".corr_mat":{ + "owner": "sns_ak0991x", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_ak0991x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".fac_cal_2":{ + "owner": "sns_ak0991x", + ".corr_mat":{ + "owner": "sns_ak0991x", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_ak0991x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_ak0991x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_bmi26x_0.json b/proprietary/vendor/etc/sensors/config/kona_bmi26x_0.json new file mode 100644 index 0000000..2cb0b97 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_bmi26x_0.json @@ -0,0 +1,256 @@ +{ + "config":{ + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"], + "soc_id": ["356"] + }, + "bmi26x_0_platform":{ + "owner": "sns_bmi26x", + ".config":{ + "owner": "sns_bmi26x", + "bus_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "3" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "9600" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "123" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "sns_bmi26x", + "x":{ "type": "str", "ver": "0", + "data": "+y" + }, + "y":{ "type": "str", "ver": "0", + "data": "-x" + }, + "z":{ "type": "str", "ver": "0", + "data": "+z" + } + }, + ".gyro":{ + "owner": "sns_bmi26x", + ".fac_cal":{ + "owner": "sns_bmi26x", + ".corr_mat":{ + "owner": "sns_bmi26x", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmi26x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "sns_bmi26x", + ".fac_cal":{ + "owner": "sns_bmi26x", + ".corr_mat":{ + "owner": "sns_bmi26x", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmi26x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "sns_bmi26x", + ".fac_cal": + { + "owner": "sns_bmi26x", + ".scale":{ + "owner": "sns_bmi26x", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmi26x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "sns_bmi26x", + ".config":{ + "owner": "sns_bmi26x", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.583" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.04" + } + } + }, + ".lowg":{ + "owner": "sns_bmi26x", + ".config":{ + "owner": "sns_bmi26x", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.583" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.01" + } + } + }, + ".placement":{ + "owner": "sns_bmi26x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_bmp380_0.json b/proprietary/vendor/etc/sensors/config/kona_bmp380_0.json new file mode 100644 index 0000000..de7303b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_bmp380_0.json @@ -0,0 +1,119 @@ +{ + "config":{ + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"], + "soc_id": ["356"] + }, + "bmp380_0_platform":{ + "owner": "sns_bmp380", + ".config":{ + "owner": "sns_bmp380", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "4" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "118" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".temp":{ + "owner": "sns_bmp380", + ".fac_cal": + { + "owner": "sns_bmp380", + ".scale":{ + "owner": "sns_bmp380", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmp380", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".pressure":{ + "owner": "sns_bmp380", + ".fac_cal": + { + "owner": "sns_bmp380", + ".scale":{ + "owner": "sns_bmp380", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmp380", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_bmp380", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_bu52053nvx_0.json b/proprietary/vendor/etc/sensors/config/kona_bu52053nvx_0.json new file mode 100644 index 0000000..ffc2012 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_bu52053nvx_0.json @@ -0,0 +1,117 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "RCM", "QRD", "HDK"], + "soc_id": ["356"] + }, + "bu52053nvx_0":{ + "owner": "sns_bu52053nvx", + ".hall":{ + "owner": "sns_bu52053nvx", + ".config":{ + "owner": "sns_bu52053nvx", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "1" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "bu52053nvx_0_platform":{ + "owner": "sns_bu52053nvx", + ".config":{ + "owner": "sns_bu52053nvx", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "121" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".placement":{ + "owner": "sns_bu52053nvx", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_default_sensors.json b/proprietary/vendor/etc/sensors/config/kona_default_sensors.json new file mode 100644 index 0000000..409fc98 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_default_sensors.json @@ -0,0 +1,186 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "RCM", "QRD", "HDK"], + "soc_id": ["356"] + }, + + "default_sensors": { + "owner": "suid", + ".accel": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".gyro": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".mag": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".motion_detect": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".sensor_temperature": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + }, + ".attr_1": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "0" }, + "val": { "type": "str", "ver": "0", "data": "lsm6dst" } + } + }, + + ".proximity": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "16" }, + "val": { "type": "int", "ver": "0", "data": "1" } + } + }, + + ".ambient_light": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "16" }, + "val": { "type": "int", "ver": "0", "data": "1" } + } + }, + + ".sar": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "16" }, + "val": { "type": "int", "ver": "0", "data": "1" } + } + }, + + ".accel_cal": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".gyro_cal": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".mag_cal": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".amd": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".tilt": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".gyro_rot_matrix": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".gravity": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".game_rv": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".geomag_rv": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".fmv": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + }, + + ".rotv": { + "owner": "suid", + ".attr_0": { + "owner": "suid", + "id": { "type": "int", "ver": "0", "data": "19" }, + "val": { "type": "int", "ver": "0", "data": "0" } + } + } + } +} + diff --git a/proprietary/vendor/etc/sensors/config/kona_dynamic_sensors.json b/proprietary/vendor/etc/sensors/config/kona_dynamic_sensors.json new file mode 100644 index 0000000..6d86ae2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_dynamic_sensors.json @@ -0,0 +1,22 @@ +{ + "config":{ + }, + + "sns_dynamic_sensors": + { + "owner":"sns_dynamic_sensors", + + "sns_bring_to_ear_register": + { + "type" : "str", + "ver" : "0", + "data" : "sns_bring_to_ear.so" + }, + "sns_wigig_register": + { + "type" : "str", + "ver" : "0", + "data" : "wigig_sensing.so" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_hdk_ak991x_0.json b/proprietary/vendor/etc/sensors/config/kona_hdk_ak991x_0.json new file mode 100644 index 0000000..4d8d9b1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_hdk_ak991x_0.json @@ -0,0 +1,238 @@ +{ + "config": + { + "hw_platform": ["HDK"], + "soc_id": ["356"] + }, + "ak0991x_0":{ + "owner": "sns_ak0991x", + ".mag":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".config_2":{ + "owner": "sns_ak0991x", + "use_fifo":{ "type": "int", "ver": "0", + "data": "0" + }, + "nsf":{ "type": "int", "ver": "0", + "data": "0" + }, + "sdr":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "ak0991x_0_platform":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "bus_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "12" + }, + "i3c_address":{ "type": "int", "ver": "0", + "data": "30" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "12500" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "113" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "sns_ak0991x", + "x":{ "type": "str", "ver": "0", + "data": "-x" + }, + "y":{ "type": "str", "ver": "0", + "data": "-y" + }, + "z":{ "type": "str", "ver": "0", + "data": "+z" + } + }, + ".mag":{ + "owner": "sns_ak0991x", + ".fac_cal":{ + "owner": "sns_ak0991x", + ".corr_mat":{ + "owner": "sns_ak0991x", + "0_0":{ "type": "flt", "ver": "0", + "data": "0.9442" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "-0.0118" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0553" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "-0.0118" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0031" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0098" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0553" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0098" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0527" + } + }, + ".bias":{ + "owner": "sns_ak0991x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".fac_cal_2":{ + "owner": "sns_ak0991x", + ".corr_mat":{ + "owner": "sns_ak0991x", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_ak0991x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_ak0991x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_0.json b/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_0.json new file mode 100644 index 0000000..1ee4191 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_0.json @@ -0,0 +1,322 @@ +{ + "config":{ + "hw_platform": ["HDK"], + "soc_id": ["356"] + }, + "lsm6dst_0":{ + "owner": "lsm6dst", + ".accel":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "lsm6dst_0_platform":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "bus_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "106" + }, + "i3c_address":{ "type": "int", "ver": "0", + "data": "10" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "12500" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "123" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_odr":{ "type": "int", "ver": "0", + "data": "20" + }, + "max_odr":{ "type": "int", "ver": "0", + "data": "500" + } + }, + ".orient":{ + "owner": "lsm6dst", + "x":{ "type": "str", "ver": "0", + "data": "+x" + }, + "y":{ "type": "str", "ver": "0", + "data": "+y" + }, + "z":{ "type": "str", "ver": "0", + "data": "+z" + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".fac_cal": + { + "owner": "lsm6dst", + ".scale":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "lsm6dst", + "0":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_1.json b/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_1.json new file mode 100644 index 0000000..bf0d27b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_hdk_lsm6dst_1.json @@ -0,0 +1,322 @@ +{ + "config":{ + "hw_platform": ["HDK"], + "soc_id": ["356"] + }, + "lsm6dst_1":{ + "owner": "lsm6dst", + ".accel":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "lsm6dst_1_platform":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "bus_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "107" + }, + "i3c_address":{ "type": "int", "ver": "0", + "data": "20" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "12500" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "112" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "min_odr":{ "type": "int", "ver": "0", + "data": "20" + }, + "max_odr":{ "type": "int", "ver": "0", + "data": "500" + } + }, + ".orient":{ + "owner": "lsm6dst", + "x":{ "type": "str", "ver": "0", + "data": "+x" + }, + "y":{ "type": "str", "ver": "0", + "data": "+y" + }, + "z":{ "type": "str", "ver": "0", + "data": "+z" + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".fac_cal": + { + "owner": "lsm6dst", + ".scale":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "lsm6dst", + "0":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_irq.json b/proprietary/vendor/etc/sensors/config/kona_irq.json new file mode 100644 index 0000000..90694e6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_irq.json @@ -0,0 +1,9 @@ +{ + "config": { + "hw_platform": ["MTP", "Surf", "RCM", "HDK"], + "soc_id": ["356"] + }, + "sns_irq": { + "owner": "sns_irq" + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_lps22hh_0.json b/proprietary/vendor/etc/sensors/config/kona_lps22hh_0.json new file mode 100644 index 0000000..e10c627 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_lps22hh_0.json @@ -0,0 +1,173 @@ +{ + "config": { + "hw_platform": ["MTP", "Surf", "RCM", "QRD", "HDK"], + "soc_id": ["356"] + }, + "lps22hh_0":{ + "owner": "lps22hh", + ".presssure":{ + "owner": "lps22hh", + ".config":{ + "owner": "lps22hh", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lps22hh", + ".config":{ + "owner": "lps22hh", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "lps22hh_0_platform":{ + "owner": "lps22hh", + ".config":{ + "owner": "lps22hh", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "92" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "129" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".pressure":{ + "owner": "lps22hh", + ".fac_cal": + { + "owner": "lps22hh", + ".scale":{ + "owner": "lps22hh", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lps22hh", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "lps22hh", + ".fac_cal": + { + "owner": "lps22hh", + ".scale":{ + "owner": "lps22hh", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lps22hh", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "lps22hh", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_lsm6dsm_0.json b/proprietary/vendor/etc/sensors/config/kona_lsm6dsm_0.json new file mode 100644 index 0000000..95c0b13 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_lsm6dsm_0.json @@ -0,0 +1,288 @@ +{ + "config":{ + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"], + "soc_id": ["356"] + }, + "lsm6dsm_0_platform":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "bus_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "3" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "9600" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "123" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "lsm6dsm", + "x":{ "type": "str", "ver": "0", + "data": "-x" + }, + "y":{ "type": "str", "ver": "0", + "data": "+y" + }, + "z":{ "type": "str", "ver": "0", + "data": "-z" + } + }, + ".gyro":{ + "owner": "lsm6dsm", + ".fac_cal":{ + "owner": "lsm6dsm", + ".corr_mat":{ + "owner": "lsm6dsm", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dsm", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".nom_val": + { + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + } + } + }, + ".accel":{ + "owner": "lsm6dsm", + ".fac_cal":{ + "owner": "lsm6dsm", + ".corr_mat":{ + "owner": "lsm6dsm", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dsm", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".nom_val": + { + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + } + } + }, + ".temp":{ + "owner": "lsm6dsm", + ".fac_cal": + { + "owner": "lsm6dsm", + ".scale":{ + "owner": "lsm6dsm", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dsm", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "thresh":{ "type": "flt", "ver": "0", + "data": "1.2264" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".ff":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "thresh":{ "type": "flt", "ver": "0", + "data": "2.15" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0048" + } + } + }, + ".hs":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "thresh":{ "type": "flt", "ver": "0", + "data": "17.15" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "lsm6dsm", + "0":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_lsm6dst_0.json b/proprietary/vendor/etc/sensors/config/kona_lsm6dst_0.json new file mode 100644 index 0000000..e6a640c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_lsm6dst_0.json @@ -0,0 +1,322 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "RCM"], + "soc_id": ["356"] + }, + "lsm6dst_0":{ + "owner": "lsm6dst", + ".accel":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "lsm6dst_0_platform":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "bus_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "106" + }, + "i3c_address":{ "type": "int", "ver": "0", + "data": "10" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "12500" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "123" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_odr":{ "type": "int", "ver": "0", + "data": "20" + }, + "max_odr":{ "type": "int", "ver": "0", + "data": "500" + } + }, + ".orient":{ + "owner": "lsm6dst", + "x":{ "type": "str", "ver": "0", + "data": "-x" + }, + "y":{ "type": "str", "ver": "0", + "data": "+y" + }, + "z":{ "type": "str", "ver": "0", + "data": "-z" + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".fac_cal": + { + "owner": "lsm6dst", + ".scale":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "lsm6dst", + "0":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_lsm6dst_1.json b/proprietary/vendor/etc/sensors/config/kona_lsm6dst_1.json new file mode 100644 index 0000000..f73981c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_lsm6dst_1.json @@ -0,0 +1,322 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "RCM"], + "soc_id": ["356"] + }, + "lsm6dst_1":{ + "owner": "lsm6dst", + ".accel":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "lsm6dst_1_platform":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "bus_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "107" + }, + "i3c_address":{ "type": "int", "ver": "0", + "data": "20" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "12500" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "112" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "min_odr":{ "type": "int", "ver": "0", + "data": "20" + }, + "max_odr":{ "type": "int", "ver": "0", + "data": "500" + } + }, + ".orient":{ + "owner": "lsm6dst", + "x":{ "type": "str", "ver": "0", + "data": "-x" + }, + "y":{ "type": "str", "ver": "0", + "data": "+y" + }, + "z":{ "type": "str", "ver": "0", + "data": "-z" + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".fac_cal": + { + "owner": "lsm6dst", + ".scale":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "lsm6dst", + "0":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_mmc5603x_0.json b/proprietary/vendor/etc/sensors/config/kona_mmc5603x_0.json new file mode 100644 index 0000000..a969b18 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_mmc5603x_0.json @@ -0,0 +1,141 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf","HDK"], + "soc_id": ["356"] + }, + "mmc5603x_0_platform":{ + "owner": "sns_mmc5603x", + ".config":{ + "owner": "sns_mmc5603x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "48" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "sns_mmc5603x", + "x":{ "type": "str", "ver": "0", + "data": "-y" + }, + "y":{ "type": "str", "ver": "0", + "data": "+x" + }, + "z":{ "type": "str", "ver": "0", + "data": "+z" + } + }, + ".mag":{ + "owner": "sns_mmc5603x", + ".fac_cal":{ + "owner": "sns_mmc5603x", + ".corr_mat":{ + "owner": "sns_mmc5603x", + "0_0":{ "type": "flt", "ver": "0", + "data": "0.994105" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.102385" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.035570" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.013695" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "0.937495" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.060840" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.010165" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.049450" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.147065" + } + }, + ".bias":{ + "owner": "sns_mmc5603x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_mmc5603x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_power_0.json b/proprietary/vendor/etc/sensors/config/kona_power_0.json new file mode 100644 index 0000000..9227864 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_power_0.json @@ -0,0 +1,108 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "RCM", "QRD", "HDK"], + "soc_id": ["356"] + }, + "power":{ + "owner": "power_manager", + ".island":{ + "owner": "power_manager", + "enable_island":{ "type": "int", "ver": "0", + "data": "1" + } + }, + ".mcps":{ + "owner": "power_manager", + "min_svs":{ "type": "int", "ver": "0", + "data": "269" + }, + "low_svs":{ "type": "int", "ver": "0", + "data": "384" + }, + "svs":{ "type": "int", "ver": "0", + "data": "499" + }, + "nominal":{ "type": "int", "ver": "0", + "data": "806" + }, + "turbo":{ "type": "int", "ver": "0", + "data": "998" + } + }, + ".gpio":{ + "owner": "power_manager", + ".gpio_16":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "16" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "3" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_17":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "17" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "2" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_18":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "18" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "3" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_19":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "19" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "3" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_qrd_ak991x_0.json b/proprietary/vendor/etc/sensors/config/kona_qrd_ak991x_0.json new file mode 100644 index 0000000..2f5dd16 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_qrd_ak991x_0.json @@ -0,0 +1,235 @@ +{ + "config": + { + "hw_platform": ["QRD"], + "soc_id": ["356"] + }, + "ak0991x_0":{ + "owner": "sns_ak0991x", + ".mag":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".config_2":{ + "owner": "sns_ak0991x", + "use_fifo":{ "type": "int", "ver": "0", + "data": "0" + }, + "nsf":{ "type": "int", "ver": "0", + "data": "0" + }, + "sdr":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "ak0991x_0_platform":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "12" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "113" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "sns_ak0991x", + "x":{ "type": "str", "ver": "0", + "data": "+x" + }, + "y":{ "type": "str", "ver": "0", + "data": "-y" + }, + "z":{ "type": "str", "ver": "0", + "data": "-z" + } + }, + ".mag":{ + "owner": "sns_ak0991x", + ".fac_cal":{ + "owner": "sns_ak0991x", + ".corr_mat":{ + "owner": "sns_ak0991x", + "0_0":{ "type": "flt", "ver": "0", + "data": "0.9982" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "-0.0451" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "-0.0029" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "-0.0451" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0022" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "-0.0027" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "-0.0029" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "-0.0027" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "0.9996" + } + }, + ".bias":{ + "owner": "sns_ak0991x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".fac_cal_2":{ + "owner": "sns_ak0991x", + ".corr_mat":{ + "owner": "sns_ak0991x", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_ak0991x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_ak0991x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_qrd_lsm6dst_0.json b/proprietary/vendor/etc/sensors/config/kona_qrd_lsm6dst_0.json new file mode 100644 index 0000000..a1cbd94 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_qrd_lsm6dst_0.json @@ -0,0 +1,319 @@ +{ + "config":{ + "hw_platform": ["QRD"], + "soc_id": ["356"] + }, + "lsm6dst_0":{ + "owner": "lsm6dst", + ".accel":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "lsm6dst_0_platform":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "bus_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "3" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "9600" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "123" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_odr":{ "type": "int", "ver": "0", + "data": "20" + }, + "max_odr":{ "type": "int", "ver": "0", + "data": "500" + } + }, + ".orient":{ + "owner": "lsm6dst", + "x":{ "type": "str", "ver": "0", + "data": "x" + }, + "y":{ "type": "str", "ver": "0", + "data": "+y" + }, + "z":{ "type": "str", "ver": "0", + "data": "z" + } + }, + ".gyro":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "lsm6dst", + ".fac_cal":{ + "owner": "lsm6dst", + ".corr_mat":{ + "owner": "lsm6dst", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "lsm6dst", + ".fac_cal": + { + "owner": "lsm6dst", + ".scale":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dst", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "lsm6dst", + ".config":{ + "owner": "lsm6dst", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "lsm6dst", + "0":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.1" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_qrd_sx932x_0.json b/proprietary/vendor/etc/sensors/config/kona_qrd_sx932x_0.json new file mode 100644 index 0000000..57c7c04 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_qrd_sx932x_0.json @@ -0,0 +1,323 @@ +{ + "config":{ + "hw_platform": ["QRD"], + "soc_id": ["356"] + }, + "sx932x_0":{ + "owner": "sns_sx932x", + ".sar":{ + "owner": "sns_sx932x", + ".config":{ + "owner": "sns_sx932x", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "sx932x_0_platform":{ + "owner": "sns_sx932x", + ".config":{ + "owner": "sns_sx932x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "40" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "64" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "4" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".temp":{ + "owner": "sns_sx932x", + ".fac_cal": + { + "owner": "sns_sx932x", + ".scale":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".sar":{ + "owner": "sns_sx932x", + ".fac_cal": + { + "owner": "sns_sx932x", + ".scale":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_sx932x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".thresh":{ + "owner": "sns_sx932x", + "threshold_0":{ "type": "flt", "ver": "0", + "data": "109.0" + }, + "threshold_1":{ "type": "flt", "ver": "0", + "data": "109.0" + }, + "threshold_2":{ "type": "flt", "ver": "0", + "data": "109.0" + }, + "threshold_3":{ "type": "flt", "ver": "0", + "data": "109.0" + } + }, + ".offset":{ + "owner": "sns_sx932x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".register":{ + "owner": "sns_sx932x", + "Is_config":{ "type": "int", "ver": "0", + "data": "1" + }, + "RegAFEPH0_0x28":{ "type": "int", "ver": "0", + "data": "40" + }, + "RegAFEPH0":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFEPH1_0x29":{ "type": "int", "ver": "0", + "data": "41" + }, + "RegAFEPH1":{ "type": "int", "ver": "0", + "data": "1" + }, + "RegAFEPH2_0x2A":{ "type": "int", "ver": "0", + "data": "42" + }, + "RegAFEPH2":{ "type": "int", "ver": "0", + "data": "26" + }, + "RegAFEPH3_0x2B":{ "type": "int", "ver": "0", + "data": "43" + }, + "RegAFEPH3":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR4_0x24":{ "type": "int", "ver": "0", + "data": "36" + }, + "RegAFECTR4":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR7_0x27":{ "type": "int", "ver": "0", + "data": "39" + }, + "RegAFECTR7":{ "type": "int", "ver": "0", + "data": "71" + }, + "RegAFECTR3_0x23":{ "type": "int", "ver": "0", + "data": "35" + }, + "RegAFECTR3":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR6_0x26":{ "type": "int", "ver": "0", + "data": "38" + }, + "RegAFECTR6":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR8_0x2C":{ "type": "int", "ver": "0", + "data": "44" + }, + "RegAFECTR8":{ "type": "int", "ver": "0", + "data": "18" + }, + "RegAFECTR9_0x2D":{ "type": "int", "ver": "0", + "data": "45" + }, + "RegAFECTR9":{ "type": "int", "ver": "0", + "data": "6" + }, + "RegPROCTR0_0x30":{ "type": "int", "ver": "0", + "data": "48" + }, + "RegPROCTR0":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegPROCTR1_0x31":{ "type": "int", "ver": "0", + "data": "49" + }, + "RegPROCTR1":{ "type": "int", "ver": "0", + "data": "33" + }, + "RegPROCTR4_0x34":{ "type": "int", "ver": "0", + "data": "52" + }, + "RegPROCTR4":{ "type": "int", "ver": "0", + "data": "13" + }, + "RegPROCTR5_0x35":{ "type": "int", "ver": "0", + "data": "53" + }, + "RegPROCTR5":{ "type": "int", "ver": "0", + "data": "8" + }, + "RegPROCTR6_0x36":{ "type": "int", "ver": "0", + "data": "54" + }, + "RegPROCTR6":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegPROCTR7_0x37":{ "type": "int", "ver": "0", + "data": "55" + }, + "RegPROCTR7":{ "type": "int", "ver": "0", + "data": "10" + }, + "RegADVCTR2_0x42":{ "type": "int", "ver": "0", + "data": "66" + }, + "RegADVCTR2":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegADVCTR3_0x43":{ "type": "int", "ver": "0", + "data": "67" + }, + "RegADVCTR3":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegADVCTR4_0x44":{ "type": "int", "ver": "0", + "data": "68" + }, + "RegADVCTR4":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegIRFQSrc_0x00":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegIRFQSrc":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegIrqMsk_0x05":{ "type": "int", "ver": "0", + "data": "5" + }, + "RegIrqMsk":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegGnrlCtrl1_0x11":{ "type": "int", "ver": "0", + "data": "17" + }, + "RegGnrlCtrl1":{ "type": "int", "ver": "0", + "data": "36" + } + } + } +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/config/kona_qrd_tmd2725_0.json b/proprietary/vendor/etc/sensors/config/kona_qrd_tmd2725_0.json new file mode 100644 index 0000000..16c08a8 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_qrd_tmd2725_0.json @@ -0,0 +1,265 @@ +{ + "config":{ + "hw_platform": ["QRD"], + "platform_version": ["65536"], + "soc_id": ["356"] + }, + "tmd2725_0":{ + "owner": "sns_tmd2725", + ".als":{ + "owner": "sns_tmd2725", + ".config":{ + "owner": "sns_tmd2725", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".prox":{ + "owner": "sns_tmd2725", + ".config":{ + "owner": "sns_tmd2725", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "tmd2725_0_platform":{ + "owner": "sns_tmd2725", + ".config":{ + "owner": "sns_tmd2725", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "57" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "122" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_tmd2725", + ".fac_cal":{ + "owner": "sns_tmd2725", + "scale":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "2000.0" + } + }, + ".custom_cal":{ + "owner": "sns_tmd2725", + "l0_factor":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "l1_factor":{ "type": "flt", "ver": "0", + "data": "260.0" + }, + "l2_factor":{ "type": "flt", "ver": "0", + "data": "800.0" + }, + "l3_factor":{ "type": "flt", "ver": "0", + "data": "270.0" + }, + "d_factor":{ "type": "flt", "ver": "0", + "data": "750.0" + } + }, + ".def_config":{ + "owner": "sns_tmd2725", + "a_time":{ "type": "flt", "ver": "0", + "data": "90000.0" + }, + "w_time":{ "type": "flt", "ver": "0", + "data": "28.0" + }, + "w_long":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "a_gain":{ "type": "flt", "ver": "0", + "data": "16000.0" + }, + "a_pers":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "a_upperThrs":{ "type": "flt", "ver": "0", + "data": "5.0" + }, + "a_lowerThrs":{ "type": "flt", "ver": "0", + "data": "5.0" + }, + "a_thrsWidth":{ "type": "flt", "ver": "0", + "data": "10.0" + } + }, + ".cal_target":{ + "owner": "sns_tmd2725", + "lux_cal_target":{ "type": "flt", "ver": "0", + "data": "300.0" + }, + "lux_cal_target_tolerance":{ "type": "flt", "ver": "0", + "data": "30.0" + } + } + }, + ".prox":{ + "owner": "sns_tmd2725", + ".fac_cal":{ + "owner": "sns_tmd2725", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "60.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "19.0" + } + }, + ".proxOffset_hWcal":{ + "owner": "sns_tmd2725", + "proxOffset":{ "type": "flt", "ver": "0", + "data": "7.0" + }, + "proxOffsetSign":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".def_config":{ + "owner": "sns_tmd2725", + "ptime":{ "type": "flt", "ver": "0", + "data": "49896.0" + }, + "pwait_time":{ "type": "flt", "ver": "0", + "data": "28.0" + }, + "ppulse_len":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "ppulse":{ "type": "flt", "ver": "0", + "data": "17.0" + }, + "pgain":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "pldrive":{ "type": "flt", "ver": "0", + "data": "24.0" + }, + "ppers":{ "type": "flt", "ver": "0", + "data": "2.0" + }, + "pupper_thrs":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "plower_thrs":{ "type": "flt", "ver": "0", + "data": "255.0" + }, + "poffset_sign":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "poffset_L":{ "type": "flt", "ver": "0", + "data": "50.0" + }, + "pBinSearch":{ "type": "flt", "ver": "0", + "data": "2.0" + } + } + }, + ".placement":{ + "owner": "sns_tmd2725", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_shtw2_0.json b/proprietary/vendor/etc/sensors/config/kona_shtw2_0.json new file mode 100644 index 0000000..4f3aec7 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_shtw2_0.json @@ -0,0 +1,165 @@ +{ + "config": + { + "hw_platform": ["MTP", "Surf", "RCM"], + "soc_id": ["356"] + }, + "shtw2_0":{ + "owner": "sns_shtw2", + ".ambient_temperature":{ + "owner": "sns_shtw2", + ".config":{ + "owner": "sns_shtw2", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".humidity":{ + "owner": "sns_shtw2", + ".config":{ + "owner": "sns_shtw2", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "shtw2_0_platform":{ + "owner": "sns_shtw2", + ".config":{ + "owner": "sns_shtw2", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "112" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".ambient_temperature":{ + "owner": "sns_shtw2", + ".fac_cal": + { + "owner": "sns_shtw2", + ".scale":{ + "owner": "sns_shtw2", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_shtw2", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".humidity":{ + "owner": "sns_shtw2", + ".fac_cal": + { + "owner": "sns_shtw2", + ".scale":{ + "owner": "sns_shtw2", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_shtw2", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_shtw2", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".threshold":{ + "owner": "sns_shtw2", + "0":{ "type": "flt", "ver": "0", + "data": "0.5" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.5" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_stk2232_0.json b/proprietary/vendor/etc/sensors/config/kona_stk2232_0.json new file mode 100644 index 0000000..cc1d0b0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_stk2232_0.json @@ -0,0 +1,99 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "QRD", "HDK"], + "soc_id": ["356"] + }, + "stk2232_0_platform":{ + "owner": "sns_stk2232", + ".config":{ + "owner": "sns_stk2232", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "70" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "136" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_stk2232", + ".fac_cal":{ + "owner": "sns_stk2232", + "scale":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "5000.0" + }, + "rowcoe":{ "type": "flt", "ver": "0", + "data": "466.1" + } + } + }, + ".ps":{ + "owner": "sns_stk2232", + ".fac_cal":{ + "owner": "sns_stk2232", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "250.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "200.0" + }, + "offset1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "offset2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1cm_thrd":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3cm_thrd":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_stk3a6x_0.json b/proprietary/vendor/etc/sensors/config/kona_stk3a6x_0.json new file mode 100644 index 0000000..41506f3 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_stk3a6x_0.json @@ -0,0 +1,72 @@ +{ + "config": { + "hw_platform": [ "HDK", "MTP", "Dragon", "Surf" ], + "soc_id": [ "356" ] + }, + "stk3a6x_0_platform":{ + "owner": "sns_stk3a6x", + ".config":{ + "owner": "sns_stk3a6x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "72" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_stk3a6x", + ".fac_cal":{ + "owner": "sns_stk3a6x", + "scale":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "5000.0" + } + } + }, + ".ps":{ + "owner": "sns_stk3a6x", + ".fac_cal":{ + "owner": "sns_stk3a6x", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "900.0" + }, + "ctir_config":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_svr_bma4_0.json b/proprietary/vendor/etc/sensors/config/kona_svr_bma4_0.json new file mode 100644 index 0000000..e4c660e --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_svr_bma4_0.json @@ -0,0 +1,250 @@ +{ + "config":{ + "hw_platform": ["MTP"], + "soc_id": ["356"] + }, + "bma4_0":{ + "owner": "sns_bma4", + ".accel":{ + "owner": "sns_bma4", + ".config":{ + "owner": "sns_bma4", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "sns_bma4", + ".config":{ + "owner": "sns_bma4", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "sns_bma4", + ".config":{ + "owner": "sns_bma4", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "bma4_0_platform":{ + "owner": "sns_bma4", + ".config":{ + "owner": "sns_bma4", + "bus_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "3" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "9600" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "122" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "1" + } + }, + ".orient":{ + "owner": "sns_bma4", + "x":{ "type": "str", "ver": "0", + "data": "-y" + }, + "y":{ "type": "str", "ver": "0", + "data": "-x" + }, + "z":{ "type": "str", "ver": "0", + "data": "-z" + } + }, + ".accel":{ + "owner": "sns_bma4", + ".fac_cal":{ + "owner": "sns_bma4", + ".corr_mat":{ + "owner": "sns_bma4", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bma4", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "sns_bma4", + ".fac_cal": + { + "owner": "sns_bma4", + ".scale":{ + "owner": "sns_bma4", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bma4", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "sns_bma4", + ".config":{ + "owner": "sns_bma4", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "sns_bma4", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_svr_bmg160_0.json b/proprietary/vendor/etc/sensors/config/kona_svr_bmg160_0.json new file mode 100644 index 0000000..15bd668 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_svr_bmg160_0.json @@ -0,0 +1,232 @@ +{ + "config":{ + "hw_platform": ["MTP"], + "soc_id": ["356"] + }, + "bmg160_0":{ + "owner": "sns_bmg160", + ".gyro":{ + "owner": "sns_bmg160", + ".config":{ + "owner": "sns_bmg160", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "sns_bmg160", + ".config":{ + "owner": "sns_bmg160", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "bmg160_0_platform":{ + "owner": "sns_bmg160", + ".config":{ + "owner": "sns_bmg160", + "bus_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "3" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "1" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "9600" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "123" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "1" + } + }, + ".orient":{ + "owner": "sns_bmg160", + "x":{ "type": "str", "ver": "0", + "data": "-y" + }, + "y":{ "type": "str", "ver": "0", + "data": "-x" + }, + "z":{ "type": "str", "ver": "0", + "data": "-z" + } + }, + ".gyro":{ + "owner": "sns_bmg160", + ".fac_cal":{ + "owner": "sns_bmg160", + ".corr_mat":{ + "owner": "sns_bmg160", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmg160", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "sns_bmg160", + ".fac_cal": + { + "owner": "sns_bmg160", + ".scale":{ + "owner": "sns_bmg160", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmg160", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "sns_bmg160", + ".config":{ + "owner": "sns_bmg160", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "sns_bmg160", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_svr_icm4x6xx_0.json b/proprietary/vendor/etc/sensors/config/kona_svr_icm4x6xx_0.json new file mode 100644 index 0000000..74220f7 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_svr_icm4x6xx_0.json @@ -0,0 +1,340 @@ +{ + "config":{ + "hw_platform": ["MTP"], + "soc_id": ["356"] + }, + "icm4x6xx_0":{ + "owner": "icm4x6xx", + ".accel":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "7" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".freefall":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "icm4x6xx_0_platform":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "bus_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "6" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "9600" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "112" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "4" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "icm4x6xx", + "x":{ "type": "str", "ver": "0", + "data": "-x" + }, + "y":{ "type": "str", "ver": "0", + "data": "y" + }, + "z":{ "type": "str", "ver": "0", + "data": "-z" + } + }, + ".gyro":{ + "owner": "icm4x6xx", + ".fac_cal":{ + "owner": "icm4x6xx", + ".corr_mat":{ + "owner": "icm4x6xx", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "icm4x6xx", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + } + }, + ".fac_cal":{ + "owner": "icm4x6xx", + ".corr_mat":{ + "owner": "icm4x6xx", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "icm4x6xx", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "icm4x6xx", + ".fac_cal": + { + "owner": "icm4x6xx", + ".scale":{ + "owner": "icm4x6xx", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "icm4x6xx", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "icm4x6xx", + ".config":{ + "owner": "icm4x6xx", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "icm4x6xx", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_svr_rpr0521rs_0.json b/proprietary/vendor/etc/sensors/config/kona_svr_rpr0521rs_0.json new file mode 100644 index 0000000..520cfa1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_svr_rpr0521rs_0.json @@ -0,0 +1,249 @@ +{ + "config":{ + "hw_platform": ["MTP"], + "soc_id": ["356"] + }, + "rpr0521rs_0":{ + "owner": "sns_rpr0521rs", + ".ambient_light":{ + "owner": "sns_rpr0521rs", + ".config":{ + "owner": "sns_rpr0521rs", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".proximity":{ + "owner": "sns_rpr0521rs", + ".config":{ + "owner": "sns_rpr0521rs", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "rpr0521rs_0_platform":{ + "owner": "sns_rpr0521rs", + ".config":{ + "owner": "sns_rpr0521rs", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "56" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "89" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".ambient_light":{ + "owner": "sns_rpr0521rs", + ".fac_cal":{ + "owner": "sns_rpr0521rs", + ".coefficient":{ + "owner": "sns_rpr0521rs", + "d0_0":{ "type": "flt", "ver": "0", + "data": "1.682" + }, + "d0_1":{ "type": "flt", "ver": "0", + "data": "0.644" + }, + "d0_2":{ "type": "flt", "ver": "0", + "data": "0.756" + }, + "d0_3":{ "type": "flt", "ver": "0", + "data": "0.766" + }, + "d1_0":{ "type": "flt", "ver": "0", + "data": "1.877" + }, + "d1_1":{ "type": "flt", "ver": "0", + "data": "0.132" + }, + "d1_2":{ "type": "flt", "ver": "0", + "data": "0.243" + }, + "d1_3":{ "type": "flt", "ver": "0", + "data": "0.250" + }, + "judg_0":{ "type": "flt", "ver": "0", + "data": "0.595" + }, + "judg_1":{ "type": "flt", "ver": "0", + "data": "0.595" + }, + "judg_2":{ "type": "flt", "ver": "0", + "data": "1.352" + }, + "judg_3":{ "type": "flt", "ver": "0", + "data": "3.053" + } + }, + ".scale":{ + "owner": "sns_rpr0521rs", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_rpr0521rs", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".fac_cal_init":{ + "owner": "sns_rpr0521rs", + ".init_scale":{ + "owner": "sns_rpr0521rs", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".init_bias":{ + "owner": "sns_rpr0521rs", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".proximity":{ + "owner": "sns_rpr0521rs", + ".fac_cal":{ + "owner": "sns_rpr0521rs", + ".near_threshold":{ + "owner": "sns_rpr0521rs", + "thres":{ "type": "flt", "ver": "0", + "data": "180" + } + }, + ".far_threshold":{ + "owner": "sns_rpr0521rs", + "thres":{ "type": "flt", "ver": "0", + "data": "98" + } + }, + ".scale":{ + "owner": "sns_rpr0521rs", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_rpr0521rs", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".fac_cal_init":{ + "owner": "sns_rpr0521rs", + ".init_bias":{ + "owner": "sns_rpr0521rs", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_rpr0521rs", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_sx9324_0.json b/proprietary/vendor/etc/sensors/config/kona_sx9324_0.json new file mode 100644 index 0000000..c7ddbf6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_sx9324_0.json @@ -0,0 +1,98 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "RCM", "HDK", "IDP", "QRD"], + "soc_id": ["356"], + "hw_id": ["12", "13", "14", "15", "51", "52", "53", "54", "21", "23"] + }, + "sx9324_0_platform":{ + "owner": "sns_sx9324", + ".config":{ + "owner": "sns_sx9324", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "44" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "51" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".placement":{ + "owner": "sns_sx9324", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_sx9324up_0.json b/proprietary/vendor/etc/sensors/config/kona_sx9324up_0.json new file mode 100644 index 0000000..a7997a6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_sx9324up_0.json @@ -0,0 +1,98 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "RCM", "HDK", "IDP", "QRD"], + "soc_id": ["356"], + "hw_id": ["12", "13", "14", "15", "51", "52", "53", "54", "21", "23"] + }, + "sx9324up_0_platform":{ + "owner": "sns_sx9324up", + ".config":{ + "owner": "sns_sx9324up", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "40" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "113" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".placement":{ + "owner": "sns_sx9324up", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_sx932x_0.json b/proprietary/vendor/etc/sensors/config/kona_sx932x_0.json new file mode 100644 index 0000000..3f191a1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_sx932x_0.json @@ -0,0 +1,323 @@ +{ + "config":{ + "hw_platform": ["MTP", "RCM", "Surf"], + "soc_id": ["356"] + }, + "sx932x_0":{ + "owner": "sns_sx932x", + ".sar":{ + "owner": "sns_sx932x", + ".config":{ + "owner": "sns_sx932x", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "sx932x_0_platform":{ + "owner": "sns_sx932x", + ".config":{ + "owner": "sns_sx932x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "44" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "64" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "4" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".temp":{ + "owner": "sns_sx932x", + ".fac_cal": + { + "owner": "sns_sx932x", + ".scale":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".sar":{ + "owner": "sns_sx932x", + ".fac_cal": + { + "owner": "sns_sx932x", + ".scale":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_sx932x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_sx932x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".thresh":{ + "owner": "sns_sx932x", + "threshold_0":{ "type": "flt", "ver": "0", + "data": "16.0" + }, + "threshold_1":{ "type": "flt", "ver": "0", + "data": "16.0" + }, + "threshold_2":{ "type": "flt", "ver": "0", + "data": "16.0" + }, + "threshold_3":{ "type": "flt", "ver": "0", + "data": "16.0" + } + }, + ".offset":{ + "owner": "sns_sx932x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".register":{ + "owner": "sns_sx932x", + "Is_config":{ "type": "int", "ver": "0", + "data": "1" + }, + "RegAFEPH0_0x28":{ "type": "int", "ver": "0", + "data": "40" + }, + "RegAFEPH0":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFEPH1_0x29":{ "type": "int", "ver": "0", + "data": "41" + }, + "RegAFEPH1":{ "type": "int", "ver": "0", + "data": "1" + }, + "RegAFEPH2_0x2A":{ "type": "int", "ver": "0", + "data": "42" + }, + "RegAFEPH2":{ "type": "int", "ver": "0", + "data": "39" + }, + "RegAFEPH3_0x2B":{ "type": "int", "ver": "0", + "data": "43" + }, + "RegAFEPH3":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR4_0x24":{ "type": "int", "ver": "0", + "data": "36" + }, + "RegAFECTR4":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR7_0x27":{ "type": "int", "ver": "0", + "data": "39" + }, + "RegAFECTR7":{ "type": "int", "ver": "0", + "data": "71" + }, + "RegAFECTR3_0x23":{ "type": "int", "ver": "0", + "data": "35" + }, + "RegAFECTR3":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR6_0x26":{ "type": "int", "ver": "0", + "data": "38" + }, + "RegAFECTR6":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegAFECTR8_0x2C":{ "type": "int", "ver": "0", + "data": "44" + }, + "RegAFECTR8":{ "type": "int", "ver": "0", + "data": "18" + }, + "RegAFECTR9_0x2D":{ "type": "int", "ver": "0", + "data": "45" + }, + "RegAFECTR9":{ "type": "int", "ver": "0", + "data": "6" + }, + "RegPROCTR0_0x30":{ "type": "int", "ver": "0", + "data": "48" + }, + "RegPROCTR0":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegPROCTR1_0x31":{ "type": "int", "ver": "0", + "data": "49" + }, + "RegPROCTR1":{ "type": "int", "ver": "0", + "data": "33" + }, + "RegPROCTR4_0x34":{ "type": "int", "ver": "0", + "data": "52" + }, + "RegPROCTR4":{ "type": "int", "ver": "0", + "data": "13" + }, + "RegPROCTR5_0x35":{ "type": "int", "ver": "0", + "data": "53" + }, + "RegPROCTR5":{ "type": "int", "ver": "0", + "data": "8" + }, + "RegPROCTR6_0x36":{ "type": "int", "ver": "0", + "data": "54" + }, + "RegPROCTR6":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegPROCTR7_0x37":{ "type": "int", "ver": "0", + "data": "55" + }, + "RegPROCTR7":{ "type": "int", "ver": "0", + "data": "10" + }, + "RegADVCTR2_0x42":{ "type": "int", "ver": "0", + "data": "66" + }, + "RegADVCTR2":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegADVCTR3_0x43":{ "type": "int", "ver": "0", + "data": "67" + }, + "RegADVCTR3":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegADVCTR4_0x44":{ "type": "int", "ver": "0", + "data": "68" + }, + "RegADVCTR4":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegIRFQSrc_0x00":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegIRFQSrc":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegIrqMsk_0x05":{ "type": "int", "ver": "0", + "data": "5" + }, + "RegIrqMsk":{ "type": "int", "ver": "0", + "data": "0" + }, + "RegGnrlCtrl1_0x11":{ "type": "int", "ver": "0", + "data": "17" + }, + "RegGnrlCtrl1":{ "type": "int", "ver": "0", + "data": "36" + } + } + } +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/config/kona_tcs3408.json b/proprietary/vendor/etc/sensors/config/kona_tcs3408.json new file mode 100644 index 0000000..6970ad6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_tcs3408.json @@ -0,0 +1,165 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf"], + "soc_id": ["291", "246", "356"] + }, + "tcs3408_platform":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "4" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "57" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_tcs3408", + ".fac_cal":{ + "owner": "sns_tcs3408", + "scale":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "cal_chc":{ "type": "flt", "ver": "0", + "data": "21769.0" + }, + "cal_chr":{ "type": "flt", "ver": "0", + "data": "9346.0" + }, + "cal_chg":{ "type": "flt", "ver": "0", + "data": "8023.0" + }, + "cal_chb":{ "type": "flt", "ver": "0", + "data": "5580.0" + }, + "cal_chw":{ "type": "flt", "ver": "0", + "data": "9168.0" + }, + "rowcoe":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "cal_clc":{ "type": "flt", "ver": "0", + "data": "23386.0" + }, + "cal_clr":{ "type": "flt", "ver": "0", + "data": "14115.0" + }, + "cal_clg":{ "type": "flt", "ver": "0", + "data": "7245.0" + }, + "cal_clb":{ "type": "flt", "ver": "0", + "data": "3718.0" + }, + "cal_clw":{ "type": "flt", "ver": "0", + "data": "9850.0" + } + } + }, + ".rgb":{ + "owner": "sns_tcs3408", + ".fac_cal":{ + "owner": "sns_tcs3408", + "scale":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".flicker":{ + "owner": "sns_tcs3408", + ".fac_cal":{ + "owner": "sns_tcs3408", + "scale":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".coefficient":{ + "owner": "sns_tcs3408", + "0":{ "type": "flt", "ver": "0", + "data": "15.9" + }, + "1":{ "type": "flt", "ver": "0", + "data": "1.66" + }, + "2":{ "type": "flt", "ver": "0", + "data": "-1.02" + }, + "3":{ "type": "flt", "ver": "0", + "data": "2.36" + }, + "4":{ "type": "flt", "ver": "0", + "data": "-3.15" + }, + "5":{ "type": "flt", "ver": "0", + "data": "41138.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "24609.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "12686.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "5824.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "14860.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "600.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "12":{ "type": "flt", "ver": "0", + "data": "38343.0" + }, + "13":{ "type": "flt", "ver": "0", + "data": "15820.0" + }, + "14":{ "type": "flt", "ver": "0", + "data": "13981.5" + }, + "15":{ "type": "flt", "ver": "0", + "data": "9757.0" + }, + "16":{ "type": "flt", "ver": "0", + "data": "13584.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_tcs3701.json b/proprietary/vendor/etc/sensors/config/kona_tcs3701.json new file mode 100644 index 0000000..03cef2a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_tcs3701.json @@ -0,0 +1,168 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf"], + "soc_id": ["356"] + }, + "tcs3701_platform":{ + "owner": "sns_tcs3701", + ".config":{ + "owner": "sns_tcs3701", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "57" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "122" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_tcs3701", + ".fac_cal":{ + "owner": "sns_tcs3701", + "scale":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "cal_chh0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "cal_chh1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "cal_chh2":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "cal_chh3":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "cal_chl0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "cal_chl1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "cal_chl2":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "cal_chl3":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "rowcoe":{ "type": "flt", "ver": "0", + "data": "1000.0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3701", + ".fac_cal":{ + "owner": "sns_tcs3701", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "200.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "150.0" + }, + "offset1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "offset2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1cm_thrd":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3cm_thrd":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".coefficient":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "0", + "data": "5.2" + }, + "1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "-0.6" + }, + "3":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "-0.1" + }, + "5":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "1022.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "525.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "368.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "175.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "1638.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "326.0" + }, + "12":{ "type": "flt", "ver": "0", + "data": "468.0" + }, + "13":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_tcs3707.json b/proprietary/vendor/etc/sensors/config/kona_tcs3707.json new file mode 100644 index 0000000..dd610d3 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_tcs3707.json @@ -0,0 +1,153 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf"], + "soc_id": ["356"] + }, + "tcs3707_platform":{ + "owner": "sns_tcs3707", + ".config":{ + "owner": "sns_tcs3707", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "57" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_tcs3707", + ".fac_cal":{ + "owner": "sns_tcs3707", + "scale":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "cal_chc":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "cal_chr":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "cal_chg":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "cal_chb":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "cal_chw":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "rowcoe":{ "type": "flt", "ver": "0", + "data": "1000.0" + } + } + }, + ".rgb":{ + "owner": "sns_tcs3707", + ".fac_cal":{ + "owner": "sns_tcs3707", + "scale":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3707", + ".fac_cal":{ + "owner": "sns_tcs3707", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "60.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "40.0" + } + } + }, + ".coefficient":{ + "owner": "sns_tcs3707", + "0":{ "type": "flt", "ver": "0", + "data": "15.9" + }, + "1":{ "type": "flt", "ver": "0", + "data": "1.66" + }, + "2":{ "type": "flt", "ver": "0", + "data": "-1.02" + }, + "3":{ "type": "flt", "ver": "0", + "data": "2.36" + }, + "4":{ "type": "flt", "ver": "0", + "data": "-3.15" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "600.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "12":{ "type": "flt", "ver": "0", + "data": "500.0" + }, + "13":{ "type": "flt", "ver": "0", + "data": "300.0" + }, + "14":{ "type": "flt", "ver": "0", + "data": "400.0" + }, + "15":{ "type": "flt", "ver": "0", + "data": "200.0" + }, + "16":{ "type": "flt", "ver": "0", + "data": "600.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/kona_tmd2725_0.json b/proprietary/vendor/etc/sensors/config/kona_tmd2725_0.json new file mode 100644 index 0000000..992d714 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/kona_tmd2725_0.json @@ -0,0 +1,264 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "RCM", "HDK"], + "soc_id": ["356"] + }, + "tmd2725_0":{ + "owner": "sns_tmd2725", + ".als":{ + "owner": "sns_tmd2725", + ".config":{ + "owner": "sns_tmd2725", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".prox":{ + "owner": "sns_tmd2725", + ".config":{ + "owner": "sns_tmd2725", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + }, + "tmd2725_0_platform":{ + "owner": "sns_tmd2725", + ".config":{ + "owner": "sns_tmd2725", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "57" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "122" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_tmd2725", + ".fac_cal":{ + "owner": "sns_tmd2725", + "scale":{ "type": "flt", "ver": "0", + "data": "1625.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "2000.0" + } + }, + ".custom_cal":{ + "owner": "sns_tmd2725", + "l0_factor":{ "type": "flt", "ver": "0", + "data": "1000.0" + }, + "l1_factor":{ "type": "flt", "ver": "0", + "data": "260.0" + }, + "l2_factor":{ "type": "flt", "ver": "0", + "data": "800.0" + }, + "l3_factor":{ "type": "flt", "ver": "0", + "data": "270.0" + }, + "d_factor":{ "type": "flt", "ver": "0", + "data": "41.0" + } + }, + ".def_config":{ + "owner": "sns_tmd2725", + "a_time":{ "type": "flt", "ver": "0", + "data": "90000.0" + }, + "w_time":{ "type": "flt", "ver": "0", + "data": "28.0" + }, + "w_long":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "a_gain":{ "type": "flt", "ver": "0", + "data": "16000.0" + }, + "a_pers":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "a_upperThrs":{ "type": "flt", "ver": "0", + "data": "5.0" + }, + "a_lowerThrs":{ "type": "flt", "ver": "0", + "data": "5.0" + }, + "a_thrsWidth":{ "type": "flt", "ver": "0", + "data": "10.0" + } + }, + ".cal_target":{ + "owner": "sns_tmd2725", + "lux_cal_target":{ "type": "flt", "ver": "0", + "data": "300.0" + }, + "lux_cal_target_tolerance":{ "type": "flt", "ver": "0", + "data": "15.0" + } + } + }, + ".prox":{ + "owner": "sns_tmd2725", + ".fac_cal":{ + "owner": "sns_tmd2725", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "36.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "19.0" + } + }, + ".proxOffset_hWcal":{ + "owner": "sns_tmd2725", + "proxOffset":{ "type": "flt", "ver": "0", + "data": "4.0" + }, + "proxOffsetSign":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".def_config":{ + "owner": "sns_tmd2725", + "ptime":{ "type": "flt", "ver": "0", + "data": "49896.0" + }, + "pwait_time":{ "type": "flt", "ver": "0", + "data": "28.0" + }, + "ppulse_len":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "ppulse":{ "type": "flt", "ver": "0", + "data": "17.0" + }, + "pgain":{ "type": "flt", "ver": "0", + "data": "4000.0" + }, + "pldrive":{ "type": "flt", "ver": "0", + "data": "24.0" + }, + "ppers":{ "type": "flt", "ver": "0", + "data": "2.0" + }, + "pupper_thrs":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "plower_thrs":{ "type": "flt", "ver": "0", + "data": "255.0" + }, + "poffset_sign":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "poffset_L":{ "type": "flt", "ver": "0", + "data": "50.0" + }, + "pBinSearch":{ "type": "flt", "ver": "0", + "data": "2.0" + } + } + }, + ".placement":{ + "owner": "sns_tmd2725", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/lsm6dsm_0.json b/proprietary/vendor/etc/sensors/config/lsm6dsm_0.json new file mode 100644 index 0000000..8531297 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/lsm6dsm_0.json @@ -0,0 +1,82 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"], + "soc_id": ["356"] + }, + "lsm6dsm_0":{ + "owner": "lsm6dsm", + ".accel":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "4" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/lsm6dsm_0_8g.json b/proprietary/vendor/etc/sensors/config/lsm6dsm_0_8g.json new file mode 100644 index 0000000..68bc8bd --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/lsm6dsm_0_8g.json @@ -0,0 +1,20 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"], + "soc_id": ["356"] + }, + "lsm6dsm_0":{ + "owner": "lsm6dsm", + ".accel":{ + "owner": "lsm6dsm", + ".config":{ + "owner": "lsm6dsm", + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + } + } + } + } +} + diff --git a/proprietary/vendor/etc/sensors/config/mmc5603x_0.json b/proprietary/vendor/etc/sensors/config/mmc5603x_0.json new file mode 100644 index 0000000..13e8753 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/mmc5603x_0.json @@ -0,0 +1,27 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf","HDK"], + "soc_id": ["356"] + }, + "mmc5603x_0":{ + "owner": "sns_mmc5603x", + ".mag":{ + "owner": "sns_mmc5603x", + ".config":{ + "owner": "sns_mmc5603x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_amd.json b/proprietary/vendor/etc/sensors/config/sns_amd.json new file mode 100644 index 0000000..1f1271c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_amd.json @@ -0,0 +1,16 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "340", "347", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", + "407", "417", "440", "415", "439", "416", "437", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_amd": { + "owner": "sns_amd", + "param1": {"ver": "0","type": "flt","data": "0.06" + }, + "param2": {"ver": "0","type": "flt","data": "0.5" + }, + "sample_rate": {"ver": "0","type": "flt", "data": "10.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json b/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json new file mode 100644 index 0000000..a7bcb8e --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json @@ -0,0 +1,11 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK"], + "soc_id": ["339", "340", "356", "361", "415", "439"] + }, + "sns_amd": { + "owner": "sns_amd", + "enabled": {"ver": "0","type": "int", "data": "0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json b/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json new file mode 100644 index 0000000..105f669 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json @@ -0,0 +1,12 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "347", "341", "355", "360", "365", "366", "393", "394", "400", "407", "417", "440", + "416", "437", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_amd": { + "owner": "sns_amd", + "enabled": {"ver": "0","type": "int", "data": "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_aont.json b/proprietary/vendor/etc/sensors/config/sns_aont.json new file mode 100644 index 0000000..ed52420 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_aont.json @@ -0,0 +1,10 @@ +{ + "config":{ + }, + "sns_aont": { + "owner": "sns_aont", + "aont_enable":{ "type": "int", "ver": "0", + "data": "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_basic_gestures.json b/proprietary/vendor/etc/sensors/config/sns_basic_gestures.json new file mode 100644 index 0000000..fa0141a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_basic_gestures.json @@ -0,0 +1,37 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417","440", + "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_basic_gestures": { + "owner": "sns_basic_gestures", + "sample_rate": { "type": "flt", "ver": "0", + "data": "30.0" + }, + "push_threshold": { "type": "flt", "ver": "0", + "data": "14.7178" + }, + "pull_threshold": { "type": "flt", "ver": "0", + "data": "14.7178" + }, + "shake_threshold": { "type": "flt", "ver": "0", + "data": "14.7178" + }, + "sleep": { "type": "flt", "ver": "0", + "data": "0.3" + }, + "param1": { "type": "flt", "ver": "0", + "data": "0.1" + }, + "param2": { "type": "flt", "ver": "0", + "data": "4.9059" + }, + "param3": { "type": "flt", "ver": "0", + "data": "0.1" + }, + "param4": { "type": "flt", "ver": "0", + "data": "0.2618" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_bring_to_ear.json b/proprietary/vendor/etc/sensors/config/sns_bring_to_ear.json new file mode 100644 index 0000000..6dba6a3 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_bring_to_ear.json @@ -0,0 +1,37 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "415", "439", "440", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_bring_to_ear": { + "owner": "sns_bring_to_ear", + "sample_rate": { "type": "flt", "ver": "0", + "data": "30.0" + }, + "facing_angle_threshold": { "type": "flt", "ver": "0", + "data": "1.1345" + }, + "horiz_angle_threshold": { "type": "flt", "ver": "0", + "data": "0.3491" + }, + "vert_angle_threshold": { "type": "flt", "ver": "0", + "data": "0.3491" + }, + "proximity_enable": { "type": "int", "ver": "0", + "data": "0" + }, + "param1": { "type": "flt", "ver": "0", + "data": "2.943" + }, + "param2": { "type": "flt", "ver": "0", + "data": "0.2" + }, + "param3": { "type": "flt", "ver": "0", + "data": "0.2618" + }, + "param4": {"type": "flt", "ver": "0", + "data": "0.2" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_ccd.json b/proprietary/vendor/etc/sensors/config/sns_ccd.json new file mode 100644 index 0000000..abbeb72 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_ccd.json @@ -0,0 +1,150 @@ +{ + "config": { + "hw_platform": ["MTP","QRD","Dragon","Surf", "HDK"], + "soc_id": ["339", "340", "356", "361", "415", "439"] + }, + "ccd_amd": { + "owner": "sns_ccd", + "h2": { "ver": "0","type": "int", + "data": "50"}, + "disable_flush_only": { "ver": "0","type": "int", + "data": "0"} + }, + "ccd_ttw": { + "owner": "sns_ccd", + "te0_ratecfg": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_xmd_win_len_samp": { "ver": "0","type": "int", + "data": "0x4" }, + "te0_xmd_threshhold1": { "ver": "0","type": "int", + "data": "0x4B00" }, + "te0_xmd_threshhold2": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_xmd_hysteresis1": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_xmd_hysteresis2": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_tilt_win_sum_shift": { "ver": "0","type": "int", + "data": "0x2" }, + "te0_tr_win_len_samples": { "ver": "0","type": "int", + "data": "0xD" }, + "te0_tr_angle_cosine_sq": { "ver": "0","type": "int", + "data": "0x327" }, + "te0_tr_decimate_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_tr_hysteresis": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_dt_angle_cosine_sq": { "ver": "0","type": "int", + "data": "0x2D0" }, + "te0_dt_ref_gravity_latch": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori0_x_th_lower": { "ver": "0","type": "int", + "data": "0x1DED" }, + "te0_ori0_x_th_upper": { "ver": "0","type": "int", + "data": "0x0213" }, + "te0_ori0_y_th_lower": { "ver": "0","type": "int", + "data": "0x1B1D" }, + "te0_ori0_y_th_upper": { "ver": "0","type": "int", + "data": "0x04E3" }, + "te0_ori0_z_th_lower": { "ver": "0","type": "int", + "data": "0x1B44" }, + "te0_ori0_z_th_upper": { "ver": "0","type": "int", + "data": "0x4D5" }, + "te0_ori0_x_th_lower_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_x_th_upper_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_y_th_lower_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_y_th_upper_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_z_th_lower_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_z_th_upper_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_x_th_lower": { "ver": "0","type": "int", + "data": "0x1C88" }, + "te0_ori1_x_th_upper": { "ver": "0","type": "int", + "data": "0x377" }, + "te0_ori1_y_th_lower": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_y_th_upper": { "ver": "0","type": "int", + "data": "0xF00" }, + "te0_ori1_z_th_lower": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_z_th_upper": { "ver": "0","type": "int", + "data": "0xA00" }, + "te0_ori1_x_th_lower_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_x_th_upper_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_y_th_lower_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_y_th_upper_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_z_th_lower_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_z_th_upper_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_xmd_cfg1_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_xmd_cfg2_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_tr_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_ori0_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_xmd_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_xmd_cfg2_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_tr_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_ori_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_xmd_cfg1_inv": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_xmd_cfg2_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_tr_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_ori0_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_output_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg1_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg2_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_tr_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_ori1_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_xmd_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg2_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_tr_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_ori_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg1_inv": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_xmd_cfg2_inv": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_tr_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_ori1_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_output_inv": { "ver": "0","type": "int", + "data": "0x0" } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json b/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json new file mode 100644 index 0000000..79351d1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json @@ -0,0 +1,17 @@ +{ + "config": { + "hw_platform": ["MTP","QRD","Dragon","Surf", "HDK"], + "soc_id": ["339", "340", "361"] + }, + "ccd_walk": { + "owner": "sns_ccd", + "xct": { "ver": "0","type": "int", + "data": "0xA" }, + "mls": { "ver": "0","type": "int", + "data": "0x6" }, + "mps": { "ver": "0","type": "int", + "data": "0x4" }, + "hmps": { "ver": "0","type": "int", + "data": "0x4" } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_ccd_v3_1_walk.json b/proprietary/vendor/etc/sensors/config/sns_ccd_v3_1_walk.json new file mode 100644 index 0000000..732fbf3 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_ccd_v3_1_walk.json @@ -0,0 +1,39 @@ +{ + "config": { + "hw_platform": ["MTP", "Surf", "RCM", "QRD", "HDK"], + "soc_id": ["415", "439"] + }, + "ccd_walk": { + "owner": "sns_ccd", + "xct": { "ver": "0","type": "int", + "data": "0xA" }, + "mls": { "ver": "0","type": "int", + "data": "0x6" }, + "mps": { "ver": "0","type": "int", + "data": "0x4" }, + "hmps": { "ver": "0","type": "int", + "data": "0x4" }, + "hwln1": { "ver": "0","type": "int", + "data": "0xA" }, + "mwln3": { "ver": "0","type": "int", + "data": "0xA" }, + "hpe0": { "ver": "0","type": "int", + "data": "0x1" }, + "lcb0": { "ver": "0","type": "int", + "data": "0xD17E" }, + "lcb1": { "ver": "0","type": "int", + "data": "0x0889" }, + "lcb2": { "ver": "0","type": "int", + "data": "0x16C7" }, + "lcb3": { "ver": "0","type": "int", + "data": "0x0106" }, + "lcb4": { "ver": "0","type": "int", + "data": "0x0324" }, + "lcb5": { "ver": "0","type": "int", + "data": "0x3850" }, + "lcb6": { "ver": "0","type": "int", + "data": "0xfffede4b" }, + "ltt": { "ver": "0","type": "int", + "data": "0xFC9C" } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json b/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json new file mode 100644 index 0000000..62fffc5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json @@ -0,0 +1,39 @@ +{ + "config": { + "hw_platform": ["MTP", "Surf", "RCM", "QRD"], + "soc_id": ["356"] + }, + "ccd_walk": { + "owner": "sns_ccd", + "xct": { "ver": "0","type": "int", + "data": "0xA" }, + "mls": { "ver": "0","type": "int", + "data": "0x2" }, + "mps": { "ver": "0","type": "int", + "data": "0x4" }, + "hmps": { "ver": "0","type": "int", + "data": "0x2" }, + "hwln1": { "ver": "0","type": "int", + "data": "0xA" }, + "mwln3": { "ver": "0","type": "int", + "data": "0xA" }, + "hpe0": { "ver": "0","type": "int", + "data": "0x1" }, + "lcb0": { "ver": "0","type": "int", + "data": "0xE832" }, + "lcb1": { "ver": "0","type": "int", + "data": "0x3F8" }, + "lcb2": { "ver": "0","type": "int", + "data": "0x8E1" }, + "lcb3": { "ver": "0","type": "int", + "data": "0x37B" }, + "lcb4": { "ver": "0","type": "int", + "data": "0x1E6" }, + "lcb5": { "ver": "0","type": "int", + "data": "0x2ADF" }, + "lcb6": { "ver": "0","type": "int", + "data": "0xF9A" }, + "ltt": { "ver": "0","type": "int", + "data": "0xFCFC" } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_cm.json b/proprietary/vendor/etc/sensors/config/sns_cm.json new file mode 100644 index 0000000..e03d19b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_cm.json @@ -0,0 +1,20 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "347", "355", "356", "360", "361", "365", "366", "393", "394", "400", + "407", "416", "417", "437", "440", "415", "439", "444", "445", "420", "424", "443", "459", "441", "471"] + + }, +"sns_cm":{ + "owner": "sns_cm", + "heap_size":{ "type": "int", "ver": "0", + "data": "1572864" + }, + "max_batch_disabled":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_batch_period_thrshld_ms":{ "type": "int", "ver": "0", + "data": "10" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_dae.json b/proprietary/vendor/etc/sensors/config/sns_dae.json new file mode 100644 index 0000000..ce8c8f1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_dae.json @@ -0,0 +1,30 @@ +{ + "config":{ + "hw_platform": ["MTP","QRD","Dragon","Surf", "HDK"], + "soc_id": ["339", "356", "361", "415", "439"] + }, + "dae":{ + "owner": "sns_dae", + "use_sdc":{ "type": "int", "ver": "0", + "data": "1" + }, + "debug_accel_values":{ "type": "int", "ver": "0", + "data": "0" + }, + "dd_msg_mask":{ "type": "int", "ver": "0", + "data": "0" + }, + "enable_qdss":{ "type": "int", "ver": "0", + "data": "0" + }, + "dbg_mask":{ "type": "int", "ver": "0", + "data": "0" + }, + "ulog_msg_mask":{ "type": "int", "ver": "0", + "data": "0" + }, + "fwk_msg_mask":{ "type": "int", "ver": "0", + "data": "0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_device_orient.json b/proprietary/vendor/etc/sensors/config/sns_device_orient.json new file mode 100644 index 0000000..127c436 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_device_orient.json @@ -0,0 +1,38 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", + "417", "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_device_orient_platform": { + "owner": "sns_device_orient", + ".config":{ + "owner": "sns_device_orient", + "param0": { + "type": "int", "ver": "0", "data": "4" + }, + "param1": { + "type": "flt", "ver": "0", "data": "20.0" + }, + "param2": { + "type": "flt", "ver": "0", "data": "0.25" + }, + "param3": { + "type": "flt", "ver": "0", "data": "70.0" + }, + "param4": { + "type": "flt", "ver": "0", "data": "45.0" + }, + "param5": { + "type": "flt", "ver": "0", "data": "2.0" + }, + "param6": { + "type": "flt", "ver": "0", "data": "15.0" + }, + "param7": { + "type": "int", "ver": "0", "data": "1" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_diag_filter.json b/proprietary/vendor/etc/sensors/config/sns_diag_filter.json new file mode 100644 index 0000000..e6926da --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_diag_filter.json @@ -0,0 +1,367 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "IOT"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "347", "355", "356", "360", "361", "352", "365", "366", "393", "394", "400", + "407", "417", "440", "415", "439", "416", "437", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + + "sns_diag_config": + { + "owner":"diag_filter_sensor", + "qdss": + { + "type" : "int", + "ver" : "0", + "data" : "0" + } + }, + + "sns_diag_sensor_datatype": + { + "owner":"diag_filter_sensor", + + "geomag_rv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "game_rv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gravity": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "cm": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "accel": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "humidity": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ambient_temperature": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "sensor_temperature": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "motion_detect": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gyro": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ultra_violet": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "pressure": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "mag": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "offbody_detect": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "thermopile": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ambient_light": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "hall": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "proximity": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "rgb": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "test": + { + "type" : "int", + "ver" : "0", + "data" : "0" + }, + "flush_test": + { + "type" : "int", + "ver" : "0", + "data" : "0" + }, + "md_test": + { + "type" : "int", + "ver" : "0", + "data" : "0" + }, + "da_test": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "amd": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "rmd": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "facing": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gyro_cal": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "oem1": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "mag_cal": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "resampler": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "smd": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "basic_gestures": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "multishake": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "bring_to_ear": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "cmc": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "dpc": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "distance_bound": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gyro_rot_matrix": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "fmv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "rotv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "pedometer": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "device_orient": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "tilt": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "tilt_to_wake": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "heart_rate": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ppg": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "wrist_tilt_gesture": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "pedometer_wrist": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "data_acquisition_engine": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ccd_walk": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ccd_ttw": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ccd_hw": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "threshold": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "sar": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "radar": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "activity_recognition": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "dae_datalog": + { + "type" : "int", + "ver" : "0", + "data" : "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_distance_bound.json b/proprietary/vendor/etc/sensors/config/sns_distance_bound.json new file mode 100644 index 0000000..5f0992c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_distance_bound.json @@ -0,0 +1,28 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_distance_bound_speed_for_motion_states": { + "owner": "sns_distance_bound", + "unknown": {"ver": "0","type": "flt","data": "0.0" + }, + "stationary": {"ver": "0","type": "flt","data": "0.0" + }, + "move": {"ver": "0","type": "flt","data": "1.0" + }, + "fiddle": {"ver": "0","type": "flt","data": "0.0" + }, + "pedestrian": {"ver": "0","type": "flt","data": "1.0" + }, + "vehicle": {"ver": "0","type": "flt","data": "16.67" + }, + "walk": {"ver": "0","type": "flt","data": "1.1" + }, + "run": {"ver": "0","type": "flt","data": "2.5" + }, + "bike": {"ver": "0","type": "flt","data": "5.55" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_dpc.json b/proprietary/vendor/etc/sensors/config/sns_dpc.json new file mode 100644 index 0000000..d915955 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_dpc.json @@ -0,0 +1,28 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_dpc": { + "owner": "sns_dpc", + "param1": { + "ver": "0", "type": "flt", "data": "0.5" + }, + "param2": { + "ver": "0", "type": "flt", "data": "0.02" + }, + "param3": { + "ver": "0", "type": "flt", "data": "0.04" + }, + "param4": { + "ver": "0", "type": "flt", "data": "7.5" + }, + "param5": { + "ver": "0", "type": "flt", "data": "0.1" + }, + "param6": { + "ver": "0", "type": "flt", "data": "0.1746" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_facing.json b/proprietary/vendor/etc/sensors/config/sns_facing.json new file mode 100644 index 0000000..17e89b2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_facing.json @@ -0,0 +1,25 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_facing": { + "owner": "sns_facing", + "angle_threshold": { "type": "flt", "ver": "0", + "data": "0.3491" + }, + "report_neutral": { "type": "int", "ver": "0", + "data": "1" + }, + "sample_rate": { "type": "flt", "ver": "0", + "data": "30.0" + }, + "min_sample_rate": { "type": "flt", "ver": "0", + "data": "30.0" + }, + "max_sample_rate": { "type": "flt", "ver": "0", + "data": "100.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_fmv.json b/proprietary/vendor/etc/sensors/config/sns_fmv.json new file mode 100644 index 0000000..8949dd0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_fmv.json @@ -0,0 +1,49 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["415", "439"] + }, + "sns_fmv_platform": { + "owner": "sns_fmv", + ".config":{ + "owner": "sns_fmv", + "accuracy_unknown": { "type": "int", "ver": "0", + "data": "30000" + }, + "accuracy_abs_rest": { "type": "int", "ver": "0", + "data": "30000" + }, + "accuracy_rel_rest": { "type": "int", "ver": "0", + "data": "30000" + }, + "accuracy_motion": { "type": "int", "ver": "0", + "data": "30000" + }, + "accuracy_fast_motion": { "type": "int", "ver": "0", + "data": "10000" + }, + "gyro_gap_thresh": { "type": "int", "ver": "0", + "data": "500" + }, + "mag_innov": { "type": "flt", "ver": "0", + "data": "9.0" + }, + "mag_sample_gap_fac": { "type": "flt", "ver": "0", + "data": "1.0" + }, + "tyro_thresh_for_zupt": { "type": "flt", "ver": "0", + "data": "0.001" + }, + "amd_int_cfg_param1": { "type": "flt", "ver": "0", + "data": "0.000061" + }, + "amd_int_cfg_param2": { "type": "flt", "ver": "0", + "data": "0.6" + }, + "amd_int_cfg_param3": { "type": "flt", "ver": "0", + "data": "0.4" + } + } + } +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/config/sns_fmv_legacy.json b/proprietary/vendor/etc/sensors/config/sns_fmv_legacy.json new file mode 100644 index 0000000..d6bc5bf --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_fmv_legacy.json @@ -0,0 +1,53 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_fmv_platform": { + "owner": "sns_fmv", + ".config":{ + "owner": "sns_fmv", + "accuracy_unknown": { "type": "int", "ver": "0", + "data": "3000" + }, + "accuracy_abs_rest": { "type": "int", "ver": "0", + "data": "250" + }, + "accuracy_rel_rest": { "type": "int", "ver": "0", + "data": "1500" + }, + "accuracy_motion": { "type": "int", "ver": "0", + "data": "3000" + }, + "gyro_gap_thresh": { "type": "int", "ver": "0", + "data": "501" + }, + "mag_innov": { "type": "flt", "ver": "0", + "data": "9.0" + }, + "mag_sample_gap_fac": { "type": "flt", "ver": "0", + "data": "1.0" + }, + "tyro_thresh_for_zupt": { "type": "flt", "ver": "0", + "data": "0.001" + }, + "sensor_rpt_rate": { "type": "flt", "ver": "0", + "data": "1.0" + }, + "def_sample_rate": { "type": "flt", "ver": "0", + "data": "5.0" + }, + "amd_int_cfg_param1": { "type": "flt", "ver": "0", + "data": "0.06" + }, + "amd_int_cfg_param2": { "type": "flt", "ver": "0", + "data": "0.5" + }, + "amd_int_cfg_param5": { "type": "flt", "ver": "0", + "data": "0.16" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json b/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json new file mode 100644 index 0000000..589957f --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json @@ -0,0 +1,29 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "415", "439", "416", "437", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_geomag_rv": { + "owner": "sns_geomag_rv", + ".config": { + "owner": "sns_geomag_rv", + "gamerv_cfg_param1": {"type": "int","ver": "0","data": "300" + }, + "gamerv_cfg_param2": {"type": "int","ver": "0","data": "300" + }, + "fusion_min_samp_rate": {"type": "flt","ver": "0","data": "1.0" + }, + "gamerv_def_rpt_rate": {"type": "flt","ver": "0","data": "1.0" + }, + "gamerv_def_sample_rate": {"type": "flt","ver": "0","data": "5.0" + }, + "amd_int_cfg_param1": {"type": "flt","ver": "0","data": "0.06" + }, + "amd_int_cfg_param2": {"type": "flt","ver": "0","data": "0.5" + }, + "game_rv_c_sys": {"type": "int","ver": "0","data": "0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json b/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json new file mode 100644 index 0000000..293daa6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json @@ -0,0 +1,25 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "347", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", + "407", "417", "440", "415", "439", "416", "437", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_gyro_cal_config": { + "owner": "sns_gyro_cal", + "calibration_period": {"type": "int","ver": "0", + "data": "60" + }, + "num_samples": {"type": "int","ver": "0", + "data": "64" + }, + "variance_threshold": {"type": "flt","ver": "0", + "data": "0.00000085" + }, + "sample_rate": {"type": "flt","ver": "0", + "data": "10.0" + }, + "bias_threshold": {"type": "flt","ver": "0", + "data": "0.20" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_heart_rate.json b/proprietary/vendor/etc/sensors/config/sns_heart_rate.json new file mode 100644 index 0000000..b1fff54 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_heart_rate.json @@ -0,0 +1,137 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf","QRD","HDK" + ], + "soc_id": ["300" , "301" + ] + }, + "sns_heart_rate": { + "owner": "sns_heart_rate", + "sample_rate_ppg":{"ver": "0","type": "flt", + "data": "20.0" + }, + "sample_rate_accel":{"ver": "0","type": "flt", + "data": "20.0" + }, + "update_flterval_in_fft_samples":{"ver": "0","type": "int", + "data": "20.0" + }, + "min_fft_fltervals_for_first_one_shot_update":{"ver": "0","type": "int", + "data": "7" + }, + "min_fft_fltervals_for_first_continuous_update":{"ver": "0","type": "int", + "data": "7" + }, + "max_bpm_age_for_warm_start":{"ver": "0","type": "int", + "data": "3276800" + }, + "max_alpha":{"ver": "0","type": "flt", + "data": "1.0" + }, + "min_alpha":{"ver": "0","type": "flt", + "data": "0.01" + }, + "min_o_h":{"ver": "0","type": "flt", + "data": "0.5" + }, + "max_o_h":{"ver": "0","type": "flt", + "data": "0.9" + }, + "max_del_b":{"ver": "0","type": "flt", + "data": "10.0" + }, + "acc_peak_distance":{"ver": "0","type": "int", + "data": "1" + }, + "ppg_peak_distance":{"ver": "0","type": "int", + "data": "2" + }, + "num_ppg_peaks":{"ver": "0","type": "int", + "data": "6" + }, + "num_acc_peaks":{"ver": "0","type": "int", + "data": "6" + }, + "peak_width_ppg":{"ver": "0","type": "int", + "data": "2" + }, + "peak_thresh_ppg":{"ver": "0","type": "flt", + "data": "0.1" + }, + "peak_thresh_acc":{"ver": "0","type": "flt", + "data": "0.1" + }, + "max_ind_diff":{"ver": "0","type": "int", + "data": "10" + }, + "max_acc_thr":{"ver": "0","type": "flt", + "data": "80" + }, + "harm_acc_thr":{"ver": "0","type": "flt", + "data": "0.6" + }, + "oneshot_max_acc_thr":{"ver": "0","type": "flt", + "data": "10.0" + }, + "oneshot_harm_acc_thr":{"ver": "0","type": "flt", + "data": "0.4" + }, + "continuous_max_acc_thr":{"ver": "0","type": "flt", + "data": "80.0" + }, + "continuous_harm_acc_thr":{"ver": "0","type": "flt", + "data": "0.6" + }, + "globalminhr":{"ver": "0","type": "flt", + "data": "40.0" + }, + "globalmaxhr":{"ver": "0","type": "flt", + "data": "250.0" + }, + "num_samples_to_skip_after_reset":{"ver": "0","type": "int", + "data": "40" + }, + "noaccel_thresh":{"ver": "0","type": "flt", + "data": "80000.0" + }, + "max_blanked_ppg_segments":{"ver": "0","type": "int", + "data": "51" + }, + "min_bad_spread_ratio_for_ppg_blanking":{"ver": "0","type": "flt", + "data": "2.3" + }, + "max_blanked_accel_segments":{"ver": "0","type": "int", + "data": "0" + }, + "min_bad_spread_ratio_for_accel_blanking":{"ver": "0","type": "flt", + "data": "2.3" + }, + "accuracy_decay_alpha":{"ver": "0","type": "flt", + "data": "0.98" + }, + "android_accuracy_low_thresh":{"ver": "0","type": "flt", + "data": "0.3" + }, + "android_accuracy_high_thresh":{"ver": "0","type": "flt", + "data": "0.7" + }, + "android_accuracy_medium_thresh":{"ver": "0","type": "flt", + "data": "0.45" + }, + "do_minppg":{"ver": "0","type": "int", + "data": "1" + }, + "do_mingoodppgtrack":{"ver": "0","type": "int", + "data": "0" + }, + "do_width_harm":{"ver": "0","type": "int", + "data": "1" + }, + "do_stride_is_hr_processing":{"ver": "0","type": "int", + "data": "0" + }, + "alpha_lowpass":{"ver": "0","type": "flt", + "data": "0.27" + } + } +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/config/sns_mag_cal.json b/proprietary/vendor/etc/sensors/config/sns_mag_cal.json new file mode 100644 index 0000000..9171507 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_mag_cal.json @@ -0,0 +1,15 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "HDK", "IDP", "QRD"], + "soc_id": ["339", "355", "356", "361", "365", "366", "394", "400", "407", "417", "440", "415", "439", "416", "437", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_mag_cal_config": { + "owner": "sns_mag_cal", + "anomaly_threshold": {"type": "flt","ver": "0", + "data": "200.0" + }, + "sample_rate": { "type": "flt", "ver": "0", + "data": "25.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json b/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json new file mode 100644 index 0000000..d846189 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json @@ -0,0 +1,12 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "341", "360", "393"] + }, + "sns_mag_cal_config": { + "owner": "sns_mag_cal", + "anomaly_threshold": {"type": "flt","ver": "0", + "data": "200.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_multishake.json b/proprietary/vendor/etc/sensors/config/sns_multishake.json new file mode 100644 index 0000000..be313b1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_multishake.json @@ -0,0 +1,25 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_multishake": { + "owner": "sns_multishake", + "min_shake_period": { + "ver": "0", "type": "flt", "data": "0.22" + }, + "max_shake_period": { + "ver": "0", "type": "flt", "data": "0.7" + }, + "sleep_time": { + "ver": "0", "type": "flt", "data": "0.12" + }, + "shake_thresh": { + "ver": "0", "type": "flt", "data": "1.5" + }, + "sample_rate": { + "ver": "0", "type": "flt", "data": "100.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_pedometer.json b/proprietary/vendor/etc/sensors/config/sns_pedometer.json new file mode 100644 index 0000000..df9f385 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_pedometer.json @@ -0,0 +1,34 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_pedometer": { + "owner": "sns_pedometer", + "param8": { + "ver": "0", "type": "flt", "data": "3.0" + }, + "param7": { + "ver": "0", "type": "flt", "data": "0.5" + }, + "param6": { + "ver": "0", "type": "flt", "data": "4.0" + }, + "param5": { + "ver": "0", "type": "flt", "data": "0.2" + }, + "param4": { + "ver": "0", "type": "flt", "data": "0.02" + }, + "param3": { + "ver": "0", "type": "flt", "data": "0.1" + }, + "param2": { + "ver": "0", "type": "flt", "data": "0.5" + }, + "param1": { + "ver": "0", "type": "flt", "data": "0.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_rmd.json b/proprietary/vendor/etc/sensors/config/sns_rmd.json new file mode 100644 index 0000000..48d3d88 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_rmd.json @@ -0,0 +1,25 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", + "400", "407", "417", "440", "415", "439", "416", "437", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_rmd": { + "owner": "sns_rmd", + "param4": { + "ver": "0", "type": "flt", "data": "0.2" + }, + "param3": { + "ver": "0", "type": "flt", "data": "5" + }, + "param2": { + "ver": "0", "type": "flt", "data": "0.2" + }, + "param1": { + "ver": "0", "type": "flt", "data": "173" + }, + "sample_rate": { + "ver": "0", "type": "flt", "data": "30.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_rotv.json b/proprietary/vendor/etc/sensors/config/sns_rotv.json new file mode 100644 index 0000000..43694a2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_rotv.json @@ -0,0 +1,23 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", + "407", "417", "440", "415", "439", "416", "437","444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_rotv_platform": { + "owner": "sns_rotv", + ".config":{ + "owner": "sns_rotv", + "min_report_rate": { + "type": "flt", "ver": "0", "data": "1.0" + }, + "coordinate_sys": { + "type": "int", "ver": "0", "data": "0" + }, + "sample_rate": { + "type": "flt", "ver": "0", "data": "5.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_smd.json b/proprietary/vendor/etc/sensors/config/sns_smd.json new file mode 100644 index 0000000..1d8703f --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_smd.json @@ -0,0 +1,40 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "347", "394", "400", + "407", "416", "417", "437", "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_smd": { + "owner": "sns_smd", + "sample_rate": { + "ver": "0", "type": "flt", "data": "10.0" + }, + "accel_window_time": { + "ver": "0", "type": "int", "data": "5" + }, + "detect_threshold": { + "ver": "0", "type": "flt", "data": "0.158113883" + }, + "self_transition_prob_sm": { + "ver": "0", "type": "flt", "data": "0.9" + }, + "variable_decision_latency": { + "ver": "0", "type": "int", "data": "1" + }, + "max_latency": { + "ver": "0", "type": "int", "data": "10" + }, + "step_count_thresh": { + "ver": "0", "type": "int", "data": "5" + }, + "step_window_time": { + "ver": "0", "type": "int", "data": "3" + }, + "eigen_thresh": { + "ver": "0", "type": "flt", "data": "6.0" + }, + "accel_norm_std_thresh": { + "ver": "0", "type": "flt", "data": "2.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt.json b/proprietary/vendor/etc/sensors/config/sns_tilt.json new file mode 100644 index 0000000..e194f30 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt.json @@ -0,0 +1,18 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "IDP", "QRD"], + "soc_id": ["291", "246", "305", "321", "336", "339", "340", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", + "440", "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_tilt": { + "owner": "sns_tilt", + "sample_rate": {"ver": "0","type": "flt","data": "10.0" + }, + "angle_threshold": {"ver": "0","type": "flt","data": "0.61086524" + }, + "init_accel_window_time": {"ver": "0","type": "flt", "data": "1.0" + }, + "accel_window_time": {"ver": "0","type": "flt", "data": "2.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json new file mode 100644 index 0000000..d4b44aa --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json @@ -0,0 +1,11 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "QRD"], + "soc_id": ["339", "340", "356", "361", "415", "439"] + }, + "sns_tilt": { + "owner": "sns_tilt", + "enabled": {"ver": "0","type": "int", "data": "0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json new file mode 100644 index 0000000..5c9151f --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json @@ -0,0 +1,11 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "IDP", "QRD"], + "soc_id": ["291", "246", "305", "321", "336", "341", "355", "360", "365", "366", "393", "394", "400", "407", "417", "440", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471"] + }, + "sns_tilt": { + "owner": "sns_tilt", + "enabled": {"ver": "0","type": "int", "data": "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json b/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json new file mode 100644 index 0000000..2588912 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json @@ -0,0 +1,48 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "IDP", "QRD" + ], + "soc_id": ["291", "246", "305", "321", "336", "339", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417", "440", + "415", "439", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471" + ] + }, + "sns_tilt_to_wake": { + "owner": "sns_tilt_to_wake", + "accel_sampling_rate":{"ver": "0","type": "flt", + "data": "25.0" + }, + "filter_window_seconds":{"ver": "0","type": "flt", + "data": "0.16" + }, + "accel_window_seconds":{"ver": "0","type": "flt", + "data": "1.1" + }, + "accel_sub_window_seconds":{"ver": "0","type": "flt", + "data": "0.55" + }, + "window_for_accel_stability_check_seconds":{"ver": "0","type": "flt", + "data": "0.16" + }, + "min_delta_pitch_threshold_deg":{"ver": "0","type": "flt", + "data": "45.0" + }, + "min_pitch_threshold_deg":{"ver": "0","type": "flt", + "data": "40.0" + }, + "min_abs_delta_z_threshold_deg":{"ver": "0","type": "flt", + "data": "10.0" + }, + "max_roll_threshold_deg":{"ver": "0","type": "flt", + "data": "25.0" + }, + "max_accel_spread_threshold":{"ver": "0","type": "flt", + "data": "4.8" + }, + "max_accel_norm_deviation_from_G_threshold":{"ver": "0","type": "flt", + "data": "2.7" + }, + "max_pitch_threshold_deg":{"ver": "0","type": "flt", + "data": "200.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json b/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json new file mode 100644 index 0000000..840d27c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json @@ -0,0 +1,29 @@ +{ + "config": { + "hw_platform": [ + "MTP", "Dragon", "Surf", "QRD" ], + "soc_id": [ + "300", "301" ] + }, + "sns_wrist_pedo": { + "owner": "sns_wrist_pedo", + "default_disable": { + "ver": "0", "type": "int", "data": "0" + }, + "sample_rate": { + "ver": "0", "type": "flt", "data": "20.0" + }, + "step_count_threshold": { + "ver": "0", "type": "int", "data": "0" + }, + "step_threshold": { + "ver": "0", "type": "flt", "data": "10.1" + }, + "swing_threshold": { + "ver": "0", "type": "flt", "data": "10.5" + }, + "step_prob_threshold": { + "ver": "0", "type": "flt", "data": "0.49" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/stk2232_0.json b/proprietary/vendor/etc/sensors/config/stk2232_0.json new file mode 100644 index 0000000..c984a7b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/stk2232_0.json @@ -0,0 +1,46 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "HDK"], + "soc_id": ["356"] + }, + "stk2232_0":{ + "owner": "sns_stk2232", + ".ambient_light":{ + "owner": "sns_stk2232", + ".config":{ + "owner": "sns_stk2232", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".proximity":{ + "owner": "sns_stk2232", + ".config":{ + "owner": "sns_stk2232", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/stk3a6x_0.json b/proprietary/vendor/etc/sensors/config/stk3a6x_0.json new file mode 100644 index 0000000..6e334bb --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/stk3a6x_0.json @@ -0,0 +1,46 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"], + "soc_id": ["356"] + }, + "stk3a6x_0":{ + "owner": "sns_stk3a6x", + ".ambient_light":{ + "owner": "sns_stk3a6x", + ".config":{ + "owner": "sns_stk3a6x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".proximity":{ + "owner": "sns_stk3a6x", + ".config":{ + "owner": "sns_stk3a6x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sx9324_0.json b/proprietary/vendor/etc/sensors/config/sx9324_0.json new file mode 100644 index 0000000..05ec666 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sx9324_0.json @@ -0,0 +1,28 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "RCM", "HDK", "IDP", "QRD"], + "soc_id": ["356"] + }, + "sx9324_0":{ + "owner": "sx9324_0", + ".sar":{ + "owner": "sx9324_0", + ".config":{ + "owner": "sx9324_0", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sx9324up_0.json b/proprietary/vendor/etc/sensors/config/sx9324up_0.json new file mode 100644 index 0000000..a44a334 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sx9324up_0.json @@ -0,0 +1,28 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "RCM", "HDK", "IDP", "QRD"], + "soc_id": ["356"] + }, + "sx9324up_0":{ + "owner": "sx9324up_0", + ".sar":{ + "owner": "sx9324up_0", + ".config":{ + "owner": "sx9324up_0", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/tcs3408.json b/proprietary/vendor/etc/sensors/config/tcs3408.json new file mode 100644 index 0000000..a443cf2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/tcs3408.json @@ -0,0 +1,64 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf"], + "soc_id": ["291", "246", "356"] + }, + "tcs3408":{ + "owner": "sns_tcs3408", + ".als":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".rgb":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "2" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".flicker":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "2" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/tcs3701.json b/proprietary/vendor/etc/sensors/config/tcs3701.json new file mode 100644 index 0000000..064141a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/tcs3701.json @@ -0,0 +1,46 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf"], + "soc_id": ["356"] + }, + "tcs3701":{ + "owner": "sns_tcs3701", + ".als":{ + "owner": "sns_tcs3701", + ".config":{ + "owner": "sns_tcs3701", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3701", + ".config":{ + "owner": "sns_tcs3701", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/tcs3707.json b/proprietary/vendor/etc/sensors/config/tcs3707.json new file mode 100644 index 0000000..6ef4701 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/tcs3707.json @@ -0,0 +1,64 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf"], + "soc_id": ["356"] + }, + "tcs3707":{ + "owner": "sns_tcs3707", + ".als":{ + "owner": "sns_tcs3707", + ".config":{ + "owner": "sns_tcs3707", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3707", + ".config":{ + "owner": "sns_tcs3707", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".rgb":{ + "owner": "sns_tcs3707", + ".config":{ + "owner": "sns_tcs3707", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/wigig_sensing_0.json b/proprietary/vendor/etc/sensors/config/wigig_sensing_0.json new file mode 100644 index 0000000..3ab0d4b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/wigig_sensing_0.json @@ -0,0 +1,23 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["356"] + }, + "wigig_sensing": + { + "owner": "wigig_sensing", + "dri_gpio_num": { + "ver": "0", "type": "int", "data": "15" + }, + "spi_instance": { + "ver": "0", "type": "int", "data": "6" + }, + "spi_freq_khz": { + "ver": "0", "type": "int", "data": "20000" + }, + "enable": { + "ver": "0", "type": "int", "data": "0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/hals.conf b/proprietary/vendor/etc/sensors/hals.conf new file mode 100644 index 0000000..5f3a14b --- /dev/null +++ b/proprietary/vendor/etc/sensors/hals.conf @@ -0,0 +1 @@ +sensors.ssc.so diff --git a/proprietary/vendor/etc/sensors/proto/descriptor.proto b/proprietary/vendor/etc/sensors/proto/descriptor.proto new file mode 100644 index 0000000..a2102d7 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/descriptor.proto @@ -0,0 +1,885 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// The messages in this file describe the definitions found in .proto files. +// A valid .proto file can be translated directly to a FileDescriptorProto +// without any other information (e.g. without reading its imports). + + +syntax = "proto2"; + +package google.protobuf; + +option go_package = "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DescriptorProtos"; +option csharp_namespace = "Google.Protobuf.Reflection"; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// descriptor.proto must be optimized for speed because reflection-based +// algorithms don't work during bootstrapping. +option optimize_for = SPEED; + +// The protocol compiler can output a FileDescriptorSet containing the .proto +// files it parses. +message FileDescriptorSet { + repeated FileDescriptorProto file = 1; +} + +// Describes a complete .proto file. +message FileDescriptorProto { + optional string name = 1; // file name, relative to root of source tree + optional string package = 2; // e.g. "foo", "foo.bar", etc. + + // Names of files imported by this file. + repeated string dependency = 3; + // Indexes of the public imported files in the dependency list above. + repeated int32 public_dependency = 10; + // Indexes of the weak imported files in the dependency list. + // For Google-internal migration only. Do not use. + repeated int32 weak_dependency = 11; + + // All top-level definitions in this file. + repeated DescriptorProto message_type = 4; + repeated EnumDescriptorProto enum_type = 5; + repeated ServiceDescriptorProto service = 6; + repeated FieldDescriptorProto extension = 7; + + optional FileOptions options = 8; + + // This field contains optional information about the original source code. + // You may safely remove this entire field without harming runtime + // functionality of the descriptors -- the information is needed only by + // development tools. + optional SourceCodeInfo source_code_info = 9; + + // The syntax of the proto file. + // The supported values are "proto2" and "proto3". + optional string syntax = 12; +} + +// Describes a message type. +message DescriptorProto { + optional string name = 1; + + repeated FieldDescriptorProto field = 2; + repeated FieldDescriptorProto extension = 6; + + repeated DescriptorProto nested_type = 3; + repeated EnumDescriptorProto enum_type = 4; + + message ExtensionRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + + optional ExtensionRangeOptions options = 3; + } + repeated ExtensionRange extension_range = 5; + + repeated OneofDescriptorProto oneof_decl = 8; + + optional MessageOptions options = 7; + + // Range of reserved tag numbers. Reserved tag numbers may not be used by + // fields or extension ranges in the same message. Reserved ranges may + // not overlap. + message ReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + } + repeated ReservedRange reserved_range = 9; + // Reserved field names, which may not be used by fields in the same message. + // A given name may only be reserved once. + repeated string reserved_name = 10; +} + +message ExtensionRangeOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +// Describes a field within a message. +message FieldDescriptorProto { + enum Type { + // 0 is reserved for errors. + // Order is weird for historical reasons. + TYPE_DOUBLE = 1; + TYPE_FLOAT = 2; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if + // negative values are likely. + TYPE_INT64 = 3; + TYPE_UINT64 = 4; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if + // negative values are likely. + TYPE_INT32 = 5; + TYPE_FIXED64 = 6; + TYPE_FIXED32 = 7; + TYPE_BOOL = 8; + TYPE_STRING = 9; + // Tag-delimited aggregate. + // Group type is deprecated and not supported in proto3. However, Proto3 + // implementations should still be able to parse the group wire format and + // treat group fields as unknown fields. + TYPE_GROUP = 10; + TYPE_MESSAGE = 11; // Length-delimited aggregate. + + // New in version 2. + TYPE_BYTES = 12; + TYPE_UINT32 = 13; + TYPE_ENUM = 14; + TYPE_SFIXED32 = 15; + TYPE_SFIXED64 = 16; + TYPE_SINT32 = 17; // Uses ZigZag encoding. + TYPE_SINT64 = 18; // Uses ZigZag encoding. + } + + enum Label { + // 0 is reserved for errors + LABEL_OPTIONAL = 1; + LABEL_REQUIRED = 2; + LABEL_REPEATED = 3; + } + + optional string name = 1; + optional int32 number = 3; + optional Label label = 4; + + // If type_name is set, this need not be set. If both this and type_name + // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. + optional Type type = 5; + + // For message and enum types, this is the name of the type. If the name + // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping + // rules are used to find the type (i.e. first the nested types within this + // message are searched, then within the parent, on up to the root + // namespace). + optional string type_name = 6; + + // For extensions, this is the name of the type being extended. It is + // resolved in the same manner as type_name. + optional string extendee = 2; + + // For numeric types, contains the original text representation of the value. + // For booleans, "true" or "false". + // For strings, contains the default text contents (not escaped in any way). + // For bytes, contains the C escaped value. All bytes >= 128 are escaped. + // TODO(kenton): Base-64 encode? + optional string default_value = 7; + + // If set, gives the index of a oneof in the containing type's oneof_decl + // list. This field is a member of that oneof. + optional int32 oneof_index = 9; + + // JSON name of this field. The value is set by protocol compiler. If the + // user has set a "json_name" option on this field, that option's value + // will be used. Otherwise, it's deduced from the field's name by converting + // it to camelCase. + optional string json_name = 10; + + optional FieldOptions options = 8; +} + +// Describes a oneof. +message OneofDescriptorProto { + optional string name = 1; + optional OneofOptions options = 2; +} + +// Describes an enum type. +message EnumDescriptorProto { + optional string name = 1; + + repeated EnumValueDescriptorProto value = 2; + + optional EnumOptions options = 3; + + // Range of reserved numeric values. Reserved values may not be used by + // entries in the same enum. Reserved ranges may not overlap. + // + // Note that this is distinct from DescriptorProto.ReservedRange in that it + // is inclusive such that it can appropriately represent the entire int32 + // domain. + message EnumReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Inclusive. + } + + // Range of reserved numeric values. Reserved numeric values may not be used + // by enum values in the same enum declaration. Reserved ranges may not + // overlap. + repeated EnumReservedRange reserved_range = 4; + + // Reserved enum value names, which may not be reused. A given name may only + // be reserved once. + repeated string reserved_name = 5; +} + +// Describes a value within an enum. +message EnumValueDescriptorProto { + optional string name = 1; + optional int32 number = 2; + + optional EnumValueOptions options = 3; +} + +// Describes a service. +message ServiceDescriptorProto { + optional string name = 1; + repeated MethodDescriptorProto method = 2; + + optional ServiceOptions options = 3; +} + +// Describes a method of a service. +message MethodDescriptorProto { + optional string name = 1; + + // Input and output type names. These are resolved in the same way as + // FieldDescriptorProto.type_name, but must refer to a message type. + optional string input_type = 2; + optional string output_type = 3; + + optional MethodOptions options = 4; + + // Identifies if client streams multiple client messages + optional bool client_streaming = 5 [default = false]; + // Identifies if server streams multiple server messages + optional bool server_streaming = 6 [default = false]; +} + + +// =================================================================== +// Options + +// Each of the definitions above may have "options" attached. These are +// just annotations which may cause code to be generated slightly differently +// or may contain hints for code that manipulates protocol messages. +// +// Clients may define custom options as extensions of the *Options messages. +// These extensions may not yet be known at parsing time, so the parser cannot +// store the values in them. Instead it stores them in a field in the *Options +// message called uninterpreted_option. This field must have the same name +// across all *Options messages. We then use this field to populate the +// extensions when we build a descriptor, at which point all protos have been +// parsed and so all extensions are known. +// +// Extension numbers for custom options may be chosen as follows: +// * For options which will only be used within a single application or +// organization, or for experimental options, use field numbers 50000 +// through 99999. It is up to you to ensure that you do not use the +// same number for multiple options. +// * For options which will be published and used publicly by multiple +// independent entities, e-mail protobuf-global-extension-registry@google.com +// to reserve extension numbers. Simply provide your project name (e.g. +// Objective-C plugin) and your project website (if available) -- there's no +// need to explain how you intend to use them. Usually you only need one +// extension number. You can declare multiple options with only one extension +// number by putting them in a sub-message. See the Custom Options section of +// the docs for examples: +// https://developers.google.com/protocol-buffers/docs/proto#options +// If this turns out to be popular, a web service will be set up +// to automatically assign option numbers. + +message FileOptions { + + // Sets the Java package where classes generated from this .proto will be + // placed. By default, the proto package is used, but this is often + // inappropriate because proto packages do not normally start with backwards + // domain names. + optional string java_package = 1; + + + // If set, all the classes from the .proto file are wrapped in a single + // outer class with the given name. This applies to both Proto1 + // (equivalent to the old "--one_java_file" option) and Proto2 (where + // a .proto always translates to a single class, but you may want to + // explicitly choose the class name). + optional string java_outer_classname = 8; + + // If set true, then the Java code generator will generate a separate .java + // file for each top-level message, enum, and service defined in the .proto + // file. Thus, these types will *not* be nested inside the outer class + // named by java_outer_classname. However, the outer class will still be + // generated to contain the file's getDescriptor() method as well as any + // top-level extensions defined in the file. + optional bool java_multiple_files = 10 [default = false]; + + // This option does nothing. + optional bool java_generate_equals_and_hash = 20 [deprecated=true]; + + // If set true, then the Java2 code generator will generate code that + // throws an exception whenever an attempt is made to assign a non-UTF-8 + // byte sequence to a string field. + // Message reflection will do the same. + // However, an extension field still accepts non-UTF-8 byte sequences. + // This option has no effect on when used with the lite runtime. + optional bool java_string_check_utf8 = 27 [default = false]; + + + // Generated classes can be optimized for speed or code size. + enum OptimizeMode { + SPEED = 1; // Generate complete code for parsing, serialization, + // etc. + CODE_SIZE = 2; // Use ReflectionOps to implement these methods. + LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. + } + optional OptimizeMode optimize_for = 9 [default = SPEED]; + + // Sets the Go package where structs generated from this .proto will be + // placed. If omitted, the Go package will be derived from the following: + // - The basename of the package import path, if provided. + // - Otherwise, the package statement in the .proto file, if present. + // - Otherwise, the basename of the .proto file, without extension. + optional string go_package = 11; + + + + + // Should generic services be generated in each language? "Generic" services + // are not specific to any particular RPC system. They are generated by the + // main code generators in each language (without additional plugins). + // Generic services were the only kind of service generation supported by + // early versions of google.protobuf. + // + // Generic services are now considered deprecated in favor of using plugins + // that generate code specific to your particular RPC system. Therefore, + // these default to false. Old code which depends on generic services should + // explicitly set them to true. + optional bool cc_generic_services = 16 [default = false]; + optional bool java_generic_services = 17 [default = false]; + optional bool py_generic_services = 18 [default = false]; + optional bool php_generic_services = 42 [default = false]; + + // Is this file deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for everything in the file, or it will be completely ignored; in the very + // least, this is a formalization for deprecating files. + optional bool deprecated = 23 [default = false]; + + // Enables the use of arenas for the proto messages in this file. This applies + // only to generated classes for C++. + optional bool cc_enable_arenas = 31 [default = false]; + + + // Sets the objective c class prefix which is prepended to all objective c + // generated classes from this .proto. There is no default. + optional string objc_class_prefix = 36; + + // Namespace for generated classes; defaults to the package. + optional string csharp_namespace = 37; + + // By default Swift generators will take the proto package and CamelCase it + // replacing '.' with underscore and use that to prefix the types/symbols + // defined. When this options is provided, they will use this value instead + // to prefix the types/symbols defined. + optional string swift_prefix = 39; + + // Sets the php class prefix which is prepended to all php generated classes + // from this .proto. Default is empty. + optional string php_class_prefix = 40; + + // Use this option to change the namespace of php generated classes. Default + // is empty. When this option is empty, the package name will be used for + // determining the namespace. + optional string php_namespace = 41; + + // Use this option to change the namespace of php generated metadata classes. + // Default is empty. When this option is empty, the proto file name will be + // used for determining the namespace. + optional string php_metadata_namespace = 44; + + // Use this option to change the package of ruby generated classes. Default + // is empty. When this option is not set, the package name will be used for + // determining the ruby package. + optional string ruby_package = 45; + + + // The parser stores options it doesn't recognize here. + // See the documentation for the "Options" section above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. + // See the documentation for the "Options" section above. + extensions 1000 to max; + + reserved 38; +} + +message MessageOptions { + // Set true to use the old proto1 MessageSet wire format for extensions. + // This is provided for backwards-compatibility with the MessageSet wire + // format. You should not use this for any other reason: It's less + // efficient, has fewer features, and is more complicated. + // + // The message must be defined exactly as follows: + // message Foo { + // option message_set_wire_format = true; + // extensions 4 to max; + // } + // Note that the message cannot have any defined fields; MessageSets only + // have extensions. + // + // All extensions of your type must be singular messages; e.g. they cannot + // be int32s, enums, or repeated messages. + // + // Because this is an option, the above two restrictions are not enforced by + // the protocol compiler. + optional bool message_set_wire_format = 1 [default = false]; + + // Disables the generation of the standard "descriptor()" accessor, which can + // conflict with a field of the same name. This is meant to make migration + // from proto1 easier; new code should avoid fields named "descriptor". + optional bool no_standard_descriptor_accessor = 2 [default = false]; + + // Is this message deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the message, or it will be completely ignored; in the very least, + // this is a formalization for deprecating messages. + optional bool deprecated = 3 [default = false]; + + // Whether the message is an automatically generated map entry type for the + // maps field. + // + // For maps fields: + // map map_field = 1; + // The parsed descriptor looks like: + // message MapFieldEntry { + // option map_entry = true; + // optional KeyType key = 1; + // optional ValueType value = 2; + // } + // repeated MapFieldEntry map_field = 1; + // + // Implementations may choose not to generate the map_entry=true message, but + // use a native map in the target language to hold the keys and values. + // The reflection APIs in such implementations still need to work as + // if the field is a repeated message field. + // + // NOTE: Do not set the option in .proto files. Always use the maps syntax + // instead. The option should only be implicitly set by the proto compiler + // parser. + optional bool map_entry = 7; + + reserved 8; // javalite_serializable + reserved 9; // javanano_as_lite + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message FieldOptions { + // The ctype option instructs the C++ code generator to use a different + // representation of the field than it normally would. See the specific + // options below. This option is not yet implemented in the open source + // release -- sorry, we'll try to include it in a future version! + optional CType ctype = 1 [default = STRING]; + enum CType { + // Default mode. + STRING = 0; + + CORD = 1; + + STRING_PIECE = 2; + } + // The packed option can be enabled for repeated primitive fields to enable + // a more efficient representation on the wire. Rather than repeatedly + // writing the tag and type for each element, the entire array is encoded as + // a single length-delimited blob. In proto3, only explicit setting it to + // false will avoid using packed encoding. + optional bool packed = 2; + + // The jstype option determines the JavaScript type used for values of the + // field. The option is permitted only for 64 bit integral and fixed types + // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + // is represented as JavaScript string, which avoids loss of precision that + // can happen when a large value is converted to a floating point JavaScript. + // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + // use the JavaScript "number" type. The behavior of the default option + // JS_NORMAL is implementation dependent. + // + // This option is an enum to permit additional types to be added, e.g. + // goog.math.Integer. + optional JSType jstype = 6 [default = JS_NORMAL]; + enum JSType { + // Use the default type. + JS_NORMAL = 0; + + // Use JavaScript strings. + JS_STRING = 1; + + // Use JavaScript numbers. + JS_NUMBER = 2; + } + + // Should this field be parsed lazily? Lazy applies only to message-type + // fields. It means that when the outer message is initially parsed, the + // inner message's contents will not be parsed but instead stored in encoded + // form. The inner message will actually be parsed when it is first accessed. + // + // This is only a hint. Implementations are free to choose whether to use + // eager or lazy parsing regardless of the value of this option. However, + // setting this option true suggests that the protocol author believes that + // using lazy parsing on this field is worth the additional bookkeeping + // overhead typically needed to implement it. + // + // This option does not affect the public interface of any generated code; + // all method signatures remain the same. Furthermore, thread-safety of the + // interface is not affected by this option; const methods remain safe to + // call from multiple threads concurrently, while non-const methods continue + // to require exclusive access. + // + // + // Note that implementations may choose not to check required fields within + // a lazy sub-message. That is, calling IsInitialized() on the outer message + // may return true even if the inner message has missing required fields. + // This is necessary because otherwise the inner message would have to be + // parsed in order to perform the check, defeating the purpose of lazy + // parsing. An implementation which chooses not to check required fields + // must be consistent about it. That is, for any particular sub-message, the + // implementation must either *always* check its required fields, or *never* + // check its required fields, regardless of whether or not the message has + // been parsed. + optional bool lazy = 5 [default = false]; + + // Is this field deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for accessors, or it will be completely ignored; in the very least, this + // is a formalization for deprecating fields. + optional bool deprecated = 3 [default = false]; + + // For Google-internal migration only. Do not use. + optional bool weak = 10 [default = false]; + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; + + reserved 4; // removed jtype +} + +message OneofOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumOptions { + + // Set this option to true to allow mapping different tag names to the same + // value. + optional bool allow_alias = 2; + + // Is this enum deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum, or it will be completely ignored; in the very least, this + // is a formalization for deprecating enums. + optional bool deprecated = 3 [default = false]; + + reserved 5; // javanano_as_lite + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumValueOptions { + // Is this enum value deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum value, or it will be completely ignored; in the very least, + // this is a formalization for deprecating enum values. + optional bool deprecated = 1 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message ServiceOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // Is this service deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the service, or it will be completely ignored; in the very least, + // this is a formalization for deprecating services. + optional bool deprecated = 33 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message MethodOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // Is this method deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the method, or it will be completely ignored; in the very least, + // this is a formalization for deprecating methods. + optional bool deprecated = 33 [default = false]; + + // Is this method side-effect-free (or safe in HTTP parlance), or idempotent, + // or neither? HTTP based RPC implementation may choose GET verb for safe + // methods, and PUT verb for idempotent methods instead of the default POST. + enum IdempotencyLevel { + IDEMPOTENCY_UNKNOWN = 0; + NO_SIDE_EFFECTS = 1; // implies idempotent + IDEMPOTENT = 2; // idempotent, but may have side effects + } + optional IdempotencyLevel idempotency_level = 34 + [default = IDEMPOTENCY_UNKNOWN]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + + +// A message representing a option the parser does not recognize. This only +// appears in options protos created by the compiler::Parser class. +// DescriptorPool resolves these when building Descriptor objects. Therefore, +// options protos in descriptor objects (e.g. returned by Descriptor::options(), +// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions +// in them. +message UninterpretedOption { + // The name of the uninterpreted option. Each string represents a segment in + // a dot-separated name. is_extension is true iff a segment represents an + // extension (denoted with parentheses in options specs in .proto files). + // E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents + // "foo.(bar.baz).qux". + message NamePart { + required string name_part = 1; + required bool is_extension = 2; + } + repeated NamePart name = 2; + + // The value of the uninterpreted option, in whatever type the tokenizer + // identified it as during parsing. Exactly one of these should be set. + optional string identifier_value = 3; + optional uint64 positive_int_value = 4; + optional int64 negative_int_value = 5; + optional double double_value = 6; + optional bytes string_value = 7; + optional string aggregate_value = 8; +} + +// =================================================================== +// Optional source code info + +// Encapsulates information about the original source file from which a +// FileDescriptorProto was generated. +message SourceCodeInfo { + // A Location identifies a piece of source code in a .proto file which + // corresponds to a particular definition. This information is intended + // to be useful to IDEs, code indexers, documentation generators, and similar + // tools. + // + // For example, say we have a file like: + // message Foo { + // optional string foo = 1; + // } + // Let's look at just the field definition: + // optional string foo = 1; + // ^ ^^ ^^ ^ ^^^ + // a bc de f ghi + // We have the following locations: + // span path represents + // [a,i) [ 4, 0, 2, 0 ] The whole field definition. + // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + // + // Notes: + // - A location may refer to a repeated field itself (i.e. not to any + // particular index within it). This is used whenever a set of elements are + // logically enclosed in a single code segment. For example, an entire + // extend block (possibly containing multiple extension definitions) will + // have an outer location whose path refers to the "extensions" repeated + // field without an index. + // - Multiple locations may have the same path. This happens when a single + // logical declaration is spread out across multiple places. The most + // obvious example is the "extend" block again -- there may be multiple + // extend blocks in the same scope, each of which will have the same path. + // - A location's span is not always a subset of its parent's span. For + // example, the "extendee" of an extension declaration appears at the + // beginning of the "extend" block and is shared by all extensions within + // the block. + // - Just because a location's span is a subset of some other location's span + // does not mean that it is a descendant. For example, a "group" defines + // both a type and a field in a single declaration. Thus, the locations + // corresponding to the type and field and their components will overlap. + // - Code which tries to interpret locations should probably be designed to + // ignore those that it doesn't understand, as more types of locations could + // be recorded in the future. + repeated Location location = 1; + message Location { + // Identifies which part of the FileDescriptorProto was defined at this + // location. + // + // Each element is a field number or an index. They form a path from + // the root FileDescriptorProto to the place where the definition. For + // example, this path: + // [ 4, 3, 2, 7, 1 ] + // refers to: + // file.message_type(3) // 4, 3 + // .field(7) // 2, 7 + // .name() // 1 + // This is because FileDescriptorProto.message_type has field number 4: + // repeated DescriptorProto message_type = 4; + // and DescriptorProto.field has field number 2: + // repeated FieldDescriptorProto field = 2; + // and FieldDescriptorProto.name has field number 1: + // optional string name = 1; + // + // Thus, the above path gives the location of a field name. If we removed + // the last element: + // [ 4, 3, 2, 7 ] + // this path refers to the whole field declaration (from the beginning + // of the label to the terminating semicolon). + repeated int32 path = 1 [packed = true]; + + // Always has exactly three or four elements: start line, start column, + // end line (optional, otherwise assumed same as start line), end column. + // These are packed into a single field for efficiency. Note that line + // and column numbers are zero-based -- typically you will want to add + // 1 to each before displaying to a user. + repeated int32 span = 2 [packed = true]; + + // If this SourceCodeInfo represents a complete declaration, these are any + // comments appearing before and after the declaration which appear to be + // attached to the declaration. + // + // A series of line comments appearing on consecutive lines, with no other + // tokens appearing on those lines, will be treated as a single comment. + // + // leading_detached_comments will keep paragraphs of comments that appear + // before (but not connected to) the current element. Each paragraph, + // separated by empty lines, will be one comment element in the repeated + // field. + // + // Only the comment content is provided; comment markers (e.g. //) are + // stripped out. For block comments, leading whitespace and an asterisk + // will be stripped from the beginning of each line other than the first. + // Newlines are included in the output. + // + // Examples: + // + // optional int32 foo = 1; // Comment attached to foo. + // // Comment attached to bar. + // optional int32 bar = 2; + // + // optional string baz = 3; + // // Comment attached to baz. + // // Another line attached to baz. + // + // // Comment attached to qux. + // // + // // Another line attached to qux. + // optional double qux = 4; + // + // // Detached comment for corge. This is not leading or trailing comments + // // to qux or corge because there are blank lines separating it from + // // both. + // + // // Detached comment for corge paragraph 2. + // + // optional string corge = 5; + // /* Block comment attached + // * to corge. Leading asterisks + // * will be removed. */ + // /* Block comment attached to + // * grault. */ + // optional int32 grault = 6; + // + // // ignored detached comments. + optional string leading_comments = 3; + optional string trailing_comments = 4; + repeated string leading_detached_comments = 6; + } +} + +// Describes the relationship between generated code and its original source +// file. A GeneratedCodeInfo message is associated with only one generated +// source file, but may contain references to different source .proto files. +message GeneratedCodeInfo { + // An Annotation connects some span of text in generated code to an element + // of its generating .proto file. + repeated Annotation annotation = 1; + message Annotation { + // Identifies the element in the original source .proto file. This field + // is formatted the same as SourceCodeInfo.Location.path. + repeated int32 path = 1 [packed = true]; + + // Identifies the filesystem path to the original source .proto. + optional string source_file = 2; + + // Identifies the starting offset in bytes in the generated code + // that relates to the identified object. + optional int32 begin = 3; + + // Identifies the ending offset in bytes in the generated code that + // relates to the identified offset. The end offset should be one past + // the last relevant byte (so the length of the text = end - begin). + optional int32 end = 4; + } +} diff --git a/proprietary/vendor/etc/sensors/proto/nanopb.proto b/proprietary/vendor/etc/sensors/proto/nanopb.proto new file mode 100644 index 0000000..9b2f0fb --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/nanopb.proto @@ -0,0 +1,97 @@ +// Custom options for defining: +// - Maximum size of string/bytes +// - Maximum number of elements in array +// +// These are used by nanopb to generate statically allocable structures +// for memory-limited environments. + +syntax = "proto2"; +import "google/protobuf/descriptor.proto"; + +option java_package = "fi.kapsi.koti.jpa.nanopb"; + +enum FieldType { + FT_DEFAULT = 0; // Automatically decide field type, generate static field if possible. + FT_CALLBACK = 1; // Always generate a callback field. + FT_POINTER = 4; // Always generate a dynamically allocated field. + FT_STATIC = 2; // Generate a static field or raise an exception if not possible. + FT_IGNORE = 3; // Ignore the field completely. +} + +enum IntSize { + IS_DEFAULT = 0; // Default, 32/64bit based on type in .proto + IS_8 = 8; + IS_16 = 16; + IS_32 = 32; + IS_64 = 64; +} + +// This is the inner options message, which basically defines options for +// a field. When it is used in message or file scope, it applies to all +// fields. +message NanoPBOptions { + // Allocated size for 'bytes' and 'string' fields. + optional int32 max_size = 1; + + // Allocated number of entries in arrays ('repeated' fields) + optional int32 max_count = 2; + + // Size of integer fields. Can save some memory if you don't need + // full 32 bits for the value. + optional IntSize int_size = 7 [default = IS_DEFAULT]; + + // Force type of field (callback or static allocation) + optional FieldType type = 3 [default = FT_DEFAULT]; + + // Use long names for enums, i.e. EnumName_EnumValue. + optional bool long_names = 4 [default = true]; + + // Add 'packed' attribute to generated structs. + // Note: this cannot be used on CPUs that break on unaligned + // accesses to variables. + optional bool packed_struct = 5 [default = false]; + + // Add 'packed' attribute to generated enums. + optional bool packed_enum = 10 [default = false]; + + // Skip this message + optional bool skip_message = 6 [default = false]; + + // Generate oneof fields as normal optional fields instead of union. + optional bool no_unions = 8 [default = false]; + + // integer type tag for a message + optional uint32 msgid = 9; + + // decode oneof as anonymous union + optional bool anonymous_oneof = 11 [default = false]; +} + +// Extensions to protoc 'Descriptor' type in order to define options +// inside a .proto file. +// +// Protocol Buffers extension number registry +// -------------------------------- +// Project: Nanopb +// Contact: Petteri Aimonen +// Web site: http://kapsi.fi/~jpa/nanopb +// Extensions: 1010 (all types) +// -------------------------------- + +extend google.protobuf.FileOptions { + optional NanoPBOptions nanopb_fileopt = 1010; +} + +extend google.protobuf.MessageOptions { + optional NanoPBOptions nanopb_msgopt = 1010; +} + +extend google.protobuf.EnumOptions { + optional NanoPBOptions nanopb_enumopt = 1010; +} + +extend google.protobuf.FieldOptions { + optional NanoPBOptions nanopb = 1010; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/qti_gravity.proto b/proprietary/vendor/etc/sensors/proto/qti_gravity.proto new file mode 100644 index 0000000..1348f23 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/qti_gravity.proto @@ -0,0 +1,53 @@ +// @file qti_gravity.proto +// +// Defines standard message types for the QTI Gravity Proto +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_gravity.proto"; + +enum qti_gravity_msgid +{ + option (nanopb_enumopt).long_names = false; + QTI_GRAVITY_MSGID_QTI_GRAVITY_MOTION_DATA_EVENT = 1029; +} + +// Device Motion State detected by the gravity sensor +enum qti_gravity_device_motion_state +{ + option (nanopb_enumopt).long_names = false; + + // Device motion state is unknown + QTI_GRAVITY_DEVICE_MOTION_STATE_UNKNOWN = 0; + + // Device is at absolute rest, an example of which + // would be lying undisturbed on a desk + QTI_GRAVITY_DEVICE_MOTION_STATE_ABS_REST = 1; + + // Device is at relative rest, an example of which + // would be held steady in the user hand undergoing + // no orientation change + QTI_GRAVITY_DEVICE_MOTION_STATE_REL_REST = 2; + + // Device is in motion + QTI_GRAVITY_DEVICE_MOTION_STATE_MOTION = 3; +} + +// Configuration Message +// Used to either request for a certain configuration of the qti gravity sensor or +// alter an already existing configuration of the qti gravity sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the qti gravity sensor in hertz + +// Data Message +// Output data event generated by the qti gravity sensor. +message qti_gravity_motion_data_event +{ + // Device motion state detected using the gravity vector + required qti_gravity_device_motion_state device_motion_state = 1 [default=QTI_GRAVITY_DEVICE_MOTION_STATE_UNKNOWN]; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_accel.proto b/proprietary/vendor/etc/sensors/proto/sns_accel.proto new file mode 100644 index 0000000..5255029 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_accel.proto @@ -0,0 +1,103 @@ +// @file sns_accel.proto +// +// Defines the API for Accelerometer Sensors. +// All Accelerometer Sensor drivers are required to comply with this API. +// Any new functionality for Accelerometer Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_std_event_gated_sensor.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Accelerometer Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "accel". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute values in (m/s2)/LSB unit. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in +/-m/s2 unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Accelerometer Sensor handles the sns_std_sensor_config +// message request with msgid SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG +// for all non-gated stream enable/update requests. +// 2. The Accelerometer Sensor handles the sns_std_sensor_config +// message request with msgid SNS_STD_EVENT_GATED_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG +// for all gated stream enable/update requests. +// a. Accelerometer stream is gated on the motion detection feature +// available on most accel hardware. This feature is published via the +// "motion_detect" Sensor by the same driver library as "accel" Sensor. +// b. If "motion_detect" is not supported then the Sensor does not support +// stream gating. Any gated client request is rejected in this case. +// 3. The Accelerometer Sensor uses batching_period item in +// sns_std_request as the requested batching rate to determine +// hardware FIFO watermark. + +// Handling stream events: +// 1. The Accelerometer Sensor publishes acceleration data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields where data is +// in m/s2 units and is factory calibrated. +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// This conforms to the mobile device axes orientation as specified by the +// Android Sensor API. +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 6. The Accelerometer Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 7. The Accelerometer Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and comp_matrix fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. +// 8. When all outstanding requests to the Sensor are gated requests and if the +// "motion_detect" Sensor is enabled then the accel Sensor stops generating +// output events. +// a. When motion detect interrupt fires: +// - All existing accel gated stream requests are converted to non-gated +// stream requests. +// The accel Sensor publishes an event with message ID +// SNS_STD_EVENT_GATED_SENSOR_MSGID_GATED_REQ_CONVERTED_TO_NON_GATED to +// to indicate this change to it's gated clients. +// - The accel Sensor resumes generating output to all clients. +// So in effect motion_detect Sensor and accel gated Sensor stream have +// a one shot behavior. +// b. The Sensor resumes generating output events if motion detect interrupt +// is disabled potentially due to a new non-gated accel stream request or +// the request to motion_detect Sensor is disabled. +// 9. When all outstanding requests to the Sensor are gated requests but if +// "motion_detect" Sensor is not enabled then the Sensor continues to generate +// output events. + +// Handling self-test requests: +// 1. The Accelerometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Accelerometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Accelerometer Sensor could implement other test types. + +// Handling test events: +// 1. The Accelerometer Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto new file mode 100644 index 0000000..bbe04a0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto @@ -0,0 +1,32 @@ +// @file sns_accel_cal.proto +// +// Defines message types for the Accel Calibration Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_cal.proto"; + +// The Accel Calibration Sensor determines the calibration parameters +// for accel sensor + +// Accel Calibration Sensor Attributes: +// - SNS_STD_SENSOR_ATTRID_TYPE: "accel_cal" +// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to +// enable the sensor +// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm +// and any previously determined calibration parameters. + +// Stream Events: +// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration +// parameters to the client of the sensor. The sns_cal_event message as +// defined in sns_cal.proto is used to report this data event where the +// units for the bias field in the message are in rad / s + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto b/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto new file mode 100644 index 0000000..63e1a02 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto @@ -0,0 +1,69 @@ +// @file sns_activity_recognition.proto +// +// Defines message types for the Activity Recognition (AR) Sensor. +// +// Copyright (c) 2019-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Acitivity Recognition Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "activity_recognition" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Acitivity Recognition Sensor +enum sns_activity_recognition_msgid { + option (nanopb_enumopt).long_names = false; + + // The sns_ar_event message is used to publish updated state. A new event + // will be generated upon any state change. + SNS_ACTIVITY_RECOGNITION_MSGID_SNS_AR_EVENT = 800; + // Configuration event generated at least once in response to enable request + SNS_ACTIVITY_RECOGNITION_MSGID_SNS_AR_CONFIG_EVENT = 801; +} + +// User activity states +enum sns_ar_motion_state +{ + option (nanopb_enumopt).long_names = false; + + // UNKNOWN is reported when the algorithm is unable to detect the current + // activity state. + SNS_AR_UNKNOWN = 0; + // User is relatively stationary. + SNS_AR_STATIONARY = 1; + // User is classified as a pedestrian + SNS_AR_PED = 2; + // User is in a non-motorized vehicle + SNS_AR_NMV = 3; + // User is in a motorized vehicle. + SNS_AR_MV = 4; + // User is walking + SNS_AR_WALK = 5; + // User is running + SNS_AR_RUN = 6; + // User is on a bicycle + SNS_AR_BICYCLE = 7; + // User is in a car + SNS_AR_CAR = 8; +} + +message sns_ar_config_event +{ + // List of supported motion states + repeated sns_ar_motion_state states = 1; +} + +message sns_ar_event +{ + // List of active states for this user + // Multiple states may be reported concurrently + // Any states not listed here are presumed to be inactive + repeated sns_ar_motion_state states = 1 [(nanopb).max_count = 4]; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto b/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto new file mode 100644 index 0000000..09cceff --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto @@ -0,0 +1,73 @@ +// @file sns_ambient_light.proto +// +// Defines the API for Ambient Light Sensors. +// All Ambient Light Sensor drivers are required to comply with this API. +// Any new functionality for Ambient Light Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Ambient Light Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ambient_light". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in Lux/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in Lux unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Ambient Light Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming Ambient Light Sensor handles the sns_std_sensor_config +// request for all stream enable/update requests. +// 3. The on-change Ambient Light Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all stream enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples for only significant change in ambient light. +// Example: +/- 10% change. + +// Handling stream events: +// 1. The Ambient Light Sensor publishes current illumination data stream +// events using the sns_std_sensor_event message. +// 2. Each stream event contains two output data fields where data is +// factory calibrated and ordered as: +// data[0] = ambient light in Lux +// data[1] = raw ADC value associated with data[0] +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Ambient Light Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Ambient Light Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new request. + +// Handling self-test requests: +// 1. The Ambient Light Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Ambient Light Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for Ambient Light Sensor calibrates +// the sensor such that it's output Lux value is comparable to a standard +// Luxmeter output in any lighting condition. +// 3. The Ambient Light Sensor could implement other test types. + +// Handling test events: +// 1. The Ambient Light Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto b/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto new file mode 100644 index 0000000..6f8b8df --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto @@ -0,0 +1,68 @@ +// @file sns_ambient_temperature.proto +// +// Defines the API for Ambient Temperature Sensors. +// All Ambient Temperature Sensor drivers are required to comply with this API. +// Any new functionality for Ambient Temperature Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Ambient Temperature Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ambient_temperature". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees Celsius/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees Celsius unit. +// 4. The ambient_temperature sensor is an on-change sensor. +// 5. The SNS_STD_SENSOR_ATTRID_RATES attribute is not applicable +// since this is an on-change sensor. +// 6. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Ambient Temperature Sensor handles the SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// message ID for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Ambient Temperature +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Ambient Temperature Sensor publishes data stream events using the +// sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Ambient Temperature data in degrees Celsius +// 3. Each stream event publishs an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Ambient Temperature Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Ambient Temperature Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Ambient Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Ambient Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Ambient Temperature Sensor could implement other test types. + +// Handling test events: +// 1. The Ambient Temperature Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_amd.proto b/proprietary/vendor/etc/sensors/proto/sns_amd.proto new file mode 100644 index 0000000..1e3f967 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_amd.proto @@ -0,0 +1,50 @@ +// @file sns_amd.proto +// +// Defines message types for the Absolute Motion Detector (AMD) Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// AMD calculates motion and stationary states. AMD will initially start in an +// unknown state, and later transition to motion or stationary. + +// AMD Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "amd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for AMD Sensor +enum sns_amd_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_AMD_MSGID_SNS_AMD_EVENT = 772; +} + +enum sns_amd_event_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_AMD_EVENT_TYPE_UNKNOWN = 0; + SNS_AMD_EVENT_TYPE_STATIONARY = 1; + SNS_AMD_EVENT_TYPE_MOTION = 2; +} + +message sns_amd_event +{ + // AMD motion state + required sns_amd_event_type state = 1 [default = SNS_AMD_EVENT_TYPE_UNKNOWN]; +} + +// Stream events: +// +// The sns_amd_event message is used to publish updated state +// +// AMD does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_aont.proto b/proprietary/vendor/etc/sensors/proto/sns_aont.proto new file mode 100644 index 0000000..de4b136 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_aont.proto @@ -0,0 +1,37 @@ +// @file sns_aont.proto +// +// Defines message types for the AONT(Always On Test) Sensor. +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Always On Test Sensor runs an Always On sensors usecase for stability test coverage + +// Always On Test Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "always_on_test" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Stream Events: +enum sns_aont_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_AONT_MSGID_SNS_AONT_DATA = 1024; +} + +// Data Message +// Output data event generated by the aont sensor. +message sns_aont_data +{ + // AONT output - Accel data along axis x,y,z in m/s2 + repeated float aont = 1 [(nanopb).max_count = 3]; +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_async_com_port.proto b/proprietary/vendor/etc/sensors/proto/sns_async_com_port.proto new file mode 100644 index 0000000..a2c141a --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_async_com_port.proto @@ -0,0 +1,166 @@ +// @file sns_async_com_port.proto +// +// Defines standard message types for the Async Com Port +// +// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; + +// Asynchronous Com Port +// +// The Asynchronous Com Port provides access to buses like I2C, I3C, SPI and others. +// A complete list of all buses available in the sns_async_com_port_bus_type enum. +// +// The Asynchronous Com Port can perform read and write operations on these buses +// asynchronously. This is the recommended way to perform large bus reads (example: +// reading a large FIFO buffer). This file describes the use of the async com port +// (ascp) API. +// +// First, the client must configure the port using the sns_async_com_port_config +// message. +// +// To perform one or more read or write operations, the client should send the +// sns_async_com_port_vector_rw message. +// +// A single sns_async_com_port_vector_rw message can contain multiple +// sns_async_com_port_vector messages, the async com port will efficiently perform +// all the transactions that are part of the parent sns_async_com_port_vector_rw +// message. The results of the transaction will be sent as an sns_async_com_port_vector_rw +// event. +// +// The async com port will internally manage efficiently opening and closing the +// bus power lines and clock settings. The async com port can safely be used along +// with the synchronous com port service. +// +// To help with encoding and decoding the sns_async_com_port_vector_rw messages, +// utility functions are provided in sns_async_com_port_pb_utils.h + + +// The operation to be performed by the async com port +enum sns_async_com_port_operation_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_ASYNC_COM_PORT_OPERATION_TYPE_READ = 0; + SNS_ASYNC_COM_PORT_OPERATION_TYPE_WRITE = 1; +} + +// The bus type to be accessed by the async com port +enum sns_async_com_port_bus_type +{ + option (nanopb_enumopt).long_names = false; + + // I2C bus: + SNS_ASYNC_COM_PORT_BUS_TYPE_I2C = 0; + + // SPI bus: + SNS_ASYNC_COM_PORT_BUS_TYPE_SPI = 1; + + // I3C bus, standard data rate: + SNS_ASYNC_COM_PORT_BUS_TYPE_I3C_SDR = 3; + + // I3C bus, double data rate: + SNS_ASYNC_COM_PORT_BUS_TYPE_I3C_HDR_DDR = 4; + + // I3C bus, legacy I2C device attached to I3C bus: + SNS_ASYNC_COM_PORT_BUS_TYPE_I3C_I2C_LEGACY = 5; +} + +// The registry address type to be used by async com port +enum sns_async_com_port_reg_addr_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_ASYNC_COM_PORT_REG_ADDR_TYPE_8_BIT = 0; + SNS_ASYNC_COM_PORT_REG_ADDR_TYPE_16_BIT = 1; + SNS_ASYNC_COM_PORT_REG_ADDR_TYPE_32_BIT = 2; +} + +// Configuration message +message sns_async_com_port_config +{ + // The bus type + required sns_async_com_port_bus_type bus_type = 1; + + // Slave Address for I2C. + // Dynamic slave address for I3C. + // Chip Select for SPI. + required fixed32 slave_control = 2; + + // Register address type for the slave + required sns_async_com_port_reg_addr_type reg_addr_type = 3; + + // Minimum bus clock supported by slave in kHz + required fixed32 min_bus_speed_kHz = 4; + + // Maximum bus clock supported by slave in kHz + required fixed32 max_bus_speed_kHz = 5; + + // Platform bus instance number (BLSP number) + required fixed32 bus_instance = 6; +} + +// A single read or write operation. +message sns_async_com_port_vector +{ + // Read or write operation + required sns_async_com_port_operation_type operation = 1; + + // Register address + required fixed32 reg_addr = 2; + + + // Number of bytes to read or write. + // The async com port will ignore this field for a write + // operation and use the size of the buffer present in the message. + // + // For events generated by the async com port, this field will always match the + // size of the buffer when it is present. + optional fixed32 num_bytes = 3; + + // Buffer + // The async com port will ignore this field in a request for a read operation. + optional bytes buffer = 4; +} + + +// A collection of read and write operations +message sns_async_com_port_vector_rw +{ + // Number of operations + required fixed32 num_vectors = 1; + + // Read/write operations + repeated sns_async_com_port_vector vectors = 2; +} + +// Notifies the client of an error during a transaction +message sns_async_com_port_error +{ + // Registry address + required fixed32 reg_addr = 1; + + // Number of bytes that was to be read/written + required fixed32 num_bytes = 2; + + // Error code + required sns_std_error error_code = 3; +} + + +// Message IDs +enum sns_async_com_port_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_CONFIG = 512; + SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_VECTOR_RW = 1024; + SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_ERROR = 1025; + SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_REG = 1026; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto b/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto new file mode 100644 index 0000000..dfec6ba --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto @@ -0,0 +1,101 @@ +// @file sns_basic_gestures.proto +// +// Defines message types for the the basic_gestures sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Basic Gestures algorithm provides the ability to detect a Push, Pull, +// or Shake gesture. +// Basic Gestures reports "Axis Unknown", when the direction of a shake cannot +// be reliably determined. + +// Basic gestures Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "basic_gestures" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_CONFIG is used to enable the sensor + +// Message IDs for Basic gestures Sensor +enum sns_basic_gestures_msgid +{ + option (nanopb_enumopt).long_names = false; + SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_CONFIG = 512; + SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_EVENT = 1024; +} +//To mask Basic gesture algorithm output states +enum sns_basic_gestures_event_mask +{ + option (nanopb_enumopt).long_names = false; + // For masking push and pull states + SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL = 1; + // For masking shake left and right states + SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_LEFT_AND_RIGHT = 2; + // For masking shake top and bottom states + SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_TOP_AND_BOTTOM = 4; + //For masking shake other state + SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_OTHER = 8; +} +// Device Basic gesture detected by Basic gestures sensor +enum sns_basic_gestures_event_type +{ + option (nanopb_enumopt).long_names = false; + //Phone is pulled away from the user in a direction perpendicular to the screen + SNS_BASIC_GESTURES_EVENT_TYPE_PUSH = 1; + //Phone is pulled toward the user in a direction perpendicular to the screen + SNS_BASIC_GESTURES_EVENT_TYPE_PULL = 2; + //Phone is shaken toward the left + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_LEFT = 3; + //Phone is shaken toward the right + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_RIGHT = 4; + //Phone is shaken toward the top + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_TOP = 5; + //Phone is shaken toward the bottom + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_BOTTOM = 6; + //Phone is shaken, but phone shake direction cannot be clearly determined + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_OTHER = 7; +} +// Event Message +// Output data event generated by the basic_gestures sensor. +// Default values of optional fields added in registry +message sns_basic_gestures_config +{ + //Sleep time in seconds + optional float sleep = 1; + //Push threshold m/s/s(default = 1.5G),where G=9.81188 + //min_push_threshold:1G, max_push_threshold:5G + optional float push_threshold = 2; + //Pull threshold m/s/s (default = 1.5G) + //min_pull_threshold:1G, max_pull_threshold:5G + optional float pull_threshold = 3; + //Shake threshold m/s/s(default = 1.5G) + //min_shake_threshold:1G, max_shake_threshold:5G + optional float shake_threshold = 4; + //For masking output events. + //By default, All states reported. + //Client should use sns_basic_gestures_event_mask fields for masking, + //specific events + //Example: If client doesn't want push and pull events,then, + //client updates event_mask with SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL + //event_mask |= SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL; + optional bytes event_mask = 5; +} + +// Event Message +// Output data event generated by the basic_gestures sensor. +message sns_basic_gestures_event +{ + // basic_gestures sensor state info + required sns_basic_gestures_event_type state=1; +} + +// Stream events: +// +// The sns_basic_gestures_event message is used to publish updated state +// +// Basic_gestures sensor does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto b/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto new file mode 100644 index 0000000..a8937f0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto @@ -0,0 +1,40 @@ +// @file sns_bring_to_ear.proto +// +// Defines message types for the the Bring_To_Ear sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Bring_to_ear sensor detects bring to ear event, +// When a device has been held in a face-up position, +// afterwhich the device is brought to the user's ear, with the top of the device facing upwards. + +// Bring to ear Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "bring_to_ear" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. + +// ## Event Message: SNS_BRING_TO_EAR_MSGID_SNS_BRING_TO_EAR_EVENT +// Reported upon new detection of bring_to_ear event + + +// Message IDs for Bring to ear Sensor +enum sns_bring_to_ear_msgid +{ + option (nanopb_enumopt).long_names = false; + // Empty Message + SNS_BRING_TO_EAR_MSGID_SNS_BRING_TO_EAR_EVENT = 1024; +} + +// Stream events: +// +// The sns_bring_to_ear_event message is used to publish updated state +// +// Bring_to_ear sensor does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_cal.proto new file mode 100644 index 0000000..0c43669 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_cal.proto @@ -0,0 +1,118 @@ +// @file sns_cal.proto +// +// Defines standard message types pertaining to calibration +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// For dynamic calibration supported by Calibration Sensors: +// Client will use the standard on change config message id to enable +// Calibration Sensor. Calibration algorithms are inherently on change in +// behavior. + +// For both dynamic calibration supported by Calibration Sensors & +// factory calibration supported by Physical Sensors: +// Client can send an empty request with the msg id for reset +// to reset the calibration parameters. +enum sns_cal_msgid +{ + option (nanopb_enumopt).long_names = false; + SNS_CAL_MSGID_SNS_CAL_RESET = 512; + SNS_CAL_MSGID_SNS_CAL_EVENT = 1022; +} + +// Calibration Event +// Used as an output data event by Calibration Sensors to convey +// dynamic calibration estimates and +// as a config event by Physical Sensors to convey factory calibration +// being applied +// +// A) The data field of the sns_cal_event message +// +// 1) float bias[] (Nx1 vector) +// The zero bias (B) correction subtracted to get calibrated sample.(Nx1 vector) +// +// 2) float scale_factor (Nx1 vector) +// The scaling (SF) to be done before doing any bias correction. +// +// 3) float comp_matrix (NxN matrix) +// The compensation matrix (CM). The matrix elements are in row major order ie: +// CM = CM0 CM1 CM2 +// CM3 CM4 CM5 +// CM6 CM7 CM8 +// +// The calibrated sample (Sc) is computed as following. +// +// if SF, B and CM are available, +// +// Sc = CM * ((S .* SF) - B) +// +// if only B and CM are available, +// +// Sc = CM * (S - B) +// +// if only SF and B are available, +// +// Sc = ((S .* SF) - B) +// +// if only SF is available, +// +// Sc = S .* SF +// +// if only B is available, +// +// Sc = (S - B) +// +// if only CM is available +// +// Sc = CM * S +// +// where: +// Sc = Calibrated sensor sample +// S = Sensor sample (Nx1 vector) +// SF = Scaling factor to be applied to S +// CM = compensation_matrix +// B = bias +// "*" represents matrix multiplication +// ".*" represents element-by-element multiplication +// +// +// B) The status field of the sns_std_sensor_event message contains +// the quality of calibration defined by sns_std_sensor_sample_status as +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE = 0; // Sample is unreliable. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_LOW = 1; // Sample is low accuracy. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_MEDIUM = 2;// Sample is medium accuracy. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH = 3; // Sample is high accuracy. + +message sns_cal_event +{ + //Optional bias value + //If no bias is being published this will be of size 0. + //Generic for different axes biases. + //Size is defined by axes value inherently. + repeated float bias = 1; + + //Optional scaling factor + //If no scaling factor is published this will be of size 0. + //Size if published is has to be equal to the axes of the data + repeated float scale_factor = 2; + + //If no CM is being published this will be of size 0. + //Optional CM values . + //Size if published should be equal to matrix of size [axes*axes] + repeated float comp_matrix = 3; + + // Event sample status. + required sns_std_sensor_sample_status status = 4 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; + + // Calibration ID, a unique identifier for the calibration set being used + // As an example, could be set when there are distinct calibration sets for different + // device modes being maintained + optional fixed32 cal_id = 5; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_ccd_ttw.proto b/proprietary/vendor/etc/sensors/proto/sns_ccd_ttw.proto new file mode 100644 index 0000000..e26d1cf --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ccd_ttw.proto @@ -0,0 +1,35 @@ +// @file sns_ccd_ttw.proto +// +// Defines message types for the ccd_ttw Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The CCD ttw (tilt_to_wake) detects substantial phone rotation (gesture) within +// limited period ending in a specific range of the pitch and roll angles. + +// tilt_to_wake Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "ccd_ttw" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for ccd_ttw Sensor +enum sns_ccd_ttw_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_CCD_TTW_MSGID_SNS_CCD_TTW_EVENT = 775; +} + +// Stream events: +// +// A NULL message with message ID SNS_CCD_TTW_MSGID_SNS_CCD_TTW_EVENT is used to +// publish ccd_ttw event +// +// ccd_ttw does not publish configuration events. diff --git a/proprietary/vendor/etc/sensors/proto/sns_ccd_walk.proto b/proprietary/vendor/etc/sensors/proto/sns_ccd_walk.proto new file mode 100644 index 0000000..0a100c1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ccd_walk.proto @@ -0,0 +1,40 @@ +// @file sns_ccd_walk.proto +// +// Defines message types for the Walk CCD. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// CCD Walk calculates a walk state. +// When a walk is detected, the sensor will send one WALK event. +// To send additional walk events, the sensor must be re-armed with the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG event again. +// +// No events are generated when not in the walk state. + +// CCD Walk Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "ccd_walk" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT + + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Walk Sensor +enum sns_ccd_walk_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_CCD_WALK_MSGID_SNS_CCD_WALK_EVENT = 773; +} + +// Stream events: +// +// A NULL message with message ID SNS_CCD_WALK_MSGID_SNS_CCD_WALK_EVENT is used to +// publish the walk event. +// +// Walk does not publish configuration events. diff --git a/proprietary/vendor/etc/sensors/proto/sns_client.proto b/proprietary/vendor/etc/sensors/proto/sns_client.proto new file mode 100644 index 0000000..7264a88 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_client.proto @@ -0,0 +1,116 @@ +// @file sns_client.proto +// +// Defines the interface between external clients and the Sensors QMI Client +// Manager. The Client Manager is the primary path for external clients +// to communicate with the SSC. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; +import "sns_std.proto"; + +// Message IDs +// +// Message IDs uniquely identify a particular message amongst all message +// supported by a Sensor, both requests and events; they need not be unique +// between different Sensors. IDs are subdivided into several reserved pools. +// These reservations are made so that Framework components can appropriately +// optimize their processing. +// +// Reserved for Framework use only: +// 0-127 - Request Messages +// 128-255 - Non-recurrent events (configuration updates, one-time events, etc) +// 256-511 - Recurrent and/or periodic events (e.g. sensor samples) +// +// Sensor use: +// 512-767 - Request messages +// 768-1023 - Non-recurrent events +// 1024-1536 - Recurrent events +// +// Note that messages serving as request messages can also be sent as +// configuration events back to the client (with the same ID). While batching +// data for a non-wakeup client, if the AP is in suspend and all batching space +// exhausted, the oldest recurrent events may be dropped. + +// Framework-defined message IDs: +enum sns_client_msgid { + option (nanopb_enumopt).long_names = false; + + // Disable request explicitly handled only on the client interface. + SNS_CLIENT_MSGID_SNS_CLIENT_DISABLE_REQ = 10; + + // NOTE: 120-127 Are reserved +} + +enum sns_client_delivery { + option (nanopb_enumopt).long_names = false; + + // Send events whenever available (at sample rate or batch period) + // - If a batch_period larger than system capacity is requested, all data + // will be sent upon capacity exhaustion. + // - The flush_period will be effectively ignored, as unsent batched + // data will not accrue in the buffer. + SNS_CLIENT_DELIVERY_WAKEUP = 0; + // Send events only when client processor is awake; batch otherwise. Once + // the target processor exits suspend, any/all pending events will be sent. + SNS_CLIENT_DELIVERY_NO_WAKEUP = 1; +} + + +// Request Message +message sns_client_request_msg { + // SUID associated with this request; intended destination + required sns_std_suid suid = 1; + + // See comment above + required fixed32 msg_id = 2; + + // Whether to wakeup the client processor (if it is in suspend), when an + // event is generated and ready to send. The Qualcomm Client Manager will + // enforce these criteria for all clients; this information is made available + // to sensors for optimization purposes only. + message suspend_config { + // Processor on which the client resides; If a flush occurs for one client + // on an external processor, all clients will receive a flush of data. + required sns_std_client_processor client_proc_type = 1 [default = SNS_STD_CLIENT_PROCESSOR_APSS]; + + // Whether to send events while the specified processor is in suspend. + required sns_client_delivery delivery_type = 2 [default = SNS_CLIENT_DELIVERY_WAKEUP]; + + //The client expects that, when the message with an id specified in this list + //is generated, the message should only be delivered to the client if data + //is already being delivered to the processor mentioned above. + repeated fixed32 nowakeup_msg_ids = 3; + } + required suspend_config susp_config = 3; + + // Base message payload; contents will be partially specified by Sensor developer + required sns_std_request request = 4; +} + +message sns_client_event_msg { + // SUID associated with this Event; source of data + required sns_std_suid suid = 1; + + // An event generated by a Sensor; used within sns_client_event_msg and SensorBatchMessage + message sns_client_event { + // See comment above + required fixed32 msg_id = 1; + + // Timestamp associated with this event + // For most events, this timestamp is specified by the Sensor. + // For events generated by the Framework (such as configuration updates or + // error events), this timestamp refers to the time at which the event was + // created. + required fixed64 timestamp = 2; + + // Dynamic length payload, containing the actual data/event + // This payload will need to be decoded separately, using the Sensor-specific + // header file + required bytes payload = 3; + } + repeated sns_client_event events = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_cmc.proto b/proprietary/vendor/etc/sensors/proto/sns_cmc.proto new file mode 100644 index 0000000..2bdb018 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_cmc.proto @@ -0,0 +1,81 @@ + +// @file sns_cmc.proto +// +// Defines message types for the Coarse Motion Classifier (CMC) Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + + +// CMC Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "coarse_motion_classifier" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for CMC Sensor +enum sns_cmc_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_CMC_MSGID_SNS_CMC_EVENT = 772; +} + +// Gives the state which the algorithm is capable +// of detecting +enum sns_cmc_motion_state +{ + option (nanopb_enumopt).long_names = false; + + // stated with 1 to match with algo where 0 + // is for UNKNOWN + SNS_CMC_STATIONARY = 1; + SNS_CMC_MOVE = 2; + SNS_CMC_FIDDLE = 3; + SNS_CMC_PEDESTRIAN = 4; + SNS_CMC_VEHICLE = 5; + SNS_CMC_WALK = 6; + SNS_CMC_RUN = 7; + SNS_CMC_BIKE = 8; +} + +// Gives the information about the states represented +// by sns_cmc_motion_state +enum sns_cmc_motion_state_event +{ + option (nanopb_enumopt).long_names = false; + // when any state of any of the motion state cannot + // be determined. The first event of first client will + // typically have all states as SNS_MS_UNKNOWN + SNS_MS_UNKNOWN = 0; + // A given motion state is ACTIVE + SNS_MS_ACTIVE = 1; + // A given motion state is INACTIVE + SNS_MS_INACTIVE = 2; +} + +message sns_cmc_event +{ + message data + { + // motion state by CMC + required sns_cmc_motion_state ms_state = 1; + + // gives UNKNOWN/ACTIVE/INACTIVE information for the motion state + required sns_cmc_motion_state_event ms_state_event = 2 [default = SNS_MS_UNKNOWN]; + } + + repeated data events = 1; +} + +// Stream events: +// +// The sns_cmc_event message is used to publish updated state +// +// CMC does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_cmd.proto b/proprietary/vendor/etc/sensors/proto/sns_cmd.proto new file mode 100644 index 0000000..7221815 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_cmd.proto @@ -0,0 +1,37 @@ +// @file sns_cmd.proto +// +// Defines message types for the Continuous Motion Detector (CMD) Sensor. +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// CMD identified continuous motions such as vehicle and walk. CMD will initially start in an +// unknown state, and later transition to motion or stationary. + +// CMD Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "cmd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for CMD Sensor +enum sns_cmd_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_CMD_MSGID_SNS_CMD_EVENT = 772; +} + +// Stream events: +// +// A NULL message with message ID SNS_CMD_MSGID_SNS_CMD_EVENT is used to +// publish CMD event +// +// CMD does not publish configuration events. + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_da_test.proto b/proprietary/vendor/etc/sensors/proto/sns_da_test.proto new file mode 100644 index 0000000..b72a610 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_da_test.proto @@ -0,0 +1,65 @@ +// @file sns_da_test.proto +// +// Defines the API for communicating with the Driver acceptance +// test sensor. +// This is to used by the linux command line partner application +// to send string messages to the sns_da_test_sensor +// +// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_da_test_msgid { + option (nanopb_enumopt).long_names = false; + SNS_DA_TEST_MSGID_SNS_DA_TEST_REQ = 512; + SNS_DA_TEST_MSGID_SNS_DA_TEST_LOG = 768; + SNS_DA_TEST_MSGID_SNS_DA_TEST_EVENT = 1024; +} + +//This message contains the test parameters as a single string in the format below +//-testcase= -sample_rate=< any +tive value > -sensor= +//-duration=< any +tive value in seconds> -batch_period=<+tive value in seconds> +message sns_da_test_req { + optional string test_args = 1; +} + +//This message contains any return data from the test driver including PASS/FAIL +//msg. and explainations if applicable +message sns_da_test_event { + optional string test_event = 1; +} + +// Sensor State log message +// This definition is used by da_test sensor to log test +// information when publishing sensor api event +message sns_da_test_log { + //Time elapsed between streaming start request time and first sample received + required uint64 time_to_first_event = 1; + + //Time elapsed between streaming stop request time and last sample received + required sfixed32 time_to_last_event = 2; + + //Time when last sample was received + required uint64 sample_ts = 3; + + //Total number of samples received + required uint32 total_samples = 4; + + //time delta between samples avegraged over number of samples + required uint32 avg_delta = 5; + + //configures sample rate received in the SNS_STD_SENSOR_PHYSICAL_CONFIG_EVENT + required sfixed32 recvd_phy_config_sample_rate = 6; + + //random seed used by the da_test instance + optional uint64 random_seed_used = 7; + + //The number of std_req sent out by this instance of da_test + optional uint32 num_request_sent = 8; + + //timestamp of first sample received on da_test + optional uint64 first_sample_timestamp = 9; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_dae.proto b/proprietary/vendor/etc/sensors/proto/sns_dae.proto new file mode 100644 index 0000000..777bd82 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_dae.proto @@ -0,0 +1,256 @@ +// @file sns_dae.proto +// +// Defines all high-level messages sent to/from the Nano sensor environment +// +// Copyright (c) 2017,2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +import "sns_std_type.proto"; +import "sns_interrupt.proto"; +import "sns_async_com_port.proto"; + + +enum sns_dae_msgid { + option (nanopb_enumopt).long_names = false; + + // to initialize the nano sensor before it can be used + SNS_DAE_MSGID_SNS_DAE_SET_STATIC_CONFIG = 600; + + // provides nano sensor with S4S config info after the initial S4S synch period + SNS_DAE_MSGID_SNS_DAE_S4S_DYNAMIC_CONFIG = 601; + + // to start nano sensor streaming + SNS_DAE_MSGID_SNS_DAE_SET_STREAMING_CONFIG = 602; + + // no message body + // to flush FIFO data before changing ODR and/or WM + // no data event will be generated + SNS_DAE_MSGID_SNS_DAE_FLUSH_HW = 603; + + // no message body + // to request nano sensor to generate data event from the available data + // HW flush will NOT be done + SNS_DAE_MSGID_SNS_DAE_FLUSH_DATA_EVENTS = 604; + + // no message body + // to stop nano sensor streaming + SNS_DAE_MSGID_SNS_DAE_PAUSE_SAMPLING = 605; + + // no message body + // to stop S4S schedule + SNS_DAE_MSGID_SNS_DAE_PAUSE_S4S_SCHED = 606; + + // response from DAE sensor for each request + SNS_DAE_MSGID_SNS_DAE_RESP = 800; + + // message from DAE sensor to deliver all available data + SNS_DAE_MSGID_SNS_DAE_DATA_EVENT = 1200; + + // message from DAE sensor to deliver unhandle interrupts + SNS_DAE_MSGID_SNS_DAE_INTERRUPT_EVENT = 1201; +} + +enum sns_dae_timestamp_type { + // Unknown timestamp type + SNS_DAE_TIMESTAMP_TYPE_UNKNOWN = 0; + + // The timestamp corresponds to an interrupt. Timestamp captured with hardware + // timestamping engine + SNS_DAE_TIMESTAMP_TYPE_HW_IRQ = 1; + + // The timestamp corresponds to an interrupt. Timestamp captured with software + // within the interrupt handler + SNS_DAE_TIMESTAMP_TYPE_SW_IRQ = 2; + + // The timestamp is the current system time when the data was read. The data + // was read due to a system timer firing (for polling & S4S sensors) + SNS_DAE_TIMESTAMP_TYPE_TIMER = 3; + + // The timestamp is the current system time when the data was read. The data + // was read due to a flush command. + SNS_DAE_TIMESTAMP_TYPE_SYSTEM_TIME = 4; +} + +// S4S static information +// +// This contains S4S information which does not change during the life of the S4S sensor +message sns_s4s_static_info { + // Register address of the S4S ST command + required int32 st_reg_addr = 1; + + // Optional data byte which needs to be sent along with ST + optional int32 st_reg_data = 2; + + // Register address of the S4S DT command + required int32 dt_reg_addr = 3; +} + + +// Triaxial sensor input to output axis conversion +message sensor_to_phone_conversion { + + // input axis index (x=0, y=1, z=2) + required uint32 ipaxis = 1; + + // output axis index the above input axis maps to + required uint32 opaxis = 2; + + // whether the input needs to be negated when + // translating to the output axis + required bool invert = 3; +} + +// Accel static informtaion +// +// Accel configuration setting that is not expected to change at run time +message sns_accel_static_info { + + // Factory calibration: offset, in g's (DEPRECATED - moved to sns_accel_dynamic_info) + repeated float offset_cal = 1 [(nanopb).max_count = 3, deprecated = true]; + + // Factory calibration: scale factor (DEPRECATED - moved to sns_accel_dynamic_info) + repeated float scale_cal = 2[(nanopb).max_count = 3, deprecated = true]; + + // range in G + required int32 accel_range = 3; + + // axis map to convert from sensor to phone + repeated sensor_to_phone_conversion axis_map = 4 [(nanopb).max_count = 3]; +} + + +// Accel dynamic informtaion +// +// This data may be updated each time the accel configuration changes +message sns_accel_dynamic_info { + // ODR + required float odr = 1; + + // How many initial samples after ODR change are invalid + required uint32 num_initial_invalid_samples = 2; + + // Factory calibration: offset, in g's + repeated float offset_cal = 3 [(nanopb).max_count = 3]; + + // Factory calibration: scale factor + repeated float scale_cal = 4 [(nanopb).max_count = 3]; + +} + +// Polling config info +message sns_polling_config_info { + + // Absolute time, in 19.2MHz ticks since boot, at which to poll the sensor + required fixed64 polling_offset = 1; + + // interval between polling + required fixed64 polling_interval_ticks = 2; +} + +// Sensor static configuration +// +// This data may not change for the life of the sensor, and should be configured +// at initilization/boot time. +message sns_dae_set_static_config { + + // name of the function table for the nano version of the physical sensor + required string func_table_name = 1 [(nanopb).max_size = 32]; + + // Operational mode of the sensor: + // 0 --> Polling + // 1 --> Interrupt + // 2 --> IBI (I3C In Band Interrupt) + required int32 interrupt = 2; + + // x/y/z axis map for this sensor (DEPRECATED - moved to sns_accel_static_info) + repeated int32 axis_map = 3 [(nanopb).max_count = 3, deprecated = true]; + + // irq_config required if interrupt == 1 + optional sns_interrupt_req irq_config = 4; + + // ibi_config required if interrupt == 2 + optional sns_ibi_req ibi_config = 8; + + // s4s_config required if sensor supports S4S + optional sns_s4s_static_info s4s_config = 5; + + // port configuration + required sns_async_com_port_config ascp_config = 6; + + // Only for accel sensors + optional sns_accel_static_info accel_info = 7; +} + +// S4S dynamic information +// +// This contains S4S information which may change with S4S configuration +message sns_dae_s4s_dynamic_config { + + // Absolute time, in 19.2MHz ticks since boot, of the start of an S4S T_PH period + required fixed64 ideal_sync_offset = 1; + + // Time, in 19.2MHz ticks, in one S4S T_PH period + required fixed64 sync_interval = 2; + + // S4S resolution ratio (RR), as defined in the S4S spec. The final S4S RR will + // be 2^-(11+resolution_ratio). + required int32 resolution_ratio = 3; + + // Minimum time, in 19.2MHz ticks, after the S4S T_PH period to send ST/DT + // messages. Will depend on clock accuracy of the sensor, as well as current + // sync_interval + required int32 st_delay = 4; +} + +message sns_dae_set_streaming_config { + + // minimum number of samples between data events; may still receive fewer samples + required uint32 dae_watermark = 1; + + // discard data older than this limit (relative to current system time) + optional fixed64 data_age_limit_ticks = 2; + + // required for polling sensors + optional sns_polling_config_info polling_config = 3; + + // Only for accel sensors + optional sns_accel_dynamic_info accel_info = 4; + + // Expected number of bytes read from sensor for each call to the DAE environment + // "get_data" driver function. + // If not included, default value is 100 bytes. + optional uint32 expected_get_data_bytes = 5; +} + +message sns_dae_resp { + // Message ID this error code is associated with + required int32 msg_id = 1; + + // result of the request associated with this response + required sns_std_error err = 2; +} + +message sns_dae_data_event { + // Timestamp: For interrupt based sensors, this is the timestamp of the IRQ. + // For polling sensors, this is the timestamp of when get_data() was called + required fixed64 timestamp = 1; + + // Timestamp type + optional sns_dae_timestamp_type timestamp_type = 3; + + // Format of the sensor_data is vendor specific, and up to the nano sensor + // implementation. + required bytes sensor_data = 2; +} + +message sns_dae_interrupt_event { + // timestamp of the IRQ. + required fixed64 timestamp = 1; + + // Format of registers are vendor specific, and up to the nano sensor implementation. + required bytes registers = 2 [(nanopb).max_size = 8]; +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_data_acquisition_engine.proto b/proprietary/vendor/etc/sensors/proto/sns_data_acquisition_engine.proto new file mode 100644 index 0000000..21ef2c5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_data_acquisition_engine.proto @@ -0,0 +1,11 @@ +// @file sns_data_acquisition_engine.proto +// +// Includes sns_dae.proto +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +import "sns_dae.proto"; diff --git a/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto b/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto new file mode 100644 index 0000000..66b5efd --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto @@ -0,0 +1,61 @@ +// @file sns_device_mode.proto +// +// Defines message types for the Device Mode Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// DEVICE_MODE determine the current mode of the device + +// DEVICE_MODE Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "device_mode" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor +// - Client must remove stream to disable the sensor + +// Message IDs for DEVICE_MODE Sensor +enum sns_device_mode_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_DEVICE_MODE_MSGID_SNS_DEVICE_MODE_EVENT = 772; +} + +enum sns_device_mode +{ + option (nanopb_enumopt).long_names = false; + SNS_DEVICE_MODE_UNKNOWN = 0; + SNS_DEVICE_MODE_FLIP_OPEN = 1; +} + +enum sns_device_state +{ + option (nanopb_enumopt).long_names = false; + SNS_DEVICE_STATE_INACTIVE = 0; + SNS_DEVICE_STATE_ACTIVE = 1; +} + +message sns_device_mode_event +{ + message mode_spec { + required sns_device_mode mode = 1; + + required sns_device_state state = 2; + } + // Device Mode + repeated mode_spec device_mode = 1; +} + +// Stream events: +// +// The sns_device_mode_event message is used to publish updated mode +// +// DEVICE_MODE does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto b/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto new file mode 100644 index 0000000..b5a81d9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto @@ -0,0 +1,61 @@ +// @file sns_device_orient.proto +// +// Defines the API for the Device Orientation sensors +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A device orientation sensor reports the current orientation of the device. +// +// Minor or transient rotations should not cause a new event to be reported, +// and this sensor should only be implemented with the help of an accelerometer. +// Moving the device to an orientation where the Z axis is vertical (either up +// or down) should not cause a new event to be reported. + +// ## Device Orientation sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "device_orient" +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: SNS_DEVICE_ORIENT_MSGID_SNS_DEVICE_ORIENT_EVENT + +// Message IDs for Device Orientation Sensor +enum sns_device_orient_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_DEVICE_ORIENT_MSGID_SNS_DEVICE_ORIENT_EVENT = 776; +} + +enum sns_device_orient_event_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_DEVICE_ORIENT_EVENT_TYPE_UNKNOWN = -1; + // Device is in default orientation (Y axis is vertical and points up) + SNS_DEVICE_ORIENT_EVENT_TYPE_DEFAULT = 0; + // Device is rotated 90 degrees counter-clockwise from default orientation + // (X axis is vertical and points up) + SNS_DEVICE_ORIENT_EVENT_TYPE_POS_1 = 1; + // Device is rotated 180 degrees from default orientation (Y axis is + // vertical and points down) + SNS_DEVICE_ORIENT_EVENT_TYPE_POS_2 = 2; + // Device is rotated 90 degrees clockwise from default orientation (X axis + // is vertical and points down) + SNS_DEVICE_ORIENT_EVENT_TYPE_POS_3 = 3; + //#ifdef VENDOR_EDIT quentin.lin@oneplus.com 2018/04/27 add for new device orient algorithem + //Device if flat + SNS_DEVICE_ORIENT_EVENT_TYPE_POS_4 = 4; + //#endif VENDOR_EDIT quentin.lin@oneplus.com 2018/04/27 add for new device orient algorithem +} + +message sns_device_orient_event +{ + // Detected state + required sns_device_orient_event_type state = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_diag.proto b/proprietary/vendor/etc/sensors/proto/sns_diag.proto new file mode 100644 index 0000000..0b02cbb --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_diag.proto @@ -0,0 +1,433 @@ +// @file sns_diag.proto +// +// Defines log messages used by the sensors diag service +// +// Copyright (c) 2016-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; +import "sns_std_sensor.proto"; +import "sns_client.proto"; + +// Batch Sample Type +enum sns_diag_batch_sample_type +{ + option (nanopb_enumopt).long_names = false; + + // This is the only sample in the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY = 0; + + // This is the first sample of the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_FIRST = 1; + + // This is an intermediate sample of the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_INTERMEDIATE = 2; + + // This is the last sample of the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_LAST = 3; +} + +// Sensor Interrupts +enum sns_diag_interrupt +{ + option (nanopb_enumopt).long_names = false; + + // Interrupt caused by detection of a threshold being + // exceeded + SNS_DIAG_INTERRUPT_THRESHOLD = 0; + + // Interrupt caused by detection of movement of the device + SNS_DIAG_INTERRUPT_MOTION = 1; + + // Interrupt caused by detection of tilting of the device + SNS_DIAG_INTERRUPT_TILT = 2; + + // Interrupt caused by detection of free fall + SNS_DIAG_INTERRUPT_FREE_FALL = 3; + + // Interrupt caused by detection of double-tap + SNS_DIAG_INTERRUPT_DOUBLE_TAP= 4; + + // Interrupt caused by detection of acceleration shock + SNS_DIAG_INTERRUPT_SHOCK = 5; + + // Interrupt caused by CCD AMD + SNS_DIAG_INTERRUPT_CCD_AMD = 6; + + // Interrupt caused by CCD WALK + SNS_DIAG_INTERRUPT_CCD_WALK = 7; + + // Interrupt caused by CCD TILT + SNS_DIAG_INTERRUPT_CCD_TILT = 8; + + // Interrupt caused by CCD TE0 + SNS_DIAG_INTERRUPT_CCD_TE0 = 9; + + // Interrupt caused by CCD TE1 + SNS_DIAG_INTERRUPT_CCD_TE1 = 10; + + // Interrupt caused by CCD TE2 + SNS_DIAG_INTERRUPT_CCD_TE2 = 11; +} + +// Opaque Payload +// This message defines the fields used to log an undefined payload +message sns_diag_opaque_payload +{ + required bytes payload = 1; +} + +// Batch Sample +// This message defines the fields used to log batched data. +message sns_diag_batch_sample +{ + // Indicates if the sample is the first, intermediate, last or only + // sample of a batch + required sns_diag_batch_sample_type sample_type = 1 [default = SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY]; + + // Timestamp of the sensor state data sample + required fixed64 timestamp = 2; + + // Sensor state data sample + repeated float sample = 3; + + // Data status. + required sns_std_sensor_sample_status status = 4 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Sensor State Hardware Interrupt Log Packet +// This message defines the fields used to log sensor state information +// pertaining to hardware interrupts +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_sensor_state_interrupt +{ + // Type of sensor hardware interrupt + required sns_diag_interrupt interrupt = 1; + + // Timestamp when the interrupt occurred + required fixed64 timestamp = 2; +} + +// Sensor State Raw +// This message defines the fields used to log sensor state information +// pertaining to raw uncalibrated physical sensor data. +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_sensor_state_raw +{ + repeated sns_diag_batch_sample sample = 1; +} + +// Client API Response Message +message sns_diag_client_resp_msg +{ + // The error response sent to the client + required sns_std_error error = 1; +} + +// Client API log packet +// This message defines the fields to log all +// Request, Response and Event messages at the Client API +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_client_api_log +{ + // The client id that identifies the client connection + required fixed64 client_id = 1; + + // Data type of the source sensor + required string src_sensor_type = 2; + + // The Client API log packet payload + oneof client_api_log_payload + { + // Client API Request message as defined in sns_client.proto + sns_client_request_msg request_payload = 100; + + // Client API Event message as defined in sns_client.proto + sns_client_event_msg event_payload = 101; + + // Client API Response message as defined in sns_diag.proto + sns_diag_client_resp_msg resp_payload = 102; + } +} + +// Sensor API log packet +// This message defines the fields to log all Request and +// Event messages at the Sensor API +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_sensor_api_log +{ + // The message id of the message being logged + required fixed32 message_id = 1; + + // Timestamp associated with this message + required fixed64 timestamp = 2; + + // Data stream associated with this message + optional fixed64 stream_id = 3; + + // The Sensor API log packet payload + oneof sensor_api_log_payload + { + // Sensor API Event message containing sensor specific event message + // as defined in the sensor's proto api file + sns_diag_opaque_payload opaque_payload = 100; + + // Sensor API Request message as defined in sns_std.proto + sns_std_request request_payload = 101; + } +} + +// Sensor log packet +// This message defines the fields to log all sensor specific +// messages. This includes Sensor API messages, Client API messages, +// HW Interrupt messages, Sensor State messages +message sns_diag_sensor_log +{ + // Log ID for the log packet + required fixed32 log_id = 1; + + // Timestamp when log packet.was generated + required fixed64 timestamp = 2; + + // Sensor UID for the log packet + required sns_std_suid suid = 3; + + // Data type provided by the Sensor UID + required string sensor_type = 4; + + // The instance id of the sensor to which this + // message was passed to or obtained from + required fixed64 instance_id = 5; + + // The log packet payload + oneof sensor_log_payload + { + // Sensor specific Sensor State Algo message + sns_diag_opaque_payload opaque_payload = 100; + + // Sensor API message + sns_diag_sensor_api_log sensor_api_payload = 101; + + // Client API message + sns_diag_client_api_log client_api_payload = 102; + + // Sensor State Raw message + sns_diag_sensor_state_raw sensor_state_raw_payload = 103; + + // Sensor State Hardware Interrupt message + sns_diag_sensor_state_interrupt sensor_state_interrupt_payload = 104; + } +} + +// Sensor Instance Mapping Log Packet +// This message defines the fields used to log sensor instance mapping +// information. This message is used as the payload field of sns_diag_fw_log +message sns_diag_instance_map_log +{ + // The instance id of the source sensor instance + required fixed64 src_instance_id = 1; + + // Array of destination Sensor Instance IDs or Sensor IDs that the + // source sensor instance is feeding to. + // If no destination instance ids are specified it signifies + // deletion of the source instance + repeated fixed64 dest_instance_id = 2; + + // Array of data stream ids that the + // source sensor instance is feeding to + repeated fixed64 stream_id = 3; +} + +// Island mode states +enum sns_diag_island_state +{ + option (nanopb_enumopt).long_names = false; + + // In Island mode + SNS_DIAG_ISLAND_STATE_IN_ISLAND_MODE = 0; + + // Not in Island Mode + SNS_DIAG_ISLAND_STATE_NOT_IN_ISLAND_MODE = 1; + + // Island mode disabled + SNS_DIAG_ISLAND_STATE_ISLAND_DISABLED = 2; +} + +// Island mode transition Log Packet +// This message defines the fields used to log +// transitions into and out of island mode +// +// This log packet is generated each time the system transitions into or out +// of island mode or when island mode is disabled or when triggered by +// a request to the diag sensor +// +// This message is used as the payload field of sns_diag_fw_log +message sns_diag_island_transition_log +{ + // Timestamp of the transition + // + // When logpacket is triggered, this timestamp will retain + // the timestamp when the current state became effective. + required fixed64 timestamp = 1; + + // Island state after transition is completed + required sns_diag_island_state island_state = 2; + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 3; + + // Total time system spent in island since device boot(micro seconds) + optional fixed64 total_island_time = 4; +} + +// Island exit vote Log Packet +// This message defines the fields used to log vote for island mode exits. +// +// This log packet is generated at each call to island_exit() +message sns_diag_island_exit_vote_log +{ + // Timestamp + required fixed64 timestamp = 1; + + // SUID of the Sensor responsible for the vote + optional sns_std_suid sensor = 2; +} + +// Heap IDs +enum sns_diag_heap_id +{ + option (nanopb_enumopt).long_names = false; + + // Primary Heap + SNS_DIAG_HEAP_ID_HEAP_MAIN = 0; + + // Island Heap + SNS_DIAG_HEAP_ID_HEAP_ISLAND = 1; + + // PRAM Heap + SNS_DIAG_HEAP_ID_HEAP_PRAM = 2; + + // EVENT Heap + SNS_DIAG_HEAP_ID_HEAP_EVENT = 3; + + // BATCH Heap + SNS_DIAG_HEAP_ID_HEAP_BATCH = 4; + + // Event buffer + SNS_DIAG_HEAP_ID_EVENT_BUFFER = 100; +} + +// Memory status Log Packet +// This message defines the fields used to log the memory utilization +// This log packet is generated when a request is sent to the diag sensor +message sns_diag_mem_utilization_log +{ + // Timestamp + required fixed64 timestamp = 1; + + // Heap ID + required sns_diag_heap_id heap_id = 2; + + // Total Memory + required fixed32 total_memory = 3; + + // Used Memory + required fixed32 used_memory = 4; + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 5; +} + +// Event Service status Log Packet +// This message defines the fields used to log the memory utilization and +// other statistics from the Event Service. +// Used only for SW debug; *not guaranteed to be backward compatible* +// This log packet is generated when a request is sent to the diag sensor +message sns_diag_event_service_log +{ + // Timestamp + required fixed64 timestamp = 1; + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 2; + + message heap_stats + { + enum sns_event_service_heap_id + { + SNS_EVENT_SERVICE_HEAP_ID_ISLAND = 0; + SNS_EVENT_SERVICE_HEAP_ID_MAIN = 1; + } + // Heap ID + required sns_event_service_heap_id heap_id = 1; + + // Total memory available in heap (in blocks) + required fixed32 total_memory = 2; + + // Current memory consumption (in blocks) + required fixed32 used_memory = 3; + + // Maximum memory consumption since last log packet (in blocks) + required fixed32 max_memory = 4; + + // Total clusters available + required fixed32 total_clusters = 5; + + // Current number of clusters in use + required fixed32 used_clusters = 6; + + // Maximum in-use clusters since last log packet + required fixed32 max_clusters = 7; + + // Number of allocation failues since the last DIAG log packet + // If Island will result in island exit; else causes dropped samples + required fixed32 alloc_failures = 8; + + // Largest event allocation since the last DIAG log packet (in bytes) + required fixed32 max_size = 9; + } + repeated heap_stats stats = 3; +} + +// Framework log packet +// This message defines the fields to log all framework messages. This +// includes memory, island, instance mapping messages. +message sns_diag_fw_log +{ + // Log ID for the log packet + required fixed32 log_id = 1; + + // Timestamp when log packet.was generated + required fixed64 timestamp = 2; + + // The log packet payload + oneof fw_log_payload + { + // Sensor Instance Map message + sns_diag_instance_map_log instance_map_payload = 100; + + // Sensor Island Mode + sns_diag_island_transition_log island_mode_payload = 101; + + // Sensors Island Exit vote + // NOT SUPPORTED YET. + sns_diag_island_exit_vote_log island_exit_vote_payload = 102; + + // Sensors Memory Utilization + sns_diag_mem_utilization_log memory_utilization_payload = 103; + + // Event Service status log + sns_diag_event_service_log event_service_payload = 104; + } +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto b/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto new file mode 100644 index 0000000..20f47ab --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto @@ -0,0 +1,51 @@ +// @file sns_diag_sensor.proto +// +// Defines standard message types to communicate with the +// diag service +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; + +enum sns_diag_sensor_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_DIAG_SENSOR_MSGID_SNS_DIAG_LOG_TRIGGER_REQ = 520; +} + +// Log packets that can be triggered by the diag sensor +enum sns_diag_triggered_log_type { + option (nanopb_enumopt).long_names = false; + + // Triggers generation of sns_diag_island_transition_log + // Only one log is generated per request + SNS_DIAG_TRIGGERED_LOG_TYPE_ISLAND_LOG = 1; + + // Triggers generation of sns_diag_mem_utilization_log + // A single request will generate a log for each separate memory + // pool in the system + SNS_DIAG_TRIGGERED_LOG_TYPE_MEMORY_USAGE_LOG = 2; +} + +// Trigger generation of log packets. Depending upon +// the type of log packet that is being triggered, +// multiple log packets can be triggered for each +// request. +// +// If the log packet that is triggered has been disabled +// no log will be generated. +message sns_diag_log_trigger_req { + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 1; + + // The type of log packets that the diag sensor must + // generate. + required sns_diag_triggered_log_type log_type = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_distance_bound.proto b/proprietary/vendor/etc/sensors/proto/sns_distance_bound.proto new file mode 100644 index 0000000..ab84971 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_distance_bound.proto @@ -0,0 +1,149 @@ + +// @file sns_distance_bound.proto +// +// Defines message types for the Distance Bound (DB) Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Distance Bound (DB) algorithm tracks the distance covered in meters +// It expects, as part of its request, distance in meters. DB reports the client +// when this distance is covered from the instant the request was received. +// After a client sends a DB request for distance, it can query DB for +// distance accumulated at any instant before the final breach occurs + +// DB Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "distance_bound" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT + +// Stream Requests: + +// Message IDs for DB Sensor +enum sns_distance_bound_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_set_distance_bound + // Purpose: + // A distance bound request from the client + + SNS_DISTANCE_BOUND_MSGID_SNS_SET_DISTANCE_BOUND = 516; + + // Uses message: None + // Purpose: + // client can query the distance accumulated at a given instance + // before final breach occurs. + // Note: This message should be preceeded by a + // SNS_DISTANCE_BOUND_MSGID_SNS_SET_DISTANCE_BOUND request msg + + SNS_DISTANCE_BOUND_MSGID_SNS_GET_DISTANCE_ACCUMULATED = 517; + + // Uses message: sns_distance_bound_event + // Purpose: + // This event corresponds to request: + // SNS_DISTANCE_BOUND_MSGID_SNS_SET_DISTANCE_BOUND + // This event is raised when the breach occurs. + + SNS_DISTANCE_BOUND_MSGID_SNS_DISTANCE_BOUND_EVENT = 772; + + + // Uses message: sns_get_distance_accumulated_event + // Purpose: + // This event corresponds to request: + // SNS_DISTANCE_BOUND_MSGID_SNS_GET_DISTANCE_ACCUMULATED + // This event reports the distance accumulated at a given + // instance when the request is received + + SNS_DISTANCE_BOUND_MSGID_SNS_GET_DISTANCE_ACCUMULATED_EVENT = 773; +} + + +// Gives the state which the algorithm is capable +// of detecting +enum sns_distance_bound_motion_state +{ + option (nanopb_enumopt).long_names = false; + + SNS_DB_MS_UNKNOWN = 0; + SNS_DB_MS_STATIONARY = 1; + SNS_DB_MS_MOVE = 2; + SNS_DB_MS_FIDDLE = 3; + SNS_DB_MS_PEDESTRIAN = 4; + SNS_DB_MS_VEHICLE = 5; + SNS_DB_MS_WALK = 6; + SNS_DB_MS_RUN = 7; + SNS_DB_MS_BIKE = 8; + SNS_DB_MS_MAX = 9; +} + +// Request message +// message associated with SNS_DISTANCE_BOUND_MSGID_SNS_SET_DISTANCE_BOUND +// This message will result in atmost one sns_distance_bound_event when +// the requested distance is covered +// If client resends a fresh sns_set_distance_bound before the older is serviced +// the older request will be lost and new distance will be calculated from that +// instant + +message sns_set_distance_bound +{ + // The distance bound in meters. When the distance travelled exceeds this, + // an event is sent to the requestor + + required float distance_bound = 1; + + // speeds associated with different motion states. + // if client does not send any motion state speed, + // default values will be taken for that motion state + + message speeds { + required sns_distance_bound_motion_state state = 1; + required float speed = 2; + } + + repeated speeds speed_bound = 2; +} + +// Event message +// message associated with SNS_DISTANCE_BOUND_MSGID_SNS_DISTANCE_BOUND_EVENT +// This event corresponds to request: +// SNS_DISTANCE_BOUND_MSGID_SNS_SET_DISTANCE_BOUND +// This event will be raised after the breach occurs. + +message sns_distance_bound_event +{ + // Distance accumulated in meters since the last sns_set_distance_bound + required float distance_accumulated = 1; +} + +// Event message +// message associated with +// SNS_DISTANCE_BOUND_MSGID_SNS_GET_DISTANCE_ACCUMULATED_EVENT +// This event corresponds to request: +// SNS_DISTANCE_BOUND_MSGID_SNS_GET_DISTANCE_ACCUMULATED +// This event will be raised instantly upon receiveing the above request, +// reporting the distance accumulated till that instance. +// NOTE: +// In following situation an error event, +// SNS_STD_MSGID_SNS_STD_ERROR_EVENT, with payload sns_std_error_event, having +// appropriate error code, will be raised: +// 1. In absence of any prior SNS_DISTANCE_BOUND_MSGID_SNS_SET_DISTANCE_BOUND +// error event with error code SNS_STD_ERROR_FAILED will be raised. +// +// 2. If a breach has already occurred for a prior +// SNS_DISTANCE_BOUND_MSGID_SNS_SET_DISTANCE_BOUND request, error event +// with error code SNS_STD_ERROR_NOT_AVAILABLE will be raised. + + +message sns_get_distance_accumulated_event +{ + // Distance accumulated in meters since the last sns_set_distance_bound + required float distance_accumulated = 1; +} + +// DB does not publish configuration events. + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_dpc.proto b/proprietary/vendor/etc/sensors/proto/sns_dpc.proto new file mode 100644 index 0000000..5c46da1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_dpc.proto @@ -0,0 +1,64 @@ +// @file sns_dpc.proto +// +// Defines message types for the DPC(Device Position Classifier) Sensor. +// +// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The DPC Sensor provides device position information + +// DPC Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "device_position_classifier" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for DPC Sensor +enum sns_dpc_msgid { + option (nanopb_enumopt).long_names = false; + + //send to new client immediatly to inform current device position + SNS_DPC_MSGID_SNS_DPC_EVENT_CONFIG = 777; + + //send when detect device position change + SNS_DPC_MSGID_SNS_DPC_EVENT = 1030; +} + +// Stream events: +// +// The sns_dpc_event message is used to publish updated device position +// The sns_dpc_event_config message is sent immediately to new client to inform the current device position + +enum sns_dpc_state +{ + option (nanopb_enumopt).long_names = false; + + // when algo cannot identify other states + SNS_DPC_UNKNOWN = 1; + // User keeps the device steady with display at an angle within +/-15 deg with respect to the horizontal plane + SNS_DPC_FLAT_STATIC = 2; + // Device is not in FLAT_STATIC state and proximity sensor detects NEAR + SNS_DPC_HIDDEN = 3; + // User picks up the device + SNS_DPC_IN_HAND = 4; + // User keeps the device steady with display at an angle greater than +/-15 deg with respect to the horizontal plane + SNS_DPC_FACING = 5; +} + +// Events types from DPC Sensor +message sns_dpc_event +{ + required sns_dpc_state dpc_state = 1; +} + +message sns_dpc_event_config +{ + //current dpc state + required sns_dpc_state dpc_state = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto b/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto new file mode 100644 index 0000000..7e8370a --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto @@ -0,0 +1,72 @@ +// @file sns_ext_svc.proto +// +// Sensor provides access to external QMI services. +// +// This Sensor will create a connection to the external service upon +// receipt of the first request. Subsequent requests will be sent upon the +// same connection. The connection will be closed after the client closes +// the data stream. +// +// An error event will be sent upon any received error, including upon +// the error callback. It is then the responsibility of the client to close +// the data stream, and re-open a new one if desired. +// +// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_ext_svc_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Send a request message + SNS_EXT_SVC_MSGID_SNS_EXT_SVC_REQ = 512; + + // Asynchronously received response message + SNS_EXT_SVC_MSGID_SNS_EXT_SVC_RESP = 768; + + // Asynchronously received indication message + SNS_EXT_SVC_MSGID_SNS_EXT_SVC_IND = 1024; +} + +message sns_ext_svc_req +{ + required uint32 svc_id = 1; + + // QMI/IDL Message ID + required int32 msg_id = 2; + + // Client-specified transaction ID, to be returned in sns_ext_svc_resp + optional int32 transaction_id = 3; + + // Contains the QMI-decoded request message. + required bytes payload = 4; +} + +message sns_ext_svc_resp +{ + // QMI/IDL Message ID + required int32 msg_id = 1; + + // Transport error, as defined in qmi_client.h; Defaults to QMI_NO_ERR + required int32 transp_err = 2; + + // Client-specified transaction ID, as provided in sns_ext_svc_req + optional int32 transaction_id = 3; + + // Contains the QMI-decoded response message + // May be empty if transport_err != QMI_NO_ERR + required bytes payload = 4; +} + +message sns_ext_svc_ind +{ + // QMI/IDL Message ID + required int32 msg_id = 1; + + // Contains the QMI-decoded indication message. + required bytes payload = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_facing.proto b/proprietary/vendor/etc/sensors/proto/sns_facing.proto new file mode 100644 index 0000000..8decd9f --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_facing.proto @@ -0,0 +1,60 @@ +// @file sns_facing.proto +// +// Defines message types for the the facing sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Facing calculates face up, down and neutral states. Facing will initially start in an +// unknown state, and later transition to face up, down and neutral. +// Neutral state reported to client on demand + +// Facing Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "facing" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Facing Sensor +enum sns_facing_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_FACING_MSGID_SNS_FACING_EVENT = 1024; +} + +// Device Facing state detected by Facing sensor +enum sns_facing_event_state +{ + option (nanopb_enumopt).long_names = false; + SNS_FACING_EVENT_STATE_UNKNOWN = 0; + //Phone has just moved to a facing-up phone posture + //which is defined as screen up. + SNS_FACING_EVENT_STATE_UP = 1; + //Phone has just moved to a facing-down phone posture, + //which is defined as screen down. + SNS_FACING_EVENT_STATE_DOWN = 2; + //Phone has just left either the facing-up + //or the facing-down phone posture + SNS_FACING_EVENT_STATE_NEUTRAL = 3; +} + +// Event Message +// Output data event generated by the facing sensor. +message sns_facing_event +{ + // Facing sensor state info + required sns_facing_event_state state = 1[default = SNS_FACING_EVENT_STATE_UNKNOWN]; +} + +// Stream events: +// +// The sns_facing_event message is used to publish updated state +// +// Facing sensor does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_fmv.proto b/proprietary/vendor/etc/sensors/proto/sns_fmv.proto new file mode 100644 index 0000000..2a56cba --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_fmv.proto @@ -0,0 +1,40 @@ +// @file sns_fmv.proto +// +// Defines the API for Filtered Magnetic Vector. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A FMV sensor reports the filtered magnetic vector +// +// ## FMV sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "fmv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the FMV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// 1. Output of the FMV sensor will be populated in sns_std_sensor_event +// 2. Each stream event contains three output data fields in µT (micro Tesla) +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_formatter.proto b/proprietary/vendor/etc/sensors/proto/sns_formatter.proto new file mode 100644 index 0000000..7c32bed --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_formatter.proto @@ -0,0 +1,121 @@ +// @file sns_offset_formatter.proto +// +// Defines standard message types for the Offset/Formatter sensor +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; +import "sns_std_sensor.proto"; + +enum sns_formatter_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_MSGID_SNS_FORMATTER_REQUEST = 512; + SNS_FORMATTER_MSGID_SNS_FORMATTER_METRIC_DATA_REQUEST = 513; + + SNS_FORMATTER_MSGID_SNS_FORMATTER_OUTPUT_EVENT = 1024; + SNS_FORMATTER_MSGID_SNS_FORMATTER_ACK_EVENT = 1025; +} + +enum sns_formatter_request_values { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_REQUEST_INVALID = 0; + // Creates a new instance of a metric with given id. + SNS_FORMATTER_REQUEST_CREATE = 1; + // Starts or resumes the update of the metric instances. + SNS_FORMATTER_REQUEST_START = 2; + // Pauses the update of the metric instances. + SNS_FORMATTER_REQUEST_STOP = 3; + // Resets metric instance state. + SNS_FORMATTER_REQUEST_RESET = 4; + // Destroys the metric instance. Release the resources for that instance. + SNS_FORMATTER_REQUEST_DESTROY = 5; + // Set the config data based on the group name. + SNS_FORMATTER_REQUEST_CONFIG_SET = 6; + // fetch the config data based on the group name. + SNS_FORMATTER_REQUEST_CONFIG_GET = 7; + // Updates the batch period at the client manager. + SNS_FORMATTER_REQUEST_BATCH = 8; +} + +enum sns_formatter_status_values { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_STATUS_FAILURE = 0; + SNS_FORMATTER_STATUS_INVALID_PARAM = 1; + SNS_FORMATTER_STATUS_SUCCESS = 2; +} + +enum sns_formatter_client_id { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_CLIENT_BG = 0; + SNS_FORMATTER_CLIENT_APPS = 1; +} + +enum sns_formatter_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_OUTPUT_DATA_EVENT = 0; + SNS_FORMATTER_OUTPUT_BUFFER_EVENT = 1; + SNS_FORMATTER_CONFIG_DATA_EVENT = 2; +} + +// "UNUSED" is filled by clients for strings which are +// not applicable for a given sns_formatter-request_values id. +message sns_formatter_config_payload { + optional sns_std_suid metric_sensor_suid = 1; + required sns_std_suid formatter_suid = 2; + required float sample_rate = 3; + required string format_input_str = 4; + required string metric_name = 5; + required string group_name = 7; + required string sensor_config_data = 8; +} + +message sns_formatter_output_event_payload +{ + required bytes data = 1; + required sns_std_sensor_sample_status status = 2; + required sns_formatter_event_type event_type = 3; +} + +// Formatter config message +// Used by clients to configure the formatter for various metrics +message sns_formatter_request +{ + required sns_formatter_request_values msg_id = 1; + required fixed32 metric_id = 2; + required sns_formatter_client_id client_id = 3; + optional sns_formatter_config_payload payload = 4; + optional sns_formatter_output_event_payload event_payload = 5; +} + +message sns_formatter_metric_data_request +{ + required fixed32 metric_id = 1; + required bytes metric_data = 2; +} + +// Formatter output event +// This event contains the formatted string output corresponding to the +// metric requested by the client. +message sns_formatter_output_event +{ + required fixed32 metric_id = 1; + required string formatted_output = 2; + required sns_formatter_output_event_payload event_payload = 3; +} + +// Formatter acknowledge event +// This event contains the status for the request sent from the client. +// Status indicates if the requested format string was valid or not. +message sns_formatter_ack_event +{ + required fixed32 metric_id = 1; + required sns_formatter_status_values status = 2; +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/proto/sns_fw.proto b/proprietary/vendor/etc/sensors/proto/sns_fw.proto new file mode 100644 index 0000000..3cededd --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_fw.proto @@ -0,0 +1,23 @@ +// @file sns_fw.proto +// +// Defines Framework internal values. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Internal Framework message IDs +// Note: These message IDs must not conflict with those in sns_std_msgid +enum sns_fw_msgid { + option (nanopb_enumopt).long_names = false; + + // Special message only sent by the Framework; not processed by Sensors + // Empty Message + SNS_FW_MSGID_SNS_DESTROY_REQ = 120; + + // Special message only sent by the Framework; not processed by Sensors + // Empty Message + SNS_FW_MSGID_SNS_DESTROY_COMPLETE_EVENT = 250; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto b/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto new file mode 100644 index 0000000..ea0dee6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto @@ -0,0 +1,48 @@ +// @file sns_game_rv.proto +// +// Defines the API for Game Rotation Vector sensors +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A GameRV sensor reports the orientation of the device relative to an +// unspecified coordinates frame. It is obtained by integration of +// accelerometer and gyroscope readings. Therefore the Y axis doesn't point +// north but instead to an arbitrary reference. +// +// ## GameRV sensor attributes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE is "game_rv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the GameRV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the GameRV sensor will be populated in sns_std_sensor_event +// +// The orientation is represented by the rotation necessary to align +// the coordinate frame with the device's coordinates. That is, +// applying the rotation to the world frame (X,Y,Z) would align them with +// the device coordinates (x,y,z). +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference device orientation to the current +// device orientation. The rotation is encoded as the four unitless x, y, z, w +// components of a unit quaternion: +// sns_std_sensor_event::data[0] = rot_axis.x*sin(theta/2) +// sns_std_sensor_event::data[1] = rot_axis.y*sin(theta/2) +// sns_std_sensor_event::data[2] = rot_axis.z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto b/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto new file mode 100644 index 0000000..5da3151 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto @@ -0,0 +1,50 @@ +// @file sns_geomag_rv.proto +// +// Defines the API for Geomagnetic Rotation Vector sensors. +// This Sensor is similar to Rotation Vector, but uses a magnetometer instead +// of a gyroscope. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A GeoMagRV sensor reports the orientation of the device relative to the +// East-North-Up coordinates frame. It is obtained by integration of +// accelerometer and magnetometer readings. +// +// ## GeoMagRV sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "geomag_rv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the GeoMagRV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the GeoMagRV sensor will be populated in sns_std_sensor_event +// +// The East-North-Up coordinate system is defined as a direct orthonormal +// basis where: +// - X points east and is tangential to the ground. +// - Y points north and is tangential to the ground. +// - Z points towards the sky and is perpendicular to the ground. +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference device orientation to the current +// device orientation. The rotation is encoded as the four unitless x, y, z, w +// components of a unit quaternion: +// sns_std_sensor_event::data[0] = rot_axis.x*sin(theta/2) +// sns_std_sensor_event::data[1] = rot_axis.y*sin(theta/2) +// sns_std_sensor_event::data[2] = rot_axis.z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_gravity.proto b/proprietary/vendor/etc/sensors/proto/sns_gravity.proto new file mode 100644 index 0000000..b520a08 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gravity.proto @@ -0,0 +1,30 @@ +// @file sns_gravity.proto +// +// Defines standard message types for the Gravity Sensor +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Configuration Message +// Used to either request for a certain configuration of the gravity sensor or +// alter an already existing configuration of the gravity sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the gravity sensor in hertz + +// Data Message +// Data event generated by the gravity. +// Uses sns_std_sensor_event message defined in sns_std_sensor.proto +// The data field of the sns_std_sensor_event message +// contains a float array of length 6 with the following definition +// 1) float data[0] to data[2] +// Representing the gravity values along x,y,z axes in m/s2. +// 2) float data[3] to data[5] +// Representing the linear acceleration values along x,y,z axes in m/s2. +// Determined as the delta between the accel and the gravity values +// along that axis. diff --git a/proprietary/vendor/etc/sensors/proto/sns_gyro.proto b/proprietary/vendor/etc/sensors/proto/sns_gyro.proto new file mode 100644 index 0000000..03f1bc5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gyro.proto @@ -0,0 +1,74 @@ +// @file sns_gyro.proto +// +// Defines the API for Gyroscope Sensors. +// All Gyroscope Sensor drivers are required to comply with this API. +// Any new functionality for Gyroscope Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Gyroscope Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "gyro". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in (radians/sec)/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in radians/sec unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Gyroscope Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. The Gyroscope Sensor uses batching_period item in +// sns_std_request as the requested batching rate to determine +// hardware FIFO watermark. + +// Handling stream events: +// 1. The Gyroscope Sensor publishes device rotation data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields where data is +// in radians/sec units and is factory calibrated. +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// This conforms to the mobile device axes orientation as specified by the +// Android Sensor API. +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 6. The Gyroscope Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 7. The Gyroscope Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and comp_matrix fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. +// Handling self-test requests: +// 1. The Gyroscope Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Gyroscope Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Gyroscope Sensor could implement other test types. + +// Handling test events: +// 1. The Gyroscope Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto new file mode 100644 index 0000000..5b5ac30 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto @@ -0,0 +1,32 @@ +// @file sns_gyro_cal.proto +// +// Defines message types for the Gyro Calibration Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_cal.proto"; + +// The Gyro Calibration Sensor determines the calibration parameters +// for gyro sensor + +// Gyro Calibration Sensor Attributes: +// - SNS_STD_SENSOR_ATTRID_TYPE: "gyro_cal" +// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to +// enable the sensor +// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm +// and any previously determined calibration parameters. + +// Stream Events: +// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration +// parameters to the client of the sensor. The sns_cal_event message as +// defined in sns_cal.proto is used to report this data event where the +// units for the bias field in the message are in rad / s + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto b/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto new file mode 100644 index 0000000..32614fc --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto @@ -0,0 +1,50 @@ +// @file sns_gyro_rot_matrix.proto +// +// Defines standard message types for the Gyro Rotation Matrix +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_gyro_rot_matrix_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_GYRO_ROT_MATRIX_MSGID_SNS_STD_SENSOR_EVENT = 1024; +} + +// Data Message +// Data event generated by the gyro rotation matrix. +// Uses sns_std_sensor_event message defined in sns_std_sensor.proto +// The data field of the sns_std_sensor_event message +// contains a float array of length 10 with the following definition +// 1) float data[0] to data[8] +// 3 by 3 Gyro Rotation Matrix output +// Representing the rotation from previously sampled gyro values +// to the current one. +// The matrix definition is as follows: +// curr_gyro_XYZ[3X1] = gyro_rot_matrix[3X3] * prev_gyro_XYZ[3X1] +// data[0] = gyro_rot_matrix[0,0] +// data[1] = gyro_rot_matrix[0,1] +// data[2] = gyro_rot_matrix[0,2] +// data[3] = gyro_rot_matrix[1,0] +// data[4] = gyro_rot_matrix[1,1] +// data[5] = gyro_rot_matrix[1,2] +// data[6] = gyro_rot_matrix[2,0] +// data[7] = gyro_rot_matrix[2,1] +// data[8] = gyro_rot_matrix[2,2] +// 2) float data[9] +// Gyro Norm of the currently sampled gyro data +// determined as the sum of squares of gyro on each of the axes +// i.e. curr_gyro_X^2 + curr_gyro_Y^2 + curr_gyro_Z^2 + +// Configuration Message +// Used to either request for a certain configuration of the Gyro Rotation Matrix Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Gyro Rotation Matrix sensor in hertz diff --git a/proprietary/vendor/etc/sensors/proto/sns_hall.proto b/proprietary/vendor/etc/sensors/proto/sns_hall.proto new file mode 100644 index 0000000..a779844 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_hall.proto @@ -0,0 +1,82 @@ +// @file sns_hall.proto +// +// Defines the API for Hall Sensors. +// All Hall Sensor drivers are required to comply with this API. +// Any new functionality for Hall Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Hall Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "hall". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this is an event +// sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values as 0 and 1. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Hall Sensor handles the SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// message ID for all stream enable/update requests. +// 2. The Hall Sensor operates in on-change mode and report +// samples only for magnet NEAR/FAR transitions. + +// Message IDs for hall Sensor +enum sns_hall_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_hall_event + // Purpose: An output data event from the hall sensor to it's client. + SNS_HALL_MSGID_SNS_HALL_EVENT = 770; +} + +enum sns_hall_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_HALL_EVENT_TYPE_FAR = 0; + SNS_HALL_EVENT_TYPE_NEAR = 1; +} + +// Events types from hall Sensor +message sns_hall_event +{ + // Hall NEAR/FAR output event + required sns_hall_event_type hall_event_type = 1 [default = SNS_HALL_EVENT_TYPE_FAR]; + + // Hall sensor sample status + required sns_std_sensor_sample_status status = 2 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Handling stream events: +// 1. The Hall Sensor publishes magnetic field proximity data stream +// events using the sns_hall_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The Hall Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The Hall Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Hall Sensor could implement other test types. + +// Handling test events: +// 1. The Hall Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto b/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto new file mode 100644 index 0000000..db785a0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto @@ -0,0 +1,31 @@ +// @file sns_heart_beat.proto +// +// Defines the API for Heart Beat sensors +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A heart beat sensor reports everytime a heart beat peak is detected. +// +// Peak ideally corresponds to the positive peak in the QRS complex of +// an ECG signal, and the event timestamp should correspond to the time this +// peak occured. +// +// The sensor is not expected to be optimized for latency. As a guide, a +// receipt latency of up to 10 seconds is acceptable. +// +// ## Heart Beat sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "heart_beat" +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: sns_std_sensor_event +// Output of the Heart Beat sensor will be populated in sns_std_sensor_event. +// +// sns_std_sensor_event::data[0] = confidence in the detection of the peak +// where 0.0 represent no information at all, and 1.0 represents certainty. diff --git a/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto b/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto new file mode 100644 index 0000000..c6f90f5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto @@ -0,0 +1,55 @@ +// @file sns_heart_rate.proto +// +// Defines the API for Heart Rate Detection Sensors. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A sensor of this type returns the current heart rate in beats per minute +// (BPM). Because this sensor is on-change, events must be generated when and +// only when BPM or status have changed since the last event. +// +// Upon the first activation, unless the device is known to not be on the +// body, the status field of the first event must be set to UNRELIABLE. +// +// ## Heart Rate sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "heart_rate" +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: sns_std_sensor_event +// Output of the Heart Rate sensor will be populated in sns_std_sensor_event. +// +// SNS_HEART_RATE_MSGID_SNS_HEART_RATE_EVENT::data[0] = current heart rate in beats per minute (BPM) +// +// SNS_HEART_RATE_MSGID_SNS_HEART_RATE_EVENT::status specifies the reliability of the sample value +// value is of type sns_heart_rate_event_type. + +enum sns_heart_rate_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_HEART_RATE_MSGID_SNS_HEART_RATE_EVENT = 779; +} + +enum sns_heart_rate_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_HR_STATUS_NO_CONTACT = -1; + SNS_HR_STATUS_UNRELIABLE = 0; + SNS_HR_STATUS_ACCURACY_LOW = 1; + SNS_HR_STATUS_ACCURACY_MEDIUM = 2; + SNS_HR_STATUS_ACCURACY_HIGH = 3; +} + +// Events types from heart_rate Sensor +message sns_heart_rate_event +{ + required float heart_rate = 1; + required sns_heart_rate_event_type heart_rate_event_type = 2 [default = SNS_HR_STATUS_NO_CONTACT]; +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto b/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto new file mode 100644 index 0000000..0e8e8eb --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto @@ -0,0 +1,83 @@ + +// @file sns_hinge_angle.proto +// +// Defines message types for the Hinge Angle Sensor. +// +// Copyright (c) 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Hinge Angle Sensor detects the angle between two rigid bodies connected by a hinge +// around which rotation can occur. +// +// The reference position for Hinge Angle measurement constitues the two rigid bodies being +// parallel to the ground, with surfaces in contact with each other and hinge connecting +// the left edges of the two rigid bodies. +// The rigid body that is located below is defined to be the primary rigid body. +// The rigid body which is located above is defined to be the secondary rigid body. +// +// The Hinge Angle Sensor detects the angle going from the primary rigid body to the +// secondary rigid body, measured counter clockwise around the hinge. The maximum range of +// reported angles will be from 0 degrees to 360 degrees. +// +// A Hinge Angle of 0 degrees is reported when the two rigid bodies have the same surfaces, +// as described in the reference position, in contact with each other. +// +// A Hinge Angle of 360 degrees is reported when the two rigid bodies have the opposite +// surfaces, to those described in the reference position, in contact with each other. +// +// A Hinge Angle of 180 degrees is reported when the two rigid bodies are coplanar. + +// Attribute Requirements: +// Hingle Angle Sensor must support the following attributes +// SNS_STD_SENSOR_ATTRID_TYPE: "hinge_angle" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// SNS_STD_SENSOR_ATTRID_RESOLUTIONS: the smallest hinge angle in degrees that +// can be detected by the sensor +// SNS_STD_SENSOR_ATTRID_RANGES: the range of angles detected by the sensor, for +// example [0,360] + +// Request: +// A request message with message id SNS_HINGE_ANGLE_MSGID_SNS_HINGE_ANGLE_CONFIG +// and payload sns_hinge_angle_config is used to enable the Hinge Angle Sensor + +// Event: +// Hinge Angle sensor generates an event with message id +// SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_EVENT and payload sns_std_sensor_event +// when hinge angle change is detected + +// Message IDs for HINGE_ANGLE Sensor +enum sns_hinge_angle_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_HINGE_ANGLE_MSGID_SNS_HINGE_ANGLE_CONFIG = 512; +} + + +// Request Message +// Used to either request for a new configuration of the Hinge Angle Sensor or +// alter an already existing configuration +message sns_hinge_angle_config +{ + // Ids of the primary and secondary rigid bodies between which hinge angle + // is to be measured. Ids must match the SNS_STD_SENSOR_ATTRID_RIGID_BODY + // attributes of the sensors on these rigid bodies that are to be used. + repeated int32 rigid_body = 1 [(nanopb).max_count = 2]; +} + + +// Event Message +// Uses sns_std_sensor_event message defined in sns_std_sensor.proto +// The data field of the sns_std_sensor_event message contains a +// single floating point value representing the detected hinge angle +// in degrees +// The status field of the sns_std_sensor_event message contains the +// accuracy of the detected hinge angle + + + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_humidity.proto b/proprietary/vendor/etc/sensors/proto/sns_humidity.proto new file mode 100644 index 0000000..7ae47bc --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_humidity.proto @@ -0,0 +1,69 @@ +// @file sns_humidity.proto +// +// Defines the API for Humidity Sensors. +// All Humidity Sensor drivers are required to comply with this API. +// Any new functionality for Humidity Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Humidity Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "humidity". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in %RH/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in %RH unit. +// 4. The Humidity Sensor is an on-change sensor. +// 5. See sns_std_sensor.proto for other attributes. + + +// Handling stream requests: +// 1. The Humidity Sensor handles the SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// message ID for all stream enable/update requests. +// 2. The Humidity Sensor supports on-change mode of operation. +// 3. In on-change mode the Sensor could use interrupt operation and +// reports samples for only significant change in humidity. +// Example: +/- 5% change. + +// Handling stream events: +// 1. The Humidity Sensor publishes ambient relative humidity data stream +// events using the sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Humidity data in %RH (% Relative Humidity) +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Humidity Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Humidity Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Humidity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Humidity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Humidity Sensor could implement other test types. + +// Handling test events: +// 1. The Humidity Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_interrupt.proto b/proprietary/vendor/etc/sensors/proto/sns_interrupt.proto new file mode 100644 index 0000000..ed9f8c2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_interrupt.proto @@ -0,0 +1,140 @@ +// @file sns_interrupt.proto +// +// Defines standard message types for the Interrupt Sensor. The Interrupt +// Sensor is a QC written platform Sensor which is used by physical Sensor +// drivers that use interrupts like data-ready interrupt (DRI), FIFO watermark +// interrupt, etc. These physical Sensors must use the API defined in this file +// to send requests to and parse events from the Interrupt Sensor. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_interrupt_msgid +{ + option (nanopb_enumopt).long_names = false; + + // This message is used to register for notifications for a physical interrupt + // pin with the interrupt sensor. + SNS_INTERRUPT_MSGID_SNS_INTERRUPT_REQ = 512; + + // This message is used to register for notifications for an In Band + // Interrupt (IBI). + SNS_INTERRUPT_MSGID_SNS_IBI_REQ = 514; + + // Data event from interrupt Sensor. + // + // This message is generated each time a registered + // interrupt fires. This message ID corresponds to + // the message sns_interrupt_event + SNS_INTERRUPT_MSGID_SNS_INTERRUPT_EVENT = 1024; + + // Interrupt sensor event marking it as registered + // + // This message is generated when an interrupt has + // been successfully registered. Sensors should not + // turn on the hardware interrupts until this + // event has been recieved from the interrupt sensor. + // This event has no body and the event length is 0 + SNS_INTERRUPT_MSGID_SNS_INTERRUPT_REG_EVENT = 1025; + + // Notification message to the interrupt Sensor that + // a level triggered interrupt has been serviced and cleared. + // + // In case of level triggered interrupts, when the interrupt + // fires, the interrupt sensor disables the interrupt until + // it is serviced and cleared at it's source. This message + // is used to notify the interrupt sensor that the interrupt + // has been serviced and cleared so that it can be re-enabled. + // This message is not applicable to edge triggered interrupts. + // This message does not have any payload. + SNS_INTERRUPT_MSGID_SNS_INTERRUPT_IS_CLEARED = 513; +} + +// Types of interrupt triggers. +enum sns_interrupt_trigger_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_INTERRUPT_TRIGGER_TYPE_RISING = 0; // Trigger type rising edge. + SNS_INTERRUPT_TRIGGER_TYPE_FALLING = 1; // Trigger type falling edge. + SNS_INTERRUPT_TRIGGER_TYPE_DUAL_EDGE = 2; // Trigger type rising and falling edge. + SNS_INTERRUPT_TRIGGER_TYPE_HIGH = 3; // Trigger type high level. + SNS_INTERRUPT_TRIGGER_TYPE_LOW = 4; // Trigger type low level. +} + +// Types of interrupt pin drive strength. +enum sns_interrupt_drive_strength +{ + option (nanopb_enumopt).long_names = false; + + SNS_INTERRUPT_DRIVE_STRENGTH_2_MILLI_AMP = 0; // Specify a 2 mA drive. + SNS_INTERRUPT_DRIVE_STRENGTH_4_MILLI_AMP = 1; // Specify a 4 mA drive. + SNS_INTERRUPT_DRIVE_STRENGTH_6_MILLI_AMP = 2; // Specify a 6 mA drive. + SNS_INTERRUPT_DRIVE_STRENGTH_8_MILLI_AMP = 3; // Specify an 8 mA drive. + SNS_INTERRUPT_DRIVE_STRENGTH_10_MILLI_AMP = 4; // Specify a 10 mA drive. + SNS_INTERRUPT_DRIVE_STRENGTH_12_MILLI_AMP = 5; // Specify a 12 mA drive. + SNS_INTERRUPT_DRIVE_STRENGTH_14_MILLI_AMP = 6; // Specify a 14 mA drive. + SNS_INTERRUPT_DRIVE_STRENGTH_16_MILLI_AMP = 7; // Specify a 16 mA drive. +} + +// Types of interrupt pin pull. +enum sns_interrupt_pull_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_INTERRUPT_PULL_TYPE_NO_PULL = 0; // Do not specify a pull. + SNS_INTERRUPT_PULL_TYPE_PULL_DOWN = 1; // Pull the GPIO down. + SNS_INTERRUPT_PULL_TYPE_KEEPER = 2; // Designate as a Keeper. + SNS_INTERRUPT_PULL_TYPE_PULL_UP = 3; // Pull the pin up. +} + +// Client request message for Interrupt Sensor. +message sns_interrupt_req +{ + // Interrupt pin number. + required uint32 interrupt_num = 1; + + // Interrupt trigger type. + required sns_interrupt_trigger_type interrupt_trigger_type = 2; + + // Interrupt pin drive strength configuration. + required sns_interrupt_drive_strength interrupt_drive_strength = 3; + + // Interrupt pin pull configuration. + required sns_interrupt_pull_type interrupt_pull_type = 4; + + // Interrupt pin type. True if this is a chip + // TLMM GPIO. False if this is an SSC TLMM GPIO. + required bool is_chip_pin = 5; +} + +// Client request message for Interrupt Sensor. +message sns_ibi_req +{ + // Slave address for I3C + required uint32 dynamic_slave_addr = 1; + + // Platform bus instance number (BLSP number) + required uint32 bus_instance = 2; + + // Number of optional + mandatory bytes supported by the sensor hardware + required fixed32 ibi_data_bytes = 3; +} + +// Event generated by the Interrupt Sensor. +message sns_interrupt_event +{ + // Interrupt pin number or dynamic slave address + required fixed32 interrupt_num = 1; + + // Timestamp when trigger event on the interrupt + // was detected. + required fixed64 timestamp = 2; + + // If an IBI event, the data associated with the event + optional bytes ibi_data = 3 [(nanopb).max_size = 32]; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_mag.proto b/proprietary/vendor/etc/sensors/proto/sns_mag.proto new file mode 100644 index 0000000..6c8868f --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_mag.proto @@ -0,0 +1,75 @@ +// @file sns_mag.proto +// +// Defines the API for Magnetometer Sensors. +// All Magnetometer Sensor drivers are required to comply with this API. +// Any new functionality for Magnetometer Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Magnetometer Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "mag". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in µT/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in µT unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Magnetometer Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Magnetometer +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Magnetometer Sensor publishes ambient magnetic field data events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields where data is +// in µT (micro Tesla) units and is factory calibrated. +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// This conforms to the mobile device axes orientation as specified by the +// Android Sensor API. +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 6. The Magnetometer Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 7. The Magnetometer Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and comp_matrix fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Magnetometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Magnetometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Magnetometer Sensor could implement other test types. + +// Handling test events: +// 1. The Magnetometer Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto new file mode 100644 index 0000000..3ce0441 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto @@ -0,0 +1,32 @@ +// @file sns_mag_cal.proto +// +// Defines message types for the Mag Calibration Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_cal.proto"; + +// The Mag Calibration Sensor determines the calibration parameters +// for magnetometer sensor + +// Mag Calibration Sensor Attributes: +// - SNS_STD_SENSOR_ATTRID_TYPE: "mag_cal" +// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to +// enable the sensor +// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm +// and any previously determined calibration parameters. + +// Stream Events: +// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration +// parameters to the client of the sensor. The sns_cal_event message as +// defined in sns_cal.proto is used to report this data event where the +// units for the bias field in the message are in micro Tesla. + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_mcmd.proto b/proprietary/vendor/etc/sensors/proto/sns_mcmd.proto new file mode 100644 index 0000000..c8554ca --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_mcmd.proto @@ -0,0 +1,58 @@ +// @file sns_mcmd.proto +// +// Defines the API for Magnitude Change Motion Detection Sensors. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A magnitude change motion sensor reports once +// - The device is moving +// - The device is detected to be stationary +// The period of time to monitor for stationarity is 5 seconds. +// After reporting, conceptually the algorithm's state is reset, +// and detection begins again. +// +// Motion here refers to any change in accelerometer greater than 78ug in +// any direction +// +// Stationarity here refers to change in accelerometer smaller than 78ug in +// any direction for 5 seconds. +// +// ## Magnitude Change Motion Detect sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "mcmd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Message IDs for Magnitude Change Motion Sensor +enum sns_mcmd_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Configuration Request + SNS_MCMD_MSGID_SNS_MCMD_CONFIG = 512; + + // Empty Event + // Indicates that the requested state has been detected + SNS_MCMD_MSGID_SNS_MCMD_EVENT = 770; +} + +// Detected states supported by the MC Motion Detector +enum sns_mcmd_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_MCMD_TYPE_STATIONARY = 0; + SNS_MCMD_TYPE_MOTION = 1; +} + +// Configuration Message +// Used to specify the MCMD configuration +message sns_mcmd_config +{ + // Which detector type to enable + required sns_mcmd_type type = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_motion_detect.proto b/proprietary/vendor/etc/sensors/proto/sns_motion_detect.proto new file mode 100644 index 0000000..781d52a --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_motion_detect.proto @@ -0,0 +1,52 @@ +// @file sns_motion_detect.proto +// +// Defines standard message types for Motion Detect Sensor. All physical Sensor +// drivers that support Motion Detect Sensor are required to support the +// event messages as defined in this file. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; + +// Attribute requirements: +// The Motion Detect Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "motion_detect". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS, SNS_STD_SENSOR_ATTRID_RANGES, +// SNS_STD_SENSOR_ATTRID_RATES attributes are not applicable since this is +// a single output sensor. +// 3. See sns_std_sensor.proto for other attributes. + + +// Handling stream requests: +// 1. A message with ID SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is an +// enable request to the motion_detect sensor. +// 2. A client deletes the data stream with motion_detect Sensor to disable it's +// original enable request. + +// Message IDs for motion_detect Sensor +enum sns_motion_detect_msgid { + option (nanopb_enumopt).long_names = false; + + // The motion_detect Sensor publishes an event with this message ID + SNS_MOTION_DETECT_MSGID_SNS_MOTION_DETECT_EVENT = 771; +} + +enum sns_motion_detect_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_MOTION_DETECT_EVENT_TYPE_DISABLED = 0; + SNS_MOTION_DETECT_EVENT_TYPE_ENABLED = 1; + SNS_MOTION_DETECT_EVENT_TYPE_FIRED = 2; +} + +// Events types from motion detect Sensor +message sns_motion_detect_event +{ + required sns_motion_detect_event_type motion_detect_event_type = 1 [default = SNS_MOTION_DETECT_EVENT_TYPE_DISABLED]; +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_multishake.proto b/proprietary/vendor/etc/sensors/proto/sns_multishake.proto new file mode 100644 index 0000000..c608751 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_multishake.proto @@ -0,0 +1,71 @@ +// @file sns_multishake.proto +// +// Defines message types for the the multishake sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// The multishake sensor detects shakes along an axis and +// generates an event when a client specified number of consecutive shakes +// to the device occur. There is a sleep period after a multishake event +// is reported during which shakes are not detected. This sleep period +// is configurable through the registry. +// +// ## Multishake sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "multishake" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// +// ## Request Message: SNS_MULTISHAKE_MSGID_SNS_MULTISHAKE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: SNS_MULTISHAKE_MSGID_SNS_MULTISHAKE_EVENT +// Reported upon new detection of multishake event. +// +// ## Configuration Message: Multishake does not publish configuration +// messages. + +enum sns_multishake_msgid +{ + option (nanopb_enumopt).long_names = false; + SNS_MULTISHAKE_MSGID_SNS_MULTISHAKE_CONFIG = 512; + SNS_MULTISHAKE_MSGID_SNS_MULTISHAKE_EVENT = 1024; +} + +enum multishake_axis +{ + option (nanopb_enumopt).long_names = false; + // Phone is shaken, but phone shake direction cannot be clearly determined + MULTISHAKE_AXIS_UNKNOWN_AXIS = 0; + + // Phone is shaken in the X axis according + // to the android coordinate system + MULTISHAKE_AXIS_X_AXIS = 1; + + // Phone is shaken in the Y axis according + // to the android coordinate system + MULTISHAKE_AXIS_Y_AXIS = 2; + +} + +message sns_multishake_config +{ + // Select the shake axis along which shake events are detected by + // the algorithm instance. Multiple axes can be selected. + // To detect shakes starting from a left shake or a right shake, use + // shake_axis = [MULTISHAKE_AXIS_LEFT, MULTISHAKE_AXIS_RIGHT] + // + // If shake_axis is not provided, then a multishake event along any + // axis will be reported. + repeated multishake_axis shake_axis = 1 [(nanopb).max_count = 3]; +} + +message sns_multishake_event +{ + // Specifies the axis along which the shakes were detected If shakes in + // multiple axes were detected, the direction of the first shake is reported + // in this field. + required multishake_axis shake_axis = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_oem1.proto b/proprietary/vendor/etc/sensors/proto/sns_oem1.proto new file mode 100644 index 0000000..570f8d7 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_oem1.proto @@ -0,0 +1,39 @@ +// @file sns_oem1.proto +// +// Defines standard message types for the OEM1 +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_oem1_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_OEM1_MSGID_SNS_OEM1_DATA = 1024; +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the oem1 sensor. +message sns_oem1_data +{ + // oem1 Vector along axis x,y,z in m/s2 + repeated float oem1 = 1 [(nanopb).max_count = 3]; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto b/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto new file mode 100644 index 0000000..04255c9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto @@ -0,0 +1,55 @@ +// @file sns_offbody_detect.proto +// +// Defines the API for Offbody Detection Sensors. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// An offbody detect sensor reports every time the device transitions from +// off-body to on-body and from on-body to off-body (e.g. a wearable device +// being removed from the wrist would trigger an event indicating an off-body +// transition). +// +// This sensor must be able to detect and report an on-body to off-body +// transition within 1 second of the device being removed from the body, +// and must be able to detect and report an off-body to on-body transition +// within 5 seconds of the device being put back onto the body. +// +// ## Offbody Detection sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "offbody_detect" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: SNS_OFFBODY_DETECT_MSGID_SNS_OFFBODY_DETECT_EVENT + +// Message IDs for Offbody Detection Sensor +enum sns_offbody_detect_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_OFFBODY_DETECT_MSGID_SNS_OFFBODY_DETECT_EVENT = 772; +} + +enum sns_offbody_detect_event_type +{ + option (nanopb_enumopt).long_names = false; + + // Current state is unknown: not yet detected + SNS_OFFBODY_DETECT_EVENT_TYPE_UNKNOWN = 0; + // Device has been detected to be on-body + SNS_OFFBODY_DETECT_EVENT_TYPE_ON = 1; + // Device has been detected to be off-body + SNS_OFFBODY_DETECT_EVENT_TYPE_OFF = 2; +} + +message sns_offbody_detect_event +{ + // Detected state + required sns_offbody_detect_event_type state = 1 [default = SNS_OFFBODY_DETECT_EVENT_TYPE_UNKNOWN]; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_op_motion_detect.proto b/proprietary/vendor/etc/sensors/proto/sns_op_motion_detect.proto new file mode 100644 index 0000000..6b4612e --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_op_motion_detect.proto @@ -0,0 +1,40 @@ +// @file sns_op_motion_detect.proto +// +// Defines standard message types for the OP_MOTION_DETECT +// +// Copyright (c) 2018 OnePlus Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - OnePlus Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_op_motion_detect_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_OP_MOTION_DETECT_MSGID_SNS_OP_MOTION_DETECT_DATA = 1029; + +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the op_motion_detect sensor. +message sns_op_motion_detect_data +{ + // op_motion_detect Vector along axis x,y,z + repeated float op_motion_detect = 1 [(nanopb).max_count = 3]; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_op_sar.proto b/proprietary/vendor/etc/sensors/proto/sns_op_sar.proto new file mode 100644 index 0000000..a2372ae --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_op_sar.proto @@ -0,0 +1,63 @@ +// @file sns_sar.proto +// +// Defines standard message types for the SAR +// +// Copyright (c) 2018-2019 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; + +// Attribute requirements: +// The SAR Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "sar". +// Each SAR sensor (example individual capacitive button) shall be published +// as an independent sensor with a unique Sensor UID. +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this +// is an event sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in cm unit (proximity distance). +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream and on-change requests: +// 1. The SAR sensor can support both streaming and on-change +// modes, and the operating mode is configured in the Registry. +// 2. In streaming mode, the SAR sensor handles the sns_std_sensor_config +// client requests, for all stream enable/update request types. +// 3. In on-change mode, the SAR sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG client requests, +// for all on-change enable/update request types. +// In on-change mode, the SAR sensor reports samples only for +// NEAR/FAR transitions triggered by the detection of an object +// (typically human) in proximity to the SAR sensor. +// Also for this mode, the SAR sensor publishes an +// initial data event for each new, on-change client request. + +enum sns_sars_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_SAR_MSGID_SNS_SAR_DATA = 767; +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the sar sensor. +message sns_sar_data +{ + repeated float sar = 1; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto b/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto new file mode 100644 index 0000000..800ac74 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto @@ -0,0 +1,57 @@ +// @file sns_pedometer.proto +// +// Defines message types for the Pedometer Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Pedometer Sensor detects steps taken by the user +// +// The Pedometer Step event is generated when the user takes a step. +// The event includes the latest step count accumulated since activation. +// All clients to Pedometer get the same step event. +// The timestamp of the event indicates the time of the latest detected step. + +// Pedometer Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "pedometer" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Pedometer Sensor +enum sns_pedometer_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_PEDOMETER_MSGID_SNS_STEP_EVENT = 1028; + + //send to client immediatly to inform current step count + //msg body same as sns_step_event + SNS_PEDOMETER_MSGID_SNS_STEP_EVENT_CONFIG = 775; +} + +// Events types from Pedometer Sensor +message sns_step_event +{ + //an incrementing step count + required uint32 step_count = 1; +} + +message sns_step_event_config +{ + //current step count + required uint32 step_count = 1; +} + + +// Stream events: +// +// The sns_step_event message is used to publish updated step count +// +// Pedometer does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto b/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto new file mode 100644 index 0000000..65a6348 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto @@ -0,0 +1,56 @@ +// @file sns_pedometer_wrist.proto +// +// Defines message types for the Pedometer_wrist Sensor. +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Pedometer_wrist Sensor detects steps taken by the user +// +// The Pedometer_wrist Step event is generated when the user takes a step. +// The event includes the latest step count accumulated since activation. +// All clients to Pedometer_wrist get the same step event. +// The timestamp of the event indicates the time of the latest detected step. + +// Pedometer_wrist Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "pedometer_wrist" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Pedometer_wrist Sensor +enum sns_pedometer_wrist_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_PEDOMETER_WRIST_MSGID_SNS_PEDOMETER_STEP_EVENT = 1028; + //send to client immediatly to inform current step count + //msg body same as sns_step_event + SNS_PEDOMETER_WRIST_MSGID_SNS_PEDOMETER_STEP_EVENT_CONFIG = 775; +} + +// Events types from Pedometer_wrist Sensor +message sns_pedometer_step_event +{ + //an incrementing step count + required uint32 step_count = 1; +} + +message sns_pedometer_step_event_config +{ + //current step count + required uint32 step_count = 1; +} + + +// Stream events: +// +// The sns_step_event message is used to publish updated step count +// +// Pedometer_wrist does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto b/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto new file mode 100644 index 0000000..f15c7f4 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto @@ -0,0 +1,80 @@ +// @file sns_physical_sensor_test.proto +// +// Defines test API message types for physical sensors. +// +// All physical Sensor drivers are required to use this API to support +// self-test. SNS_PHYSICAL_SENSOR_TEST_TYPE_COM is a mandatory test type and must be +// implemented in all physical Sensor drivers. Any new or device-specific +// test type may be defined in the Sensor-specific API. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_physical_sensor_test_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Test config request to a physical Sensor + SNS_PHYSICAL_SENSOR_TEST_MSGID_SNS_PHYSICAL_SENSOR_TEST_CONFIG = 515; + + // Test event message from a physical Sensor + SNS_PHYSICAL_SENSOR_TEST_MSGID_SNS_PHYSICAL_SENSOR_TEST_EVENT = 1026; +} + +// Supported test types for physical sensors +enum sns_physical_sensor_test_type +{ + option (nanopb_enumopt).long_names = false; + + // Software test. + SNS_PHYSICAL_SENSOR_TEST_TYPE_SW = 0; + + // Sensor Hardware test. + SNS_PHYSICAL_SENSOR_TEST_TYPE_HW = 1; + + // Factory test used for Sensor calibration. + SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY = 2; + + // Communication bus test. + SNS_PHYSICAL_SENSOR_TEST_TYPE_COM = 3; +} + +// Physical Sensor test configuration request +message sns_physical_sensor_test_config +{ + // Requested test type. + required sns_physical_sensor_test_type test_type = 1; +} + +// Physical Sensor test event +message sns_physical_sensor_test_event +{ + // Result if the test execution was successful: + // true for success + // false for failure + required bool test_passed = 1 [default = true]; + + // test_type from sns_physical_sensor_test_config that + // this event corresponds to + required sns_physical_sensor_test_type test_type = 2 [default = SNS_PHYSICAL_SENSOR_TEST_TYPE_COM]; + + // Driver specific test data. This field can be used + // to pass additional information like failure codes, debug data, etc. + optional bytes test_data = 3; +} + +// Self-test and streaming concurrency requirements: +// 1. If the sensor is streaming and there is a client request to run +// self-test (any test type) then the driver: +// a. Pauses the stream +// b. Executes the self-test request to completion +// c. Resumes stream +// 2. If the self-test is running and there is a client request to start +// a sensor stream then the driver: +// a. Rejects the stream request +// b. Continues executing the self-test request to completion + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pocket.proto b/proprietary/vendor/etc/sensors/proto/sns_pocket.proto new file mode 100644 index 0000000..941cb0b --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pocket.proto @@ -0,0 +1,39 @@ +// @file sns_pocket.proto +// +// Defines standard message types for the POCKET +// +// Copyright (c) 2017 OnePlus Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - OnePlus Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_pocket_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_POCKET_MSGID_SNS_POCKET_DATA = 1027; +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the pocket sensor. +message sns_pocket_data +{ + // pocket Vector along axis x,y,z + repeated float pocket = 1 [(nanopb).max_count = 3]; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto b/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto new file mode 100644 index 0000000..4ba9ee2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto @@ -0,0 +1,70 @@ +// @file sns_pose_6dof.proto +// +// Defines the API for Pose Six Degrees of Freedom sensors. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A pose 6dof sensor events consists of a rotation expressed as a quaternion +// and a translation expressed in SI units. Pose of the device is defined as +// the orientation of the device from a Earth Centered Earth Fixed frame and +// the translation from an arbitrary point at subscription. +// +// ## Pose 6DOF sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "pose_6dof" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the Pose 6DOF sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the Pose 6DOF sensor will be populated in sns_std_sensor_event +// +// A Pose 6DOF sensor reports the orientation of the device relative +// to the East-North-Up coordinates frame. It is obtained by +// integration of accelerometer and gyroscope readings. +// The East-North-Up coordinate system is defined as a direct +// orthonormal basis where: +// +// - X points east and is tangential to the ground. +// - Y points north and is tangential to the ground. +// - Z points towards the sky and is perpendicular to the ground. +// +// The orientation is represented by the rotation necessary to align +// the East-North-Up coordinates with the device's coordinates. That is, +// applying the rotation to the world frame (X,Y,Z) would align them with +// the device coordinates (x,y,z). +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference (East-North-Up aligned) device +// orientation to the current device orientation. The rotation is encoded +// as the four unitless x, y, z, w components of a unit quaternion: +// +// sns_std_sensor_event::data[0] = x*sin(theta/2) +// sns_std_sensor_event::data[1] = y*sin(theta/2) +// sns_std_sensor_event::data[2] = z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// sns_std_sensor_event::data[4] = Translation along x axis from an arbitrary origin. +// sns_std_sensor_event::data[5] = Translation along y axis from an arbitrary origin. +// sns_std_sensor_event::data[6] = Translation along z axis from an arbitrary origin. +// sns_std_sensor_event::data[7] = Delta quaternion rotation x*sin(theta/2) +// sns_std_sensor_event::data[8] = Delta quaternion rotation y*sin(theta/2) +// sns_std_sensor_event::data[9] = Delta quaternion rotation z*sin(theta/2) +// sns_std_sensor_event::data[10] = Delta quaternion rotation cos(theta/2) +// sns_std_sensor_event::data[11] = Delta translation along x axis. +// sns_std_sensor_event::data[12] = Delta translation along y axis. +// sns_std_sensor_event::data[13] = Delta translation along z axis. +// sns_std_sensor_event::data[14] = Sequence number; ascending sequentially from 0 + +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_ppg.proto b/proprietary/vendor/etc/sensors/proto/sns_ppg.proto new file mode 100644 index 0000000..c3fc279 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ppg.proto @@ -0,0 +1,43 @@ +// @file sns_ppg.proto +// +// Defines the API for PPG Sensors. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; + +// Attribute requirements: +// The PPG Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ppg". +// 2. SNS_STD_SENSOR_ATTRID_RATES attribute values in Hz. + +// Handling stream requests: +// 1. The PPG Sensor handles the sns_std_sensor_config +// message request with msgid SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG +// for all stream enable/update requests. +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_STREAMING +// 2. The PPG Sensor uses batching_period item in +// sns_std_request as the requested batching rate to determine +// hardware FIFO watermark. + +// Handling stream events: +// 1. The PPG Sensor publishes PPG data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields +// data[0] => PPG ch1 +// data[1] => PPG ch2 +// data[2] => 128 if touched, 0 otherwise +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The PPG Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pressure.proto b/proprietary/vendor/etc/sensors/proto/sns_pressure.proto new file mode 100644 index 0000000..2c62bdc --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pressure.proto @@ -0,0 +1,65 @@ +// @file sns_pressure.proto +// +// Defines the API for Pressure Sensors. +// All Pressure Sensor drivers are required to comply with this API. +// Any new functionality for Pressure Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Pressure Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "pressure". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute values in hectoPascal/LSB unit. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in hectoPascal unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Pressure Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Pressure +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Pressure Sensor publishes atmospheric pressure data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Pressure data in hPa (hectoPascal) +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Pressure Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Pressure Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Pressure Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Pressure Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Pressure Sensor could implement other test types. + +// Handling test events: +// 1. The Pressure Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_proximity.proto b/proprietary/vendor/etc/sensors/proto/sns_proximity.proto new file mode 100644 index 0000000..fec1eba --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_proximity.proto @@ -0,0 +1,115 @@ +// @file sns_proximity.proto +// +// Defines the API for Proximity Sensors. +// All Proximity Sensor drivers are required to comply with this API. +// Any new functionality for Proximity Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2019 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Proximity Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "proximity". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this +// is an event sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in cm unit (proximity distance). +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Proximity Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming Proximity Sensor handles the sns_std_sensor_config request +// for all stream enable/update requests. +// 3. The on-change Proximity Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all on-change enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples only for NEAR/FAR transitions. + +// Message IDs for proximity Sensor +enum sns_proximity_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_proximity_event + // Purpose: A non-recurring output data event from the proximity sensor to its client. + SNS_PROXIMITY_MSGID_SNS_PROXIMITY_EVENT = 769; + + // Uses message: sns_proximity_event_recurrent + // Purpose: A recurring output data event from the proximity sensor to its client. + SNS_PROXIMITY_MSGID_SNS_PROXIMITY_EVENT_RECURRENT = 1031; +} + +enum sns_proximity_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_PROXIMITY_EVENT_TYPE_FAR = 0; + SNS_PROXIMITY_EVENT_TYPE_NEAR = 1; +} + +// Events types from proximity Sensor +message sns_proximity_event +{ + // Proximity NEAR/FAR output event + required sns_proximity_event_type proximity_event_type = 1 [default = SNS_PROXIMITY_EVENT_TYPE_FAR]; + + // Proimity sensor raw data + required uint32 raw_adc = 2; + + // Proximity sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; + +// Proimity sensor offset + required uint32 offset = 4 [default = 0]; + +} + +message sns_proximity_event_recurrent +{ + // Proximity NEAR/FAR output event + required sns_proximity_event_type proximity_event_type = 1 [default = SNS_PROXIMITY_EVENT_TYPE_FAR]; + + // Proimity sensor raw data + required uint32 raw_adc = 2; + + // Proximity sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Handling stream events: +// 1. The Proximity Sensor publishes object proximity data stream events +// using sns_proximity_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The Proximity Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is a change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for Proximity Sensor calibrates +// the sensor to detect an object (including light and dark colored) +// at 5cm distance from the physical sensor. +// 3. The Proximity Sensor could implement other test types. + +// Handling test events: +// 1. The Proximity Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_psmd.proto b/proprietary/vendor/etc/sensors/proto/sns_psmd.proto new file mode 100644 index 0000000..c3eab9f --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_psmd.proto @@ -0,0 +1,59 @@ +// @file sns_psmd.proto +// +// Defines the API for Persistent Stationary/Motion Detection Sensors. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A persistent stationary/motion sensor reports once +// - The device is moving/not still +// - The device is detected to be still/stationary +// The period of time to monitor for motion and stationarity should be greater +// than 5 seconds, and less than 10 seconds. After reporting, conceptually +// the algorithm's state is reset, and detection begins again. +// +// Motion here refers to any mechanism in which the device is causes to be +// moved in its inertial frame. eg: Picking up the device and walking with it +// to a nearby room may trigger motion whereas keeping the device on a table +// on a smooth train moving at constant velocity may not trigger motion. +// +// Stationarity here refers to absolute stationarity. eg: device on desk. +// +// ## Persistent Stationary/Motion Detect sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "psmd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Message IDs for Persistent Stationary/Motion Sensor +enum sns_psmd_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Configuration Request + SNS_PSMD_MSGID_SNS_PSMD_CONFIG = 512; + + // Empty Event + // Indicates that the requested state has been detected + SNS_PSMD_MSGID_SNS_PSMD_EVENT = 768; +} + +// Detected states supported by the PSM Detector +enum sns_psmd_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_PSMD_TYPE_STATIONARY = 0; + SNS_PSMD_TYPE_MOTION = 1; +} + +// Configuration Message +// Used to specify the PSMD configuration +message sns_psmd_config +{ + // Which detector type to enable + required sns_psmd_type type = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_registry.proto b/proprietary/vendor/etc/sensors/proto/sns_registry.proto new file mode 100644 index 0000000..79acf7d --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_registry.proto @@ -0,0 +1,86 @@ +// @file sns_registry.proto +// +// Sensors Registry message definitions for internal and external clients +// +// Copyright (c) 2017,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Registry Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "registry" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT + +// Registry Sensor message IDs: +enum sns_registry_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_REGISTRY_MSGID_SNS_REGISTRY_READ_REQ = 512; + SNS_REGISTRY_MSGID_SNS_REGISTRY_WRITE_REQ = 513; + // The following event was mistakenly given an invalid message ID + SNS_REGISTRY_MSGID_SNS_REGISTRY_READ_EVENT = 514; + SNS_REGISTRY_MSGID_SNS_REGISTRY_WRITE_EVENT = 768; +} + +message sns_registry_data +{ + message item + { + option (nanopb_msgopt).no_unions = true; + + // Item name (i.e. Only item-specific name, sans group name) + required string name = 1; + optional fixed32 version = 2; + + oneof data + { + sns_registry_data subgroup = 10; + string str = 11; + float flt = 12; + sfixed64 sint = 13; + } + } + repeated item items = 3; +} + +// All read requests will be replied with a read event +message sns_registry_read_req +{ + // Full name of the item or group to be read + required string name = 1; +} + +message sns_registry_read_event +{ + // Full name of the group which was read + required string name = 1; + + // If the requested registry group was not found, data is empty + required sns_registry_data data = 2; +} + +// All write requests will be replied with a write event +message sns_registry_write_req +{ + // Full name of the group to be written + required string name = 1; + + required sns_registry_data data = 2; +} + +// Registry write status +enum sns_registry_write_status +{ + option (nanopb_enumopt).long_names = false; + + // The registry write was successful, and the data was stored on the FS + SNS_REGISTRY_WRITE_STATUS_SUCCESS = 0; + // An unspecified error has occurred; data may be lost + SNS_REGISTRY_WRITE_STATUS_ERROR_OTHER = 1; +} + +message sns_registry_write_event +{ + required sns_registry_write_status status = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_remote_proc_state.proto b/proprietary/vendor/etc/sensors/proto/sns_remote_proc_state.proto new file mode 100644 index 0000000..05777ee --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_remote_proc_state.proto @@ -0,0 +1,63 @@ +// @file sns_remote_proc_state.proto +// +// Defines standard message types for the Remote Processor State sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; + +// remote_proc_state sensor receives remote processor state +// notifications and sends these notifications to its clients + +// remote_proc_state Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_NAME: "Remote Processor State" +// SNS_STD_SENSOR_ATTRID_TYPE: "remote_proc_state" +// SNS_STD_SENSOR_ATTRID_VENDOR: "QTI" + +enum sns_remote_proc_state_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_remote_proc_state_config + // Config request to receive remote processor stat updates + SNS_REMOTE_PROC_STATE_MSGID_SNS_REMOTE_PROC_STATE_CONFIG = 512; + + + // Uses message: sns_remote_proc_state_event + // This event is generated when the remote_proc_state service + // sends out the remote processor state change notification + SNS_REMOTE_PROC_STATE_MSGID_SNS_REMOTE_PROC_STATE_EVENT = 1024; +} + +// Remote processor state config request +// Note: Currently the only supported processor is Apps: +// SNS_STD_PROCESSOR_APSS +message sns_remote_proc_state_config +{ + // Requested processor type + required sns_std_client_processor proc_type = 1; +} + +// Supported processor state event types +enum sns_remote_proc_state_event_type +{ + option (nanopb_enumopt).long_names = false; + + // Processor is suspended + SNS_REMOTE_PROC_STATE_SUSPEND = 0; + + // Processor is awake + SNS_REMOTE_PROC_STATE_AWAKE = 1; +} + +// Remote processor state event +message sns_remote_proc_state_event +{ + // Processor type whose state is updated + required sns_std_client_processor proc_type = 1; + + // Event type with state of the processor + required sns_remote_proc_state_event_type event_type = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_resampler.proto b/proprietary/vendor/etc/sensors/proto/sns_resampler.proto new file mode 100644 index 0000000..cd69bd9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_resampler.proto @@ -0,0 +1,90 @@ +// @file sns_resampler.proto +// +// Defines standard message types for the Resampler +// +// Copyright (c) 2016-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; +import "sns_std_sensor.proto"; +import "sns_std_event_gated_sensor.proto"; + +// Resampler Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "resampler" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_STREAMING + +// Sensor output event: +// Resampler use sns_std_sensor_event for it's output event + +enum sns_resampler_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_RESAMPLER_MSGID_SNS_RESAMPLER_CONFIG = 512; + SNS_RESAMPLER_MSGID_SNS_RESAMPLER_CONFIG_EVENT = 776; +} + +// Type of requested resampled rate +enum sns_resampler_rate +{ + option (nanopb_enumopt).long_names = false; + + // Requested resampled rate is fixed + SNS_RESAMPLER_RATE_FIXED = 0; + + // Requested resampled rate is the minimum required + SNS_RESAMPLER_RATE_MINIMUM = 1; +} + +// Resampler output quality +enum sns_resampler_quality +{ + option (nanopb_enumopt).long_names = false; + + // Resampler output is the same as input sensor data + SNS_RESAMPLER_QUALITY_CURRENT_SAMPLE = 0; + + // Resampler output is filtered down from input sensor data + SNS_RESAMPLER_QUALITY_FILTERED = 1; + + // Resampler output is interpolated and filtered down from input sensor data + SNS_RESAMPLER_QUALITY_INTERPOLATED_FILTERED = 2; + + // Resampler output is interpolated down from input sensor data + SNS_RESAMPLER_QUALITY_INTERPOLATED = 3; +} + +// Configuration Message +// Used to either request for a new configuration of the Resampler Sensor or +// alter an already existing configuration +message sns_resampler_config +{ + // UID of the Sensor to be resampled + required sns_std_suid sensor_uid = 1; + + // The requested resampled rate in Hz + required float resampled_rate = 2; + + // The requested rate type as defined in sns_resampler_rate + required sns_resampler_rate rate_type = 3; + + // Set to true to enable filtering, else false + required bool filter = 4; + + // Set to true if sensor to be resampled is event gated + optional bool event_gated = 5; + + // Number of axes of the sensor data + optional uint32 axis_cnt = 6; +} + +// Config event to inform client sample quality +// of all subsequent sns_std_sensor_event from resampler +message sns_resampler_config_event +{ + // Quality of the resampled sensor data as defined in + // sns_resampler_quality + required sns_resampler_quality quality = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_rgb.proto b/proprietary/vendor/etc/sensors/proto/sns_rgb.proto new file mode 100644 index 0000000..63a63ab --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_rgb.proto @@ -0,0 +1,78 @@ +// @file sns_rgb.proto +// +// Defines the API for RGB Sensors. +// All RGB Sensor drivers are required to comply with this API. +// Any new functionality for RGB Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The RGB Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "rgb". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute values in µW/cm2/LSB unit. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in µW/cm2 unit. +// 4. See sns_std_sensor.proto for other attributes. + + +// Handling stream requests: +// 1. The RGB Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming RGB Sensor handles the sns_std_sensor_config +// request for all stream enable/update requests. +// 3. The on-change RGB Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all stream enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples for only significant change in R/G/B/clear channel irradiance. +// Example: +/- 10% change. + +// Handling stream events: +// 1. The RGB Sensor publishes color data in ambient light using the +// sns_std_sensor_event message. +// 2. Each stream event contains six output data fields where data is +// factory calibrated and ordered as: +// data[0] = Red channel irradiance in µW/cm2 +// data[1] = Green channel irradiance in µW/cm2 +// data[2] = Blue channel irradiance in µW/cm2 +// data[3] = Clear channel irradiance in µW/cm2 +// data[4] = Color Temperature in Kelvin +// data[5] = raw clear channel ADC value +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The RGB Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The RGB Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The RGB Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The RGB Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for RGB Sensor calibrates +// the sensor such that it's output is comparable to a standard Chromemeter +// output in any lighting condition. +// 3. The RGB Sensor could implement other test types. + +// Handling test events: +// 1. The RGB Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_rmd.proto b/proprietary/vendor/etc/sensors/proto/sns_rmd.proto new file mode 100644 index 0000000..7b66ed1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_rmd.proto @@ -0,0 +1,51 @@ + +// @file sns_rmd.proto +// +// Defines message types for the Absolute Motion Detector (RMD) Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// RMD calculates motion and stationary states. RMD will initially start in an +// unknown state, and later transition to motion or stationary. + +// RMD Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "rmd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for RMD Sensor +enum sns_rmd_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_RMD_MSGID_SNS_RMD_EVENT = 772; +} + +enum sns_rmd_event_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_RMD_EVENT_TYPE_UNKNOWN = 0; + SNS_RMD_EVENT_TYPE_STATIONARY = 1; + SNS_RMD_EVENT_TYPE_MOTION = 2; +} + +message sns_rmd_event +{ + // RMD motion state + required sns_rmd_event_type state = 1 [default = SNS_RMD_EVENT_TYPE_UNKNOWN]; +} + +// Stream events: +// +// The sns_rmd_event message is used to publish updated state +// +// RMD does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_rotv.proto b/proprietary/vendor/etc/sensors/proto/sns_rotv.proto new file mode 100644 index 0000000..8dde922 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_rotv.proto @@ -0,0 +1,53 @@ +// @file sns_rotv.proto +// +// Defines the API for Rotation Vector sensors. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A ROTV sensor reports the orientation of the device relative to the +// East-North-Up coordinates frame. It is obtained by integration of +// accelerometer, gyroscope, and magnetometer readings. +// +// ## ROTV sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "rotv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the ROTV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the ROTV sensor will be populated in sns_std_sensor_event +// +// The East-North-Up coordinate system is defined as a direct orthonormal +// basis where: +// - X points east and is tangential to the ground. +// - Y points north and is tangential to the ground. +// - Z points towards the sky and is perpendicular to the ground. +// +// The orientation is represented by the rotation necessary to align +// the East-North-Up coordinates with the device's coordinates. That is, +// applying the rotation to the world frame (X,Y,Z) would align them with +// the device coordinates (x,y,z). +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference device orientation to the current +// device orientation. The rotation is encoded as the four unitless x, y, z, w +// components of a unit quaternion: +// sns_std_sensor_event::data[0] = rot_axis.x*sin(theta/2) +// sns_std_sensor_event::data[1] = rot_axis.y*sin(theta/2) +// sns_std_sensor_event::data[2] = rot_axis.z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_sar.proto b/proprietary/vendor/etc/sensors/proto/sns_sar.proto new file mode 100644 index 0000000..c832b4c --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sar.proto @@ -0,0 +1,117 @@ +// @file sns_sar.proto +// +// Defines the API for Specific Absorption Rate (SAR) Sensors. +// SAR sensors typically detect human object proximity using change in capacitance +// levels of copper touch pads/buttons. +// All SAR Sensor drivers are required to comply with this API. +// Any new functionality for SAR Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2018,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The SAR Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "sar". +// Each SAR sensor (example individual capacitive button) shall be published +// as an independent sensor with a unique Sensor UID. +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this +// is an event sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in cm unit (proximity distance). +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream and on-change requests: +// 1. The SAR sensor can support both streaming and on-change +// modes, and the operating mode is configured in the Registry. +// 2. In streaming mode, the SAR sensor handles the sns_std_sensor_config +// client requests, for all stream enable/update request types. +// 3. In on-change mode, the SAR sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG client requests, +// for all on-change enable/update request types. +// In on-change mode, the SAR sensor reports samples only for +// NEAR/FAR transitions triggered by the detection of an object +// (typically human) in proximity to the SAR sensor. +// Also for this mode, the SAR sensor publishes an +// initial data event for each new, on-change client request. + +// Message IDs for SAR Sensor +enum sns_sar_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_sar_event + // Purpose: A non-recurrent output data event from the SAR sensor to its client. + SNS_SAR_MSGID_SNS_SAR_EVENT = 769; + + // Uses message: sns_sar_event_recurrent + // Purpose: A recurring output data event from the SAR sensor to its client. + SNS_SAR_MSGID_SNS_SAR_EVENT_RECURRENT = 1031; +} + +enum sns_sar_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_SAR_EVENT_TYPE_FAR = 0; + SNS_SAR_EVENT_TYPE_NEAR = 1; +} + +// Events types from SAR Sensor +message sns_sar_event +{ + // SAR NEAR/FAR output event + required sns_sar_event_type sar_event_type = 1 [default = SNS_SAR_EVENT_TYPE_FAR]; + + // SAR sensor raw data. + // Format of this data is driver specific. + optional bytes additional_sar_data = 2; + + // SAR sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +message sns_sar_event_recurrent +{ + // SAR NEAR/FAR output event + required sns_sar_event_type sar_event_type = 1 [default = SNS_SAR_EVENT_TYPE_FAR]; + + // SAR sensor raw data. + // Format of this data is driver specific. + optional bytes additional_sar_data = 2; + + // SAR sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Handling stream events: +// 1. The SAR Sensor publishes human object proximity data events using sns_sar_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The SAR Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The SAR Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The SAR Sensor may implement SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The SAR Sensor could implement other test types. + +// Handling test events: +// 1. The SAR Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto b/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto new file mode 100644 index 0000000..d9da6b9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto @@ -0,0 +1,66 @@ +// @file sns_sensor_temperature.proto +// +// Defines the API for physical Sensor Temperature Sensors. +// All Sensor Temperature Sensor drivers are required to comply with this API. +// Any new functionality for Sensor Temperature Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Sensor Temperature Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "sensor_temperature". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees Celsius/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees Celsius unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Sensor Temperature Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Sensor Temperature +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Sensor Temperature Sensor publishes physical sensor temperature data +// stream events using the sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = physical Sensor Temperature data in degrees Celsius +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Sensor Temperature Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Sensor Temperature Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + + +// Handling self-test requests: +// 1. The Sensor Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Sensor Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Sensor Temperature Sensor could implement other test types. + +// Handling test events: +// 1. The Sensor Temperature Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto b/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto new file mode 100644 index 0000000..9890861 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto @@ -0,0 +1,33 @@ +// @file sns_sig_motion.proto +// +// Defines the API for Significant Motion Detection Sensors. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A significant motion sensor reports once if "significant motion" +// is detected. After reporting, conceptually the algorithm's state is reset, +// and detection begins again. +// +// ## Significant Motion sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "sig_motion" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: SNS_SIG_MOTION_MSGID_SNS_SIG_MOTION_EVENT +// Reported upon new detection of significant motion. + +// Message IDs for Significant Motion Detect Sensor +enum sns_sig_motion_msgid { + option (nanopb_enumopt).long_names = false; + + // Empty Message + SNS_SIG_MOTION_MSGID_SNS_SIG_MOTION_EVENT = 772; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_signal_sensor.proto b/proprietary/vendor/etc/sensors/proto/sns_signal_sensor.proto new file mode 100644 index 0000000..3269575 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_signal_sensor.proto @@ -0,0 +1,47 @@ +// @file sns_signal_sensor.proto +// +// Defines standard message types for the Signal Sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +// Signal sensor +// +// The signal sensor provides a mechanism to turn asynchronous callbacks into +// events that are passed to the client. The client subscribes to this sensor +// using the sns_signal_sensor_req message. +// +// The signal sensor provides a thread and a flag to the client via the +// sns_signal_sensor_token_event event upon subscribing to the service. + +// Message IDs +enum sns_signal_sensor_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_SIGNAL_SENSOR_MSGID_SNS_SIGNAL_SENSOR_REQ = 512; + SNS_SIGNAL_SENSOR_MSGID_SNS_SIGNAL_SENSOR_TOKEN = 1024; + SNS_SIGNAL_SENSOR_MSGID_SNS_SIGNAL_SENSOR_NOTIFY = 1025; +} + +// Signal sensor request +// +// Subscribe to the signal sensor. +message sns_signal_sensor_req +{ + required bool enable = 1; +} + +// Signal sensor token +// +// Provides the thread and flag to the client +message sns_signal_sensor_token +{ + required fixed64 thread = 1; + required fixed32 flag = 2; +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_sim.proto b/proprietary/vendor/etc/sensors/proto/sns_sim.proto new file mode 100644 index 0000000..256ee73 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sim.proto @@ -0,0 +1,30 @@ +// @file sns_sim.proto +// +// Defines Header config packet strcture for finding out sim sensors config info +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_std_type.proto"; + +enum sns_sim_msgid +{ + option (nanopb_enumopt).long_names = false; + // message not required + // Purpose: Created only for Offline/Online Playback to inform end of the + // file status to client + SNS_SIM_MSGID_SNS_SIM_END_OF_THE_FILE_EVENT = 1027; +} + +/*Header config packet proto message. It will come as a first packet in event dlf file*/ +message header_info { + message sensor_info{ + required sns_std_suid suid = 1; + required string data_type = 2; + repeated sns_std_attr attributes = 3; + } + repeated sensor_info info= 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_sim_legacy.proto b/proprietary/vendor/etc/sensors/proto/sns_sim_legacy.proto new file mode 100644 index 0000000..7067fa3 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sim_legacy.proto @@ -0,0 +1,32 @@ +// @file sns_sim_legacy.proto +// +// Defines standard message types for the Simulation Sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Data Message +// Data event generated by the simulation sensor. +// Uses sns_std_sensor_event message defined in sns_std_sensor.proto +// The data field of the sns_std_sensor_event message +// contains a float array of length 3 with the following definition +// 1) float data[0] to data[2] +// containing the triaxial sensor data in floating point. +// Units for different sensors are as follows +// Accel: m/s2 +// Gyro: rad/s +// 2) sns_std_sensor_sample_status status; +// containing the sample status as defined by the sns_std_sensor_sample_status enum +// in sns_std_sensor.proto + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz diff --git a/proprietary/vendor/etc/sensors/proto/sns_std.proto b/proprietary/vendor/etc/sensors/proto/sns_std.proto new file mode 100644 index 0000000..7035abe --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std.proto @@ -0,0 +1,129 @@ +// @file sns_std.proto +// +// Defines standard messages used across multiple Sensor API definitions +// +// Copyright (c) 2016-2018,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import public "sns_std_type.proto"; + +// Framework-defined message IDs: +enum sns_std_msgid { + option (nanopb_enumopt).long_names = false; + + // Query a Sensor for all attributes + // @event sns_std_error_event + SNS_STD_MSGID_SNS_STD_ATTR_REQ = 1; + + // Flush a Sensor. + // When a sensor receives a flush request it publishes any unpublished + // samples. The sensor always publishes a SNS_STD_MSGID_SNS_STD_FLUSH_EVENT + // event to indicate completion of a flush request. + // All Sensors handle this flush request message. + // Empty Message + // @event sns_pb_flush_event + SNS_STD_MSGID_SNS_STD_FLUSH_REQ = 2; + + // NOTE: 10 - 20 Are reserved for Client Manager + // NOTE: 120-127 Are reserved + + // All published attributes for a Sensor + SNS_STD_MSGID_SNS_STD_ATTR_EVENT = 128; + + // Indicates no further events will be generated in response to a flush req. + // Empty Message + SNS_STD_MSGID_SNS_STD_FLUSH_EVENT = 129; + + // Indicates an error has occurred + SNS_STD_MSGID_SNS_STD_ERROR_EVENT = 130; + + // NOTE: 250-255 Are reserved +} + +// Base message payload, from which all other Request payloads must extend +// The message will be delivered decoded within the Sensor API +message sns_std_request { + message batch_spec { + // Logically a timer will be registered for this many microseconds. + // All events generated since the last timer expiration will be saved + // until the next timer has fired. This period is interpreted as a maximum + // period specified by the client; events may be delivered to client at a + // faster rate (smaller batch period). + // A batch period of 0 indicates that no batching shall occur. + required uint32 batch_period = 1; + + // Sensor supporting Data Acquisition Engine shall support flush_period. + // Sensor shall not drop data that is more recent than flush_period. + // Sensor may drop data that is older than the flush_period. + // Effective flush period may be smaller due to system constraints, + // or larger in the case of a concurrent client with a larger value. + // flush_period, if set, should be greater than or equal to batch_period. + // flush_period value defaults to UINT32_MAX; units in microseconds. + // If batch_period > 0 and flush period not specified, + // then flush_period = batch_period. + optional uint32 flush_period = 2; + + // If flush_only = true, the sensor should only send data to the client + // on receiving a flush request or if the sensor cannot accumulate flush + // period worth of data. + optional bool flush_only = 3 [default = false]; + + // If max_batch = true for all requests, the sensor should operate at + // maximum batching capacity. If a request has both max_batch = true + // and flush_only = true, flush_only takes precedence. + optional bool max_batch = 4 [default = false]; + } + // Batching is disabled by default + optional batch_spec batching = 1; + + // Dynamic length payload, containing the actual data/configuration request + // This payload will need to be decoded separately, using the Sensor-specific + // header file. If the request does not contain any message body then this + // field is not present. + optional bytes payload = 2; + + // Set to true if a client intends to be a passive client. Else it is an + // active client request. Absence of this field shall be treated as an active + // request. + // If all requests to the sensor are passive then it shall be in off + // state and stop streaming. + // If the sensor has at least one active request then it shall be enabled + // and configured according to all active and passive requests. + // When all active clients are flush_only then passive clients are also treated + // as flush_only. + // When all active clients are event gated then passive clients are also treated + // as event gated. + // delivery_type field in passive requests shall be configured as + // SNS_CLIENT_DELIVERY_NO_WAKEUP. + // Actively enabling one sensor shall not lead to enabling of another + // sensor having only passive requests. For example: enabling gyro shall not + // lead to enabling of sensor_temperature, and vice versa. + optional bool is_passive = 3 [default = false]; + +} + +// Query a Sensor for its list of attributes +message sns_std_attr_req { + // Register for updates when the attributes of a Sensor change + // This option is not presently supported + optional bool register_updates = 2; +} + +// Contains all Sensor attributes; sent in response to an sns_std_attr_req, +// or upon an attribute change to a registered Sensor +message sns_std_attr_event { + repeated sns_std_attr attributes = 1; +} + +// An Error Event generated by a Sensor/Instance or the Framework +message sns_std_error_event { + // SNS_STD_ERROR_NOT_AVAILABLE - Transitory error in the Sensor; some data + // may have been lost or dropped, but streaming should resume. + // SNS_STD_ERROR_INVALID_STATE - Catastrophic error in the Sensor; do not + // expect any further data. Client may try sending enable-request again. + // SNS_STD_ERROR_NOT_SUPPORTED - Sensor received an unsupported request; or a + // supported request at an unexpected time. + required sns_std_error error = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto b/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto new file mode 100644 index 0000000..46555c7 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto @@ -0,0 +1,45 @@ +// @file sns_std_event_gated_sensor.proto +// +// Defines standard message types for Sensors with output streams that can be +// gated on an event from another Sensor. +// Example: "accel" Sensor can be gated by motion detect event published by +// the "motion_detect" Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_std_event_gated_sensor_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Message ID to send a gated request to a Sensor. + // Note that the client is responsible to send separate + // requests to the Sensor that provides the gating event. + SNS_STD_EVENT_GATED_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG = 518; + + // An event gated Sensors uses this event message ID to indicate to it's + // clients that the gated stream is converted to a non-gated stream. + // This typically happens when the gating event occurs. + // Example: When "accel" is gated on "motion_detect" and if the + // motion detect interrupt fires then the "accel" Sensor publishes + // this event to it's clients before the accel data stream starts. + SNS_STD_EVENT_GATED_SENSOR_MSGID_GATED_REQ_CONVERTED_TO_NON_GATED = 772; +} + +// Request and Event messages: +// 1. An enable request to an event gated sensor uses message +// sns_std_sensor_config with message ID +// SNS_STD_EVENT_GATED_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG. +// 2. An event gated sensor publishes an output event to it's clients when +// the gated request is converted to a non-gated request. It uses event +// message ID SNS_STD_EVENT_GATED_SENSOR_MSGID_GATED_REQ_CONVERTED_TO_NON_GATED +// with no message payload. +// 3. An output data event from an event gated sensor uses message +// sns_std_sensor_event. See sns_std_sensor.proto and sensor-specific +// proto file for details. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto b/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto new file mode 100644 index 0000000..c48c332 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto @@ -0,0 +1,402 @@ +// @file sns_std_sensor.proto +// +// Defines standard message types for all Sensors. All physical Sensors are +// required to implement this API as is or derive from it. For all other +// Sensors, these messages are highly recommended. That being said, Sensor +// developers may choose to define Sensor-specific message API for any +// new/Sensor-specific functionality. +// +// Copyright (c) 2016-2018,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_std_sensor_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_std_sensor_config + // Purpose: + // 1. A stream request from a client to a sensor. + // 2. A config/ack event from a sensor to the client. + SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG = 513; + + // Does not use any message body. + // Purpose: + // 1. An enable request from a client to an on-change sensor. + // Subsequent request from same client will be treated as NOP + // 2. A config/ack event from an on-change sensor to the client. + // Requirements for on-change sensors are listed in a section below. + SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG = 514; + + // Uses message: sns_std_sensor_physical_config_event + // Purpose: A configuration event from a Physical Sensor (streaming and event) + // to the client. + // Requirements for physical configuration events are listed in a section + // below. + SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_PHYSICAL_CONFIG_EVENT = 768; + + // Uses message: sns_std_sensor_event + // Purpose: A data event from a Sensor. + SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_EVENT = 1025; +} + +// Status for each sensor sample +enum sns_std_sensor_sample_status +{ + option (nanopb_enumopt).long_names = false; + + // Sample is unreliable. + SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE = 0; + + // Sample is low accuracy. + SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_LOW = 1; + + // Sample is medium accuracy. + SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_MEDIUM = 2; + + // Sample is high accuracy. + SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH = 3; +} + +// Attribute IDs available for use by Sensors +// Some are marked as REQUIRED, and must be published by every Sensor. Others +// are OPTIONAL, and may be only necessary for physical Sensors. +// +// Each Sensor may define their own custom attributes, using the form: +// _attr_id. Attribute IDs have the following reserved ranges: +// 0-511 : Held for sns_std_sensor_attr_id +// 512-1023 : Reserved for internal QTI use +// 1024-1535 : Available for use by Sensor developers +enum sns_std_sensor_attr_id +{ + option (nanopb_enumopt).long_names = false; + + // REQUIRED + // String + // Human-readable sensor name + SNS_STD_SENSOR_ATTRID_NAME = 0; + + // REQUIRED + // String + // Human-readable vendor name + SNS_STD_SENSOR_ATTRID_VENDOR = 1; + + // REQUIRED + // String + // Data Type used by this Sensor + SNS_STD_SENSOR_ATTRID_TYPE = 2; + + // REQUIRED + // Boolean + // Whether this Sensor is available for clients + SNS_STD_SENSOR_ATTRID_AVAILABLE = 3; + + // REQUIRED + // Integer 64-bit version number represented as major[31:16].minor[15:8].revision[7:0], [63:32] be 0 + // Example in hexadecimal: major:0x0002 minor:0x00 revision:0x36 #define DRIVER_VERSION 0x00020036 + // Sensor version + SNS_STD_SENSOR_ATTRID_VERSION = 4; + + // REQUIRED + // [String] + // .proto files specifying the incoming request and outgoing event messages + SNS_STD_SENSOR_ATTRID_API = 5; + + // OPTIONAL + // [Float] + // Supported sample rates in Hz + SNS_STD_SENSOR_ATTRID_RATES = 6; + + // OPTIONAL + // [Float] + // Supported resolutions + SNS_STD_SENSOR_ATTRID_RESOLUTIONS = 7; + + // OPTIONAL + // Integer + // Supported FIFO depth in number of samples + SNS_STD_SENSOR_ATTRID_FIFO_SIZE = 8; + + // OPTIONAL + // [Integer] + // Active currents in uA for all sns_attr_op_modes. Length of the array + // of active currents must match the length of the array of operation modes. + SNS_STD_SENSOR_ATTRID_ACTIVE_CURRENT = 9; + + // OPTIONAL + // Integer + // Inactive current in uA + SNS_STD_SENSOR_ATTRID_SLEEP_CURRENT = 10; + + // OPTIONAL + // [{float,float}] + // Supported operating ranges + SNS_STD_SENSOR_ATTRID_RANGES = 11; + + // OPTIONAL + // String + // Operating Modes ("LPM", "HIGH_PERF", "NORMAL", "OFF") + SNS_STD_SENSOR_ATTRID_OP_MODES = 12; + + // OPTIONAL + // Boolean + // Whether the Sensor supports Data Ready Interrupt (DRI) or IBI + // (In Band Interrupt). + SNS_STD_SENSOR_ATTRID_DRI = 13; + + // OPTIONAL + // Boolean + // Whether a Sensor support synchronized streaming. + SNS_STD_SENSOR_ATTRID_STREAM_SYNC = 14; + + // OPTIONAL + // Integer + // Encoded message size of the data event generated most often by the Sensor + SNS_STD_SENSOR_ATTRID_EVENT_SIZE = 15; + + // REQUIRED + // Integer: sns_std_sensor_stream_type + // Streaming Type + SNS_STD_SENSOR_ATTRID_STREAM_TYPE = 16; + + // OPTIONAL + // Boolean + // Whether this Sensor is dynamic (connected/disconnected at runtime) + SNS_STD_SENSOR_ATTRID_DYNAMIC = 17; + + // OPTIONAL + // Integer + // When multiple Sensors of the same hardware exist, this attribute differentiates. + SNS_STD_SENSOR_ATTRID_HW_ID = 18; + + // OPTIONAL + // Integer: sns_std_sensor_rigid_body_type + // The rigid body on which the Sensor is placed. + SNS_STD_SENSOR_ATTRID_RIGID_BODY = 19; + + // OPTIONAL + // float[12] + // Location and orientation of sensor element in the device frame. + SNS_STD_SENSOR_ATTRID_PLACEMENT = 20; + + // OPTIONAL + // Boolean + // Boolean: True for a physical sensor + SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR = 21; + + // OPTIONAL + // [Integer] + // List of supported self-test types from sns_physical_sensor_test_type. + SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR_TESTS = 22; + + // OPTIONAL + // Float + // Sensors chosen resolution in it's engineering units. + SNS_STD_SENSOR_ATTRID_SELECTED_RESOLUTION = 23; + + // OPTIONAL + // float[2] + // Sensors chosen {min, max} range in it's engineering units. + SNS_STD_SENSOR_ATTRID_SELECTED_RANGE = 24; + + // OPTIONAL + // [float] + // List of additional sample rates for low latency clients in Hz. + // These are additional rates for low latency clients extended from list + // of rates published in attribute SNS_STD_SENSOR_ATTRID_RATES. + // This is supported for internal clients only. External clients shall not use this API. + SNS_STD_SENSOR_ATTRID_ADDITIONAL_LOW_LATENCY_RATES = 25; + + // OPTIONAL + // Boolean + // Boolean: True if the sensor supports passive request, False otherwise. + // If this attribute is not supported, then the sensor does not support passive requests. + // Sensors that do not support passive requests, will service all requests as active requests. + SNS_STD_SENSOR_ATTRID_PASSIVE_REQUEST = 26; +} + +// Sensor stream configuration request +// or configuration change message +message sns_std_sensor_config +{ + // Sample rate in Hz. + required float sample_rate = 1; +} + +// Sensor data event +message sns_std_sensor_event +{ + // Output data field for all Sensor. + repeated float data = 1; + + // Event sample status. + required sns_std_sensor_sample_status status = 2 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Stream types +enum sns_std_sensor_stream_type +{ + option (nanopb_enumopt).long_names = false; + + // Used for Sensors that report data periodically. + // Example: accel, gyro, mag + SNS_STD_SENSOR_STREAM_TYPE_STREAMING = 0; + + // Used for Sensors that report data only on change in value. + // Example: proximity, hall + SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE = 1; + + // Used for Sensors that have a single data event in reponse to a request. + // Example: SUID, motion detect + SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT = 2; +} + +// Rigid body types +enum sns_std_sensor_rigid_body_type +{ + option (nanopb_enumopt).long_names = false; + + // Used for a Sensor mounted on the same rigid body as the display. + SNS_STD_SENSOR_RIGID_BODY_TYPE_DISPLAY = 0; + + // Used for a Sensor mounted on the same rigid body as a keyboard. + SNS_STD_SENSOR_RIGID_BODY_TYPE_KEYBOARD = 1; + + // Used for a Sensor that is mounted on an external device. + SNS_STD_SENSOR_RIGID_BODY_TYPE_EXTERNAL = 2; +} + +// Sensor stream configuration event +message sns_std_sensor_config_event +{ + // Current sample rate in Hz + required float sample_rate = 1; +} + +// Physical sensor stream configuration. This message reflects the current +// configuration of the physical sensor. +message sns_std_sensor_physical_config_event +{ + // Current sample rate in Hz for streaming sensors only, 0 if sensor is disabled + // ( ex: when event gated or in passive mode and not streaming ) + // Note: if stream will be synchronized via S4S or I3C, this is the sample + // rate after synchronization is complete. + optional float sample_rate = 1; + + // Current hardware water mark setting. 1 if FIFO not in use. + optional uint32 water_mark = 2; + + // Sensor sample value min and max range + repeated float range = 3 [(nanopb).max_count = 2]; + + // Sensor sample value Resolution + optional float resolution = 4; + + // Sensor operation mode + // If all requests to the sensor are passive then it shall use + // operating_mode = "OFF" + optional string operation_mode = 5; + + // Sensor active current in uA + optional uint32 active_current = 6; + + // Sensor streaming is synchronized via methods like S4S and/or I3C. + // Note: if the stream is not yet synchronized, this field should be + // false, and an additional config event sent with stream_is_synchronous + // set to true once the clocks have been synchronized. + optional bool stream_is_synchronous = 7; + + // Sensor has enabled Data Ready Interrupt + optional bool dri_enabled = 8; + + // Current DAE water mark setting. 0 if non-DAE sensor. + optional uint32 DAE_watermark = 9; + + // The sync anchor is only valid for polled or synchronized sensors. + // It is a timestamp of a future (or past) sns_std_sensor_event. + // For synchronous sensors: this may be used by clients to determine the + // synchronized timeline before it is synchronized. + optional uint64 sync_ts_anchor = 10; +} + +// Attribute requirements: +// The Physical Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_AVAILABLE attribute value (bool) as true when it's dependencies +// are met and the hardware is present and responsive. +// 2. SNS_STD_SENSOR_ATTRID_NAME attribute value (string) as the name of the sensor model. +// 3. SNS_STD_SENSOR_ATTRID_VENDOR attribute value (string) as the name of the sensor vendor. +// 4. SNS_STD_SENSOR_ATTRID_VERSION attribute value (decimal) as the version of the driver. +// 5. SNS_STD_SENSOR_ATTRID_RATES attribute as a float array of supported sample rates in Hz +// for streaming sensors. On-change sensors publish the highest rate of value change. +// 6. SNS_STD_SENSOR_ATTRID_FIFO_SIZE attribute value (decimal) as the maximum FIFO depth in +// number of sensor samples available to it when enabled standalone. +// The value can be zero if FIFO is not supported. +// 7. SNS_STD_SENSOR_ATTRID_ACTIVE_CURRENT attribute as an integer array representing active +// currents in uA corresponding to the sns_attr_op_modes attribute. +// 8. SNS_STD_SENSOR_ATTRID_SLEEP_CURRENT attribute value (float) as the current in uA when +// the sensor is in power down mode. +// 9. SNS_STD_SENSOR_ATTRID_OP_MODES attribute value as an array of string values +// representing different hardware operating modes. +// 10. SNS_STD_SENSOR_ATTRID_DRI attribute value (bool) as true when it supports +// interrupt based streaming else false when polling. +// The source of data ready interrupt (DRI) could be completion of measurement +// cycle, FIFO water mark (if sns_attr_fifo_size value is greater than 0), +// threshold, etc. +// If the sensor is capable of streaming in both polling and DRI modes then +// it publishes separate Sensors for each mode such that the one with DRI +// publishes SNS_STD_SENSOR_ATTRID_DRI value as true and the one with polling +// publishes SNS_STD_SENSOR_ATTRID_DRI as false. +// 11. SNS_STD_SENSOR_ATTRID_STREAM_SYNC attribute value (bool) as true when it +// it supports a synchronous streaming mechanism like S4S and/or I3C. +// 12. SNS_STD_SENSOR_ATTRID_EVENT_SIZE attribute value (decimal) as number of bytes in the +// output data event for the Sensor. +// 13. SNS_STD_SENSOR_ATTRID_STREAM_TYPE attribute value (sns_std_sensor_stream_type) as the +// supported stream type. +// 14. SNS_STD_SENSOR_ATTRID_DYNAMIC attribute value (bool) to indicate whether the sensor +// can be added at runtime. +// 15. SNS_STD_SENSOR_ATTRID_HW_ID attribute value (string) to uniquely identify multiple +// sensor hardware of the same model on a platform. +// 16. SNS_STD_SENSOR_ATTRID_RIGID_BODY attribute value (sns_std_sensor_rigid_body_type) as the rigid +// body on which the sensor is mounted. +// 17. SNS_STD_SENSOR_ATTRID_PLACEMENT attribute value as the location and orientation of +// the sensor hardware. +// 18. SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR attribute value (bool) to indicate if the sensor is +// a physical sensor +// 19. SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR_TESTS attribute value as array of supported +// sns_physical_sensor_test_type test types. +// 20. SNS_STD_SENSOR_ATTRID_SELECTED_RESOLUTION attribute value chosen from the +// SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute array. +// 21. SNS_STD_SENSOR_ATTRID_SELECTED_RANGE attribute value chosen from the +// SNS_STD_SENSOR_ATTRID_RANGES array. +// 22. SNS_STD_SENSOR_ATTRID_ADDITIONAL_LOW_LATENCY_RATES attribute as a float array of supported +// sample rates in Hz additional to rates in SNS_STD_SENSOR_ATTRID_RATES, this is only for low +// latency clients like direct report mode. +// See sensor specific .proto files for sensor specific attribute information. + +// Recommendation for device drivers to select configuration: +// 1. Choose fastest sample_rate among all client requests. +// 2. Choose fastest batch rate (using batch_period) among all client requests. For streaming clients, +// treat batch rate equal to requested sample rate for that request. +// 3. If HW FIFO is supported then: +// a. If all requests are max_batch then the driver configures highest FIFO watermark. +// If DAE is supported, the DAE watermark should be INT_MAX. +// b. Else FIFO watermark is determined based on sample_rate from #1 and batch rate from #2. + +// Requirements for on-change sensors: +// 1. Timestamp in data events. When a second (or subsequent) client request +// is processed, by a given sensor, an initial data event must be generated. +// The timestamp in this event must be equal to the timestamp of the most +// recent state transition. The timestamp of the last occurring state +// transition can be latched (e.g. in a state structure), per on-change +// sensor SUID. + +// Requirements for physical configuration events: +// 1. Timestamp in physical configuration events. When a second (or subsequent) +// client request is processed, by a given sensor, a physical configuration +// event must be generated. The timestamp, in the physical configuration +// event, must be equal to the timestamp of the most recent physical +// configuration change. The timestamp of the last occurring physical +// configuration change can be latched (e.g. in a state structure). diff --git a/proprietary/vendor/etc/sensors/proto/sns_std_type.proto b/proprietary/vendor/etc/sensors/proto/sns_std_type.proto new file mode 100644 index 0000000..9d9f744 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std_type.proto @@ -0,0 +1,79 @@ +// @file sns_std_type.proto +// +// Defines standard data types used across multiple Sensor API definitions +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Represents an unique Sensor +message sns_std_suid { + required fixed64 suid_low = 1; + required fixed64 suid_high = 2; +} + +// Represents an attribute value +// Attribute values may be a single value, array of simple values, or +// an array of complex tuples +message sns_std_attr_value { + // "data" submessage required to support recursion + message data { + option (nanopb_msgopt).no_unions = true; + oneof value { + sns_std_attr_value subtype = 1; + string str = 2; + float flt = 3; + sfixed64 sint = 4; + bool boolean = 5; + } + } + repeated data values = 1; +} + +// An individual attribute from a Sensor +message sns_std_attr { + // A standard list of attributes is available within sns_std_sensor_attr_id + // Additional attributes may be defined by sensors, using the format: + // _ATTRID_ (e.g. SNS_ACCEL_ATTRID_ODR) + // Additional IDs must fall within the range of 1024-2047 + required int32 attr_id = 1; + // Attribute value + required sns_std_attr_value value = 2; +} + +// Error codes +enum sns_std_error { + option (nanopb_enumopt).long_names = false; + + /* No error occurred; success. */ + SNS_STD_ERROR_NO_ERROR = 0; + /* Unfixable or internal error occurred. */ + SNS_STD_ERROR_FAILED = 1; + /* This API is not supported or is not implemented. */ + SNS_STD_ERROR_NOT_SUPPORTED = 2; + /* Message contains invalid data type, + * e.g., unknown message ID, unknown registry group, or unexpected + * Sensor UID. */ + SNS_STD_ERROR_INVALID_TYPE = 3; + /* Catastrophic error; expect no further data */ + SNS_STD_ERROR_INVALID_STATE = 4; + /* One or more argument values were outside of the valid range */ + SNS_STD_ERROR_INVALID_VALUE = 5; + /* This operation is not available at this time */ + SNS_STD_ERROR_NOT_AVAILABLE = 6; + /* This action was rejected due to the current policy settings */ + SNS_STD_ERROR_POLICY = 7; +} + +//The enum contains all the processor types supported. +enum sns_std_client_processor { + option (nanopb_enumopt).long_names = false; + + SNS_STD_CLIENT_PROCESSOR_SSC = 0; + SNS_STD_CLIENT_PROCESSOR_APSS = 1; + SNS_STD_CLIENT_PROCESSOR_ADSP = 2; + SNS_STD_CLIENT_PROCESSOR_MDSP = 3; + SNS_STD_CLIENT_PROCESSOR_CDSP = 4; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto b/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto new file mode 100644 index 0000000..e5fa164 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto @@ -0,0 +1,38 @@ +// @file sns_step_detect.proto +// +// Defines message types for the Step Detect Sensor. +// +// Copyright (c) 2019 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Step Detect Sensor detects steps taken by the user +// +// The Step Detect event is generated when the user takes a step. +// All clients to Step Detect get the same step detect event. +// The timestamp of the event indicates the time of the latest detected step. + +// Step Detect Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "step_detect" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Step Detect Sensor +enum sns_step_detect_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_STEP_DETECT_MSGID_SNS_STEP_DETECT_EVENT = 1029; +} + +// Stream events: +// +// An event with SNS_STEP_DETECT_MSGID_SNS_STEP_DETECT_EVENT as the message id +// is used to publish a step detect event +// +// Step detect sensor does not publish configuration events. \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/proto/sns_suid.proto b/proprietary/vendor/etc/sensors/proto/sns_suid.proto new file mode 100644 index 0000000..b83f431 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_suid.proto @@ -0,0 +1,54 @@ +// @file sns_suid.proto +// +// Defines standard message types to request and receive SUIDs. +// +// Copyright (c) 2016-2017,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; + +enum sns_suid_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_SUID_MSGID_SNS_SUID_REQ = 512; + SNS_SUID_MSGID_SNS_SUID_EVENT = 768; +} + +// Well-known SUID for use by all clients. +// All other Sensor UIDs must be discovered dynamically +message sns_suid_sensor { + required fixed64 suid_low = 1 [default = 0xabababababababab]; + required fixed64 suid_high = 2 [default = 0xabababababababab]; +} + +// Request sent by internal or external client for the list of SUIDs that +// advertise the specified Data Type +// Note: Additional requests arriving on the same connection, will not result +// in a replaced request, but instead the new request will be appended to any +// active registrations. +message sns_suid_req { + required string data_type = 1; + // Register for updates to the list of SUIDs advertising data_type + optional bool register_updates = 2; + + // Each data type may or may not have one sensor configured to be "default" through registry. + // If following field is set to true and : + // * A default for the data type is explicitly configured, + // only the SUID of the default sensor will be sent via the suid event when available. + // * A default for the data type is not explicitly configured, + // the SUID of the first sensor with matching data type will be sent via the suid event. + // If following field is set to false, all sensors with matching data type will be sent, + // as and when they become available. + optional bool default_only = 3 [default = true]; +} + +// Event specifying the list of SUIDs associated with the given Data Type +// Receipt of this event indicates that a change to this list has occurred +// since the previous event. +message sns_suid_event { + // Direct copy of sns_suid_req:data_type + required string data_type = 1; + repeated sns_std_suid suid = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto b/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto new file mode 100644 index 0000000..2e24181 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto @@ -0,0 +1,62 @@ +// @file sns_thermopile.proto +// +// Defines the API for Thermopile Sensors. +// All Thermopile Sensor drivers are required to comply with this API. +// Any new functionality for Thermopile Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Thermopile Temperature Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "thermopile". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees Celsius/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees Celsius unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Thermopile Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. + +// Handling stream events: +// 1. The Thermopile Sensor publishes data stream events using the +// sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Object temperature in degrees Celsius +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Thermopile Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Thermopile Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Thermopile Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Thermopile Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Thermopile Sensor could implement other test types. + +// Handling test events: +// 1. The Thermopile Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_threshold.proto b/proprietary/vendor/etc/sensors/proto/sns_threshold.proto new file mode 100644 index 0000000..3cf67b9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_threshold.proto @@ -0,0 +1,91 @@ +// @file sns_threshold.proto +// +// Defines standard message types for the Threshold Algorithm +// +// Copyright (c) 2018-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; +import "sns_std_sensor.proto"; +import "sns_resampler.proto"; + +// Threshold Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "threshold" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_STREAMING + +// Sensor output event: +// Threshold uses sns_std_sensor_event for it's output event. +// An event is generated by the threshold algorithm only if the threshold is met +// on any of the axis for the sensor. +// Thresholding can be done as value based delta between current value and +// the last generated output. Or thresholding can be done as the delta between +// current value and the last output, as a percentage of the last output. +// Thresholding can also be done based on the current value going beyond a particular +// absolute threshold value. +// When thresholding criteria is met , an event is generated by the algorithm. + +enum sns_threshold_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_THRESHOLD_MSGID_SNS_THRESHOLD_CONFIG = 512; +} + +//Thresholding types +enum sns_threshold_type +{ + option (nanopb_enumopt).long_names = false; + + // Provide thresholding as a delta between current value + // and last reported value, exceeding above the configured threshold. + SNS_THRESHOLD_TYPE_RELATIVE_VALUE = 0; + + // Provide thresholding as a delta between current value + // and last reported value, compared as a percentage of the last reported value, + // where the percentage is the configured threshold. + SNS_THRESHOLD_TYPE_RELATIVE_PERCENT = 1; + + // Provides thresholding of the current value against a fixed configured + // threshold value. + SNS_THRESHOLD_TYPE_ABSOLUTE = 2; + + // Provides thresholding of angle between current and last reported quaternion + // for quaternion sensors, in radians + SNS_THRESHOLD_TYPE_ANGLE = 3; +} + +// Configuration Message +// Used to either request for a new configuration of the threshold Sensor or +// alter an already existing configuration or query the current configuration. +message sns_threshold_config +{ + // UID of the sensor from which data is being requested from. + required sns_std_suid sensor_uid = 1; + + // The threshold value per axis. + // The number of threshold values need to be less than or equal to the number of + // sensor data axes. + // For SNS_THRESHOLD_TYPE_ANGLE, a single threshold_val value representing the + // angle between current and last reported quaternions + repeated float threshold_val = 2; + + // Tells us how to use the thresholding value provided. + required sns_threshold_type threshold_type = 3; + + // The message id to be used to configure the underlying sensor. + // This is used together with the below payload field. + required uint32 payload_cfg_msg_id = 4; + + // Dynamic length payload, containing the actual data/configuration request + // This payload will need to be decoded separately, using the Sensor-specific + // header file. + required bytes payload = 5; +} + +// Config is used to inform the client of the configuration that was set, +// after a configuration is done . +// The config message is sent back to the client +// in the threshold config message. +// All data events are generated as sns_std_sensor_event. diff --git a/proprietary/vendor/etc/sensors/proto/sns_tilt.proto b/proprietary/vendor/etc/sensors/proto/sns_tilt.proto new file mode 100644 index 0000000..8458776 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_tilt.proto @@ -0,0 +1,49 @@ +// @file sns_tilt.proto +// +// Defines message types for the Tilt Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Tilt Sensor looks for a change in angle of a gravity vector from an +// anchor vector. +// +// The initial anchor vector is based on an average of one second of +// accel data after initial activation. +// +// The gravity vector is calculated based on an average of two seconds of +// accel data. +// +// The anchor vector is reset to the current gravity vector each time the +// Tilt event is generated. +// There is only one anchor vector shared amongst all clients. +// +// The Tilt event is generated when the current gravity vector is 35 degrees +// or more from the anchor vector. + +// Tilt Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "tilt" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Tilt Sensor +enum sns_tilt_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_TILT_MSGID_SNS_TILT_EVENT = 774; +} + +// Stream events: +// +// A NULL message with message ID SNS_TILT_MSGID_SNS_TILT_EVENT is used to +// publish tilt event +// +// Tilt does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto b/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto new file mode 100644 index 0000000..ceabc92 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto @@ -0,0 +1,36 @@ +// @file sns_tilt_to_wake.proto +// +// Defines message types for the tilt_to_wake Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The tilt_to_wake detects substantial phone rotation (gesture) within +// limited period ending in a specific range of the pitch and roll angles. +// It uses proximity sensor to block the tilt event reporting in pocket or purse + +// tilt_to_wake Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "tilt_to_wake" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for tilt_to_wake Sensor +enum sns_tilt_to_wake_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_TILT_TO_WAKE_MSGID_SNS_TILT_TO_WAKE_EVENT = 775; +} + +// Stream events: +// +// A NULL message with message ID SNS_TILT_TO_WAKE_MSGID_SNS_TILT_TO_WAKE_EVENT is used to +// publish tilt_to_wake event +// +// tilt_to_wake does not publish configuration events. diff --git a/proprietary/vendor/etc/sensors/proto/sns_timer.proto b/proprietary/vendor/etc/sensors/proto/sns_timer.proto new file mode 100644 index 0000000..82bcc01 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_timer.proto @@ -0,0 +1,149 @@ +// @file sns_timer.proto +// +// Defines standard message types for the Timer Sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_timer_sensor_timeout +{ + option (nanopb_enumopt).long_names = false; + + SNS_TIMER_SENSOR_TIMEOUT_MIN_TIMEOUT_NANOSEC = 100000; +} + +enum sns_timer_msgid { + option (nanopb_enumopt).long_names = false; + + // Timer config message. + // + //Corresponds to the message sns_timer_sensor_config. + // This message is used to start, reconfigure or + // stop the timer sensor + SNS_TIMER_MSGID_SNS_TIMER_SENSOR_CONFIG = 512; + + // Timer event message. + // + // Corresponds to the message sns_timer_sensor_event. + // This event is generated when a timer's timeout + // occurs. + SNS_TIMER_MSGID_SNS_TIMER_SENSOR_EVENT = 1025; + + // Timer registration message + // + // This message is used to acknowledge that a timer was successfully + // registered. This event contains the sns_timer_reg_event with the + // options selected by the timer sensor. The event will be re-sent each time + // the timer sensor automatically adjusts the period of a periodic timer. + SNS_TIMER_MSGID_SNS_TIMER_SENSOR_REG_EVENT = 1026; +} + +// Priority of timer events +enum sns_timer_priority { + option (nanopb_enumopt).long_names = false; + // Priority LOWEST is used for low priority timers + SNS_TIMER_PRIORITY_LOWEST = 0; + // Priority OTHER is used for general timer events, and should be used + // by default + SNS_TIMER_PRIORITY_OTHER = 10; + // Priority POLLING is used for polling physical sensors + SNS_TIMER_PRIORITY_POLLING = 50; + // Priority S4S is used for S4S schedules + SNS_TIMER_PRIORITY_S4S = 100; +} + +// Timer configuration message. +// The minimum time resolution supported by the timer is +// min_timeout_nanosec + +message sns_timer_sensor_config +{ + + // The time of starting the timer in ticks. This is typically current time. + required uint64 start_time = 1; + + // The timeout period starting from start_time, in ticks. + required uint64 timeout_period = 2; + + // If this timer is periodic. If true, the timer will be rearmed to + // timeout_period when the timer fires. If false, the timer will be disarmed + // after firing once. The memory associated with this timer will not be + // released until this connection is terminated. + required bool is_periodic = 3; + + // The start_config allows the timer sensor to modify the start_time. This may + // allow the timer sensor to synchronize with other nearby timers to save power + // if the exact value of start_time is flexible. + // If this message is not present, default values are 0. + message start_config_message { + // The start_time may be adjusted to start early by this many ticks. + required uint32 early_start_delta = 1; + // The start_time may be adjusted to start late by this many ticks. + required uint32 late_start_delta = 2; + } + optional start_config_message start_config = 4; + + // The timeout_config allows the timer sensor to modify the timeout_period. + // This may allow the timer sensor to synchronize with other timers to save + // power if the exact perodicity is flexible. + // If this message is not present, default values are 0. + message timeout_config_message { + // The initial timeout_period may be adjusted smaller by this many ticks. + required uint32 low_timeout_delta = 1; + // The initial timeout_period may be adjusted larger by this many ticks. + required uint32 high_timeout_delta = 2; + + // jitter_ticks only applies if "is_periodic" is true. After the first + // TIMER_SENSOR_EVENT, the timeout_period will only be adjusted by this many + // ticks in each period. The accumulated adjustments will stay within the + // low/high bounds defined in this message. + optional uint32 jitter_ticks = 3; + } + optional timeout_config_message timeout_config = 5; + + // Set this to true to cause the timer sensor to send a TIMER_SENSOR_REG_EVENT + // and include this timer as part of the timers to be synchronized, but the + // timer will not actually be started, and no TIMER_SENSOR_EVENTs will + // be generated. + // This is useful to know how to synchronize to other timers on the system + // without actually causing timer events to occur. + optional bool is_dry_run = 6 [default = false]; + + // If multiple timers expire at the same time, timer events with higher + // priority will be sent first. + // default: other + optional sns_timer_priority priority = 7 [default = SNS_TIMER_PRIORITY_OTHER]; +} + +// Timer Sensor event +// This event is generated each time the timer fires. The time at which the timer +// fires can differ from the requested timeout by up to min_timeout_nanosec. +// The client is responsible for checking the requested_timeout_time and the +// timeout_time fields and determine if additional delays must be added. +message sns_timer_sensor_event +{ + // The timeout period generated from the timer_sensor_config message in ticks. + required uint64 requested_timeout_time = 1; + + // The time at which the timer fired, in ticks. + required uint64 timeout_time = 2; +} + +// Timer registration message +// +// This message is used to acknowledge that a timer was successfully +// registered. This event contains options selected by the timer sensor based +// on the config event. +// The event will be re-sent each time the timer sensor automatically adjusts +// the period of a periodic timer. +message sns_timer_sensor_reg_event +{ + required uint64 start_time = 1; + required uint64 timeout_period = 2; + required bool is_periodic = 3; + required bool is_dry_run = 4; + required sns_timer_priority priority = 5; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto b/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto new file mode 100644 index 0000000..7bb7fd2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto @@ -0,0 +1,72 @@ +// @file sns_ultra_violet.proto +// +// Defines the API for Ultra Violet (UV) Sensors. +// All UV Sensor drivers are required to comply with this API. +// Any new functionality for UV Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The UV Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ultra_violet". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees mW/cm2/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees mW/cm2 unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The UV Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. + +// Handling stream events: +// 1. The UV Sensor publishes UV data in ambient light using the +// sns_std_sensor_event message. +// 2. Each stream event contains following factory calibrated data fields: +// data[0] = Bit mask to determine which outputs are supported: +// bit[0]: 1 if UV-A is supported else 0 +// bit[1]: 1 if UV-B is supported else 0 +// bit[2]: 1 if Total UV is supported else 0 +// bit[3]: 1 if UV index is supported else 0 +// all other bits are 0 +// data[1] = UV-A radiation in mW/cm2 +// data[2] = UV-B radiation in mW/cm2 +// data[3] = Total UV radiation in mW/cm2 +// data[4] = Unitless UV index number +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The UV Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The UV Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The UV Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The UV Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for UV Sensor calibrates +// the sensor such that it's output is comparable to a standard +// UV Meter output in any lighting condition. +// 3. The UV Sensor could implement other test types. + +// Handling test events: +// 1. The UV Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto b/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto new file mode 100644 index 0000000..37482d9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto @@ -0,0 +1,49 @@ +// @file sns_wrist_tilt_gesture.proto +// +// Defines message types for the wrist_tilt_gesture Sensor. +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Tilt Sensor looks for a change in angle of a gravity vector from an +// anchor vector. +// +// The initial anchor vector is based on an average of one second of +// accel data after initial activation. +// +// The gravity vector is calculated based on an average of two seconds of +// accel data. +// +// The anchor vector is reset to the current gravity vector each time the +// Tilt event is generated. +// There is only one anchor vector shared amongst all clients. +// +// The Tilt event is generated when the current gravity vector is 35 degrees +// or more from the anchor vector. + +// Tilt Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "wrist_tilt_gesture" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Wrist Tilt Gesture Sensor +enum sns_wrist_tilt_gesture_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_WRIST_TILT_GESTURE_MSGID_SNS_TILT_EVENT = 774; +} + +// Stream events: +// +// A NULL message with message ID SNS_TILT_MSGID_SNS_TILT_EVENT is used to +// publish tilt event +// +// Tilt does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/sns_reg_config b/proprietary/vendor/etc/sensors/sns_reg_config new file mode 100644 index 0000000..2009898 --- /dev/null +++ b/proprietary/vendor/etc/sensors/sns_reg_config @@ -0,0 +1,12 @@ +version=1 +file=hw_platform=/sys/devices/soc0/hw_platform +file=platform_subtype=/sys/devices/soc0/platform_subtype +file=platform_subtype_id=/sys/devices/soc0/platform_subtype_id +file=platform_version=/sys/devices/soc0/platform_version +file=soc_id=/sys/devices/soc0/soc_id +file=revision=/sys/devices/soc0/revision +file=output=/mnt/vendor/persist/sensors/registry/registry +file=project=/sys/project_info/project_name +file=hw_id=/sys/project_info/hw_id +property=persist.vendor.sensors.enable.property=/mnt/vendor/persist/sensors/registry/file1 +property=persist.vendor.sensors.enable.property1=/mnt/vendor/persist/sensors/registry/file2 diff --git a/proprietary/vendor/etc/thermal-engine.conf b/proprietary/vendor/etc/thermal-engine.conf new file mode 100644 index 0000000..33fc821 --- /dev/null +++ b/proprietary/vendor/etc/thermal-engine.conf @@ -0,0 +1,2 @@ +# File empty by default. +# Replace contents of this file with custom configuration. diff --git a/proprietary/vendor/firmware/tfa98xx.cnt b/proprietary/vendor/firmware/tfa98xx.cnt new file mode 100644 index 0000000..9cf6469 Binary files /dev/null and b/proprietary/vendor/firmware/tfa98xx.cnt differ diff --git a/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_photo_preview.bin b/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_photo_preview.bin new file mode 100644 index 0000000..5f70a35 Binary files /dev/null and b/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_photo_preview.bin differ diff --git a/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_video.bin b/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_video.bin new file mode 100644 index 0000000..c9cd754 Binary files /dev/null and b/proprietary/vendor/lib64/camera/CFR_OnePlus_UW_video.bin differ diff --git a/proprietary/vendor/lib64/camera/CFR_para2_OnePlus_EF017_UW_snapshot.bin b/proprietary/vendor/lib64/camera/CFR_para2_OnePlus_EF017_UW_snapshot.bin new file mode 100644 index 0000000..98b65b1 Binary files /dev/null and b/proprietary/vendor/lib64/camera/CFR_para2_OnePlus_EF017_UW_snapshot.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so new file mode 100644 index 0000000..ef1f337 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.gc02m1b.so b/proprietary/vendor/lib64/camera/com.qti.sensor.gc02m1b.so new file mode 100644 index 0000000..e3de7e5 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.gc02m1b.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.gc5035.so b/proprietary/vendor/lib64/camera/com.qti.sensor.gc5035.so new file mode 100644 index 0000000..d03ee19 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.gc5035.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.imx471.so b/proprietary/vendor/lib64/camera/com.qti.sensor.imx471.so new file mode 100644 index 0000000..38067b4 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.imx471.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.imx481.so b/proprietary/vendor/lib64/camera/com.qti.sensor.imx481.so new file mode 100644 index 0000000..41023a0 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.imx481.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.imx586.so b/proprietary/vendor/lib64/camera/com.qti.sensor.imx586.so new file mode 100644 index 0000000..f575997 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.imx586.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.holitech_gc02m1b.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.holitech_gc02m1b.bin new file mode 100644 index 0000000..6398a8c Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.holitech_gc02m1b.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.qtech_imx481.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.qtech_imx481.bin new file mode 100644 index 0000000..0db80d2 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.qtech_imx481.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.semco_imx586.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.semco_imx586.bin new file mode 100644 index 0000000..2caa7a7 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.semco_imx586.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.shine_gc5035.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.shine_gc5035.bin new file mode 100644 index 0000000..b42caea Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.shine_gc5035.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.truly_imx471.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.truly_imx471.bin new file mode 100644 index 0000000..59a441d Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.truly_imx471.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.holitech_gc02m1b.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.holitech_gc02m1b.bin new file mode 100644 index 0000000..4f0b695 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.holitech_gc02m1b.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.qtech_imx481.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.qtech_imx481.bin new file mode 100644 index 0000000..ce7992d Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.qtech_imx481.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.semco_imx586.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.semco_imx586.bin new file mode 100644 index 0000000..81ff45b Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.semco_imx586.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.shine_gc5035.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.shine_gc5035.bin new file mode 100644 index 0000000..00aa9e3 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.shine_gc5035.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.truly_imx471.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.truly_imx471.bin new file mode 100644 index 0000000..986d954 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.truly_imx471.bin differ diff --git a/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrsnapshot.so b/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrsnapshot.so new file mode 100644 index 0000000..3a64c75 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrsnapshot.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrvideo.so b/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrvideo.so new file mode 100644 index 0000000..1c48a80 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.oneplus.node.cfrvideo.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.oneplus.node.memcpy.so b/proprietary/vendor/lib64/camera/components/com.oneplus.node.memcpy.so new file mode 100644 index 0000000..67c60f1 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.oneplus.node.memcpy.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview.so b/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview.so new file mode 100644 index 0000000..1340627 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview_nv.so b/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview_nv.so new file mode 100644 index 0000000..bd0ba40 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.oneplus.node.preview_nv.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.oneplus.node.rtb.so b/proprietary/vendor/lib64/camera/components/com.oneplus.node.rtb.so new file mode 100644 index 0000000..c702561 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.oneplus.node.rtb.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.oneplus.node.sat.so b/proprietary/vendor/lib64/camera/components/com.oneplus.node.sat.so new file mode 100644 index 0000000..3e7cd64 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.oneplus.node.sat.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so b/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so new file mode 100644 index 0000000..c0166e0 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so b/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so new file mode 100644 index 0000000..c1d0cf0 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so b/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so new file mode 100644 index 0000000..ced2ad2 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so b/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so new file mode 100644 index 0000000..aa54f09 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so b/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so new file mode 100644 index 0000000..dd4a41c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so b/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so new file mode 100644 index 0000000..d6d6d5e Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so b/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so new file mode 100644 index 0000000..690fb82 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so b/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so new file mode 100644 index 0000000..053d82f Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so b/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so new file mode 100644 index 0000000..604b674 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so new file mode 100644 index 0000000..904afd6 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so new file mode 100644 index 0000000..60bb23f Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so b/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so new file mode 100644 index 0000000..5b5462c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so b/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so new file mode 100644 index 0000000..147f870 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so b/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so new file mode 100644 index 0000000..ec3b5e6 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so b/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so new file mode 100644 index 0000000..c2f6bf1 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so b/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so new file mode 100644 index 0000000..d3af1ad Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so b/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so new file mode 100644 index 0000000..e9e2e2a Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so new file mode 100644 index 0000000..a117699 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so new file mode 100644 index 0000000..331368c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so new file mode 100644 index 0000000..6971873 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so new file mode 100644 index 0000000..ee7a6ee Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so new file mode 100644 index 0000000..4748959 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so new file mode 100644 index 0000000..055eb37 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so new file mode 100644 index 0000000..d326123 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so new file mode 100644 index 0000000..4e79d1c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so new file mode 100644 index 0000000..a056b88 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so new file mode 100644 index 0000000..302a44e Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so new file mode 100644 index 0000000..7f3d002 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so new file mode 100644 index 0000000..0c1f1ae Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so new file mode 100644 index 0000000..ed9afdb Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so new file mode 100644 index 0000000..73b97b8 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so new file mode 100644 index 0000000..a58ce39 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so new file mode 100644 index 0000000..6fbc43c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so new file mode 100644 index 0000000..65be7ee Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so new file mode 100644 index 0000000..986e96c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so differ diff --git a/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so b/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so new file mode 100644 index 0000000..bb09987 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/fdconfigpreview.bin b/proprietary/vendor/lib64/camera/fdconfigpreview.bin new file mode 100644 index 0000000..66e4ed9 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigpreview.bin differ diff --git a/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin b/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin new file mode 100644 index 0000000..66e4ed9 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin differ diff --git a/proprietary/vendor/lib64/camera/fdconfigvideo.bin b/proprietary/vendor/lib64/camera/fdconfigvideo.bin new file mode 100644 index 0000000..66e4ed9 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigvideo.bin differ diff --git a/proprietary/vendor/lib64/camera/fdconfigvideolite.bin b/proprietary/vendor/lib64/camera/fdconfigvideolite.bin new file mode 100644 index 0000000..66e4ed9 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigvideolite.bin differ diff --git a/proprietary/vendor/lib64/fp_hal_extension.so b/proprietary/vendor/lib64/fp_hal_extension.so new file mode 100644 index 0000000..cee5606 Binary files /dev/null and b/proprietary/vendor/lib64/fp_hal_extension.so differ diff --git a/proprietary/vendor/lib64/hw/camera.qcom.so b/proprietary/vendor/lib64/hw/camera.qcom.so new file mode 100644 index 0000000..5324eda Binary files /dev/null and b/proprietary/vendor/lib64/hw/camera.qcom.so differ diff --git a/proprietary/vendor/lib64/hw/goodix.fod.kona.so b/proprietary/vendor/lib64/hw/goodix.fod.kona.so new file mode 100644 index 0000000..8e23407 Binary files /dev/null and b/proprietary/vendor/lib64/hw/goodix.fod.kona.so differ diff --git a/proprietary/vendor/lib64/hw/goodix.g6.fod.kona.so b/proprietary/vendor/lib64/hw/goodix.g6.fod.kona.so new file mode 100644 index 0000000..0120390 Binary files /dev/null and b/proprietary/vendor/lib64/hw/goodix.g6.fod.kona.so differ diff --git a/proprietary/vendor/lib64/libarm_proxy_skel.so b/proprietary/vendor/lib64/libarm_proxy_skel.so new file mode 100644 index 0000000..4793412 Binary files /dev/null and b/proprietary/vendor/lib64/libarm_proxy_skel.so differ diff --git a/proprietary/vendor/lib64/libgf_g6_ud_hal.so b/proprietary/vendor/lib64/libgf_g6_ud_hal.so new file mode 100644 index 0000000..178a2e8 Binary files /dev/null and b/proprietary/vendor/lib64/libgf_g6_ud_hal.so differ diff --git a/proprietary/vendor/lib64/libgf_ud_hal.so b/proprietary/vendor/lib64/libgf_ud_hal.so new file mode 100644 index 0000000..7fc41b8 Binary files /dev/null and b/proprietary/vendor/lib64/libgf_ud_hal.so differ diff --git a/proprietary/vendor/lib64/libhvx_proxy_stub.so b/proprietary/vendor/lib64/libhvx_proxy_stub.so new file mode 100644 index 0000000..d84be28 Binary files /dev/null and b/proprietary/vendor/lib64/libhvx_proxy_stub.so differ diff --git a/proprietary/vendor/lib64/libkeymasterdeviceutils.so b/proprietary/vendor/lib64/libkeymasterdeviceutils.so new file mode 100644 index 0000000..e0d5296 Binary files /dev/null and b/proprietary/vendor/lib64/libkeymasterdeviceutils.so differ diff --git a/proprietary/vendor/lib64/libkeymasterprovision.so b/proprietary/vendor/lib64/libkeymasterprovision.so new file mode 100644 index 0000000..c8d29ad Binary files /dev/null and b/proprietary/vendor/lib64/libkeymasterprovision.so differ diff --git a/proprietary/vendor/lib64/libkeymasterutils.so b/proprietary/vendor/lib64/libkeymasterutils.so new file mode 100644 index 0000000..666a9fe Binary files /dev/null and b/proprietary/vendor/lib64/libkeymasterutils.so differ diff --git a/proprietary/vendor/lib64/libqtikeymaster4.so b/proprietary/vendor/lib64/libqtikeymaster4.so new file mode 100644 index 0000000..bac1bc7 Binary files /dev/null and b/proprietary/vendor/lib64/libqtikeymaster4.so differ diff --git a/proprietary/vendor/lib64/vendor.goodix.hardware.biometrics.fingerprint@2.1.so b/proprietary/vendor/lib64/vendor.goodix.hardware.biometrics.fingerprint@2.1.so new file mode 100644 index 0000000..da7d871 Binary files /dev/null and b/proprietary/vendor/lib64/vendor.goodix.hardware.biometrics.fingerprint@2.1.so differ