sweet: Import from V13.0.15.0.SKFMIXM

Change-Id: I84ba021fe706d41a7be91c2035cedd9693c2f432
This commit is contained in:
basamaryan 2023-04-11 15:42:12 -04:00
commit 741bcfb529
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
341 changed files with 25572 additions and 0 deletions

2962
Android.bp Normal file

File diff suppressed because it is too large Load Diff

9
Android.mk Normal file
View File

@ -0,0 +1,9 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sweet/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),sweet)
endif

4
BoardConfigVendor.mk Normal file
View File

@ -0,0 +1,4 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sweet/setup-makefiles.sh

BIN
proprietary/vendor/bin/batterysecret vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/mi_thermald vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/sensors.qti vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/thermal-engine vendored Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8" ?>
<altek_tuning_params>
<!-- wide 108 i -->
<sensor name="s5khm2">
<sensorId>0</sensorId>
<vendorId>1</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_W_V01.bin</tuningBin>
</sensor>
<!-- wide 108 ii -->
<sensor name="s5khm2">
<sensorId>0</sensorId>
<vendorId>7</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_W_V01.bin</tuningBin>
</sensor>
<!-- wide 64 i -->
<sensor name="s5kgw3">
<sensorId>0</sensorId>
<vendorId>1</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_W_V01.bin</tuningBin>
</sensor>
<!-- wide 64 ii -->
<sensor name="s5kgw3">
<sensorId>0</sensorId>
<vendorId>7</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_W_V01.bin</tuningBin>
</sensor>
<!-- ultra wide i -->
<sensor name="imx355">
<sensorId>4</sensorId>
<vendorId>1</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_UW_V01.bin</tuningBin>
</sensor>
<!-- ultra wide ii -->
<sensor name="imx355">
<sensorId>4</sensorId>
<vendorId>7</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_UW_V01.bin</tuningBin>
</sensor>
<!-- marco i -->
<sensor name="ov5675">
<sensorId>3</sensorId>
<vendorId>1</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_MARCO_V01.bin</tuningBin>
</sensor>
<!-- marco ii -->
<sensor name="ov5675">
<sensorId>3</sensorId>
<vendorId>7</vendorId>
<tuningBin>/vendor/etc/camera/CFR_para_MARCO_V01.bin</tuningBin>
</sensor>
</altek_tuning_params>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,26 @@
# name type value
deghostScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sensitivityScale; p; 1.0, 1.0, 1.4, 1.5, 1.3, 1.1, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sharpenIsoScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sharpenZoomScale; p; 1.0, 1.0, 0.0
filterMul; f; 0.16
#filterLowMul; f; 1.0
refFilterYMul; f; 1.0
filterUVMul; f; 1.0
refFilterUVMul; f; 1.0
refFilterLowUVMul; f; 1.0
sharpen; f; 1.0
refFilterSharpen; f; 0.0
srMinImages; f; 1.0
movFiltAdd; i; 2
deepFilterYMul; p; 3.6, 1.8, 1.2, 1.0
deepFilterUVMul; p; 1.0, 1.0, 1.0, 1.0
deepSharpen; p; 1.0, 1.0, 0.0, 0.0
deepFilterLeak; i; 2
deepFilterCorner; f; 1.333
superRes; i; 1
droLocal; i; 0
deepFilter; i; 1
bil11uv; i; 0
maxSharpImages; i; 10
newAlignment; i; 1

View File

@ -0,0 +1,26 @@
# name type value
deghostScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sensitivityScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.1, 1.1, 1.2, 1.2, 1.5, 1.5
sharpenIsoScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sharpenZoomScale; p; 1.0, 1.0, 0.0
filterMul; f; 0.45
#filterLowMul; f; 1.0
refFilterYMul; f; 1.0
filterUVMul; f; 1.0
refFilterUVMul; f; 1.0
refFilterLowUVMul; f; 1.0
sharpen; f; 1.0
refFilterSharpen; f; 0.0
srMinImages; f; 1.0
movFiltAdd; i; 2
deepFilterYMul; p; 1.5, 1.1, 1.1, 1.0
deepFilterUVMul; p; 1.0, 1.0, 1.0, 1.0
deepSharpen; p; 1.0, 1.0, 0.0, 0.0
deepFilterLeak; i; 2
deepFilterCorner; f; 1.333
superRes; i; 1
droLocal; i; 0
deepFilter; i; 1
bil11uv; i; 0
maxSharpImages; i; 10
newAlignment; i; 1

Binary file not shown.

View File

@ -0,0 +1,36 @@
/*G
1 2 3 4 5 6 7 8 9
soften eye-large slender-face eye-bright deblemish depouch lip iris auto-bright
10 11 12 13 14 15 16 17 18
auto-color clarity auto-style slender-nose skin-sharp nose-highlgt 3d-nose 3d-app 3d-lip
19 20 21 22 23 24 25 26 27
3d-chin 3d-neck M-eyebrow M-pupil-line M-gloss M-blush eyesharp forhead teethwhite
*/
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#ifdef PHOENIX_CAM_PRO_HEADLINE
//male(photo/front-bokeh/rear-bokeh)
{ 25, 100, 100, 0, 1, 70, 0, 35, 0, 0, 10, 50, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 90, 0, -100, 0},
{ 25, 0, 0, 0, 1, 70, 0, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0},
{ 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0},
//female(photo/front-bokeh/rear-bokeh)
{ 40, 100, 100, 0, 1, 60, 50, 35, 0, 0, 10, 50, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 90, 0, -100, 0},
{ 40, 0, 40, 0, 1, 60, 50, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0},
{ 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0},
//bady
{ 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//preview(photo-video/front-bokeh/rear-bokeh)
{ 60, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 60, 0, -100, 0},
#else
//male(photo/front-bokeh/rear-bokeh)
{ 25, 100, 100, 0, 1, 70, 0, 35, 0, 0, 10, 50, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 90, 0, 0, 0},
{ 25, 0, 0, 0, 1, 70, 0, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//female(photo/front-bokeh/rear-bokeh)
{ 40, 100, 100, 0, 1, 60, 50, 35, 0, 0, 10, 50, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 90, 0, 0, 0},
{ 40, 0, 40, 0, 1, 60, 50, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//bady
{ 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//preview(photo-video/front-bokeh/rear-bokeh)
{ 60, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 60, 0, 0, 0},
#endif

View File

@ -0,0 +1,68 @@
multiCameraEnable=TRUE
logInfoMask=0x10080
overrideLogLevels=0x1F
enableNCSService=TRUE
disablePDAF=FALSE
disableFocusIndication=1
enable3ADebugData=FALSE
enableTuningMetadata=FALSE
advanceFeatureMask=0x7E7
#isBeautyMakeupSupported=TRUE
#isVideoBeautifierSupported=TRUE
exposeFullSizeForQCFA=FALSE
useFeatureForQCFA=1
enableSensorHWSync=1
multiCameraFrameSync=1
enableSensorFpsMatch=TRUE
enableICAInGrid=1
forceDisableUBWCOnIfeIpeLink=0
enableInternalHALPixelStreamConfig=TRUE
iseispreviewSupported=TRUE
enableBubbleRecovery=FALSE
#minReprocessInputWidth=4000
#minReprocessInputHeight=3000
enableOfflineNoiseReprocess=1
ismfnrbokehsupported=TRUE
logConfigMask=0
#fovcEnable=1
tintlessEnable=TRUE
sessionFallbackWaitTime=1000
sessionDumpForFlush=TRUE
isVideoBeautifierSupported=TRUE
isVideoFilterSupported=TRUE
isVideoLogformatSupported=TRUE
isDualVideoSupported=TRUE
vsquality=5@30|6@30
gyroSensitivityLLS=0.04
gyroSensitivityLLSEnable=FALSE
isColorEnhancementSupported=TRUE
isVideoMimovieSupported=TRUE
overrideFlashTorchCurrent=500
overrideFrontSnapFlashCurrent=75
overrideFrontVideoFlashCurrent=150
overrideTorchCurrent=200
logVerboseMask=0x0
logInfoMask=0x0
logEntryExitMask=0x0
logErrorMask=0xF3FFFFFF
overrideLogLevels=0x1
enable3ADebugData=FALSE
enableTuningMetadata=FALSE
traceErrorEnable=FALSE
logRequestMapping=FALSE
systemLogEnable=TRUE
FDPreprocessing=GTM
shortGainThreshold=2
aecGainThreshold=2
adrcGainLowThreshold=4
adrcGainHighThreshold=3
luxIndexLowThreshold=200
luxIndexHighThreshold=230
AIEnhancementVersion=2
FDFilterEngine=FD_Standard_ARM
enableCHIPartialData=1
quickviewsupport=TRUE
quickviewmask=0x2500
superVideoFilterVersion=1
isVideoBeautyEISSupported=TRUE
enableGPURotation=TRUE

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,7 @@
EISWidthMargin=0.25
EISHeightMargin=0.25
EISLDCGridEnabled=1
EISv3GyroDumpEnabled=0
EISv3OperationMode=0
EISv2GyroDumpEnabled=0
EISv2OperationMode=0

Binary file not shown.

View File

@ -0,0 +1,35 @@
static ArcHDRCommonAEParam ArcHDRCommonAEParams[] = {
/*
lux_min, lux_max, checkermode, c_min, c_max, drc_min, drc_max*/
//CommonAEParam
{250, 300, 1, 0.6, 0.8, 4.0, 8.0},
};
static ArcHDRParam ArcHDRParams[] = {
/*
tonelen, bright, saturation, contrast, capture_num, r_ev0, r_ev-, r_ev+*/
//REAR camera
{20, -15, 5, 50, 3, 0, -10, 6},
//FRONT camera
{1, 0, 0, 0, 2, 0, -12, 0},
};
#################################################instructions###########################################################################
/*
instructions as followed:
if lux < lux_min
dr_mode = hdr;
if lux > lux_max
dr_mode = llhdr;
else
dr_mode = checker's output
if checkermode == EV_AUTO //automode
ev0 ev- ev+ use data from checker
if checkermode == EV_MANUL //manualmode
ev0 ev- ev+ use data from config
if confval < c_min
dr_mode disabled
if confval > c_max
dr_mode enabled
*/

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,166 @@
<?xml version="1.0"?>
<sceneDetection>
<commonSetting>
<blockWidth>32</blockWidth>
<blockHeight>32</blockHeight>
<frameNumToSave>3</frameNumToSave>
<downsampleFactor>4</downsampleFactor>
</commonSetting>
<hdr>
<indoor_iso>800</indoor_iso>
<indoor_expoTime>60</indoor_expoTime>
<indoor_lowExpoRange>10</indoor_lowExpoRange>
<indoor_highExpoRange>8</indoor_highExpoRange>
<indoor_lowExpoRangeExtended>5</indoor_lowExpoRangeExtended>
<indoor_highExpoRangeExtended>5</indoor_highExpoRangeExtended>
<indoor_lowRatioThre>0.03</indoor_lowRatioThre>
<indoor_highRatioThre>0.03</indoor_highRatioThre>
<indoor_face_lowExpoRange>5</indoor_face_lowExpoRange>
<indoor_face_highExpoRange>8</indoor_face_highExpoRange>
<indoor_face_lowExpoRangeExtended>5</indoor_face_lowExpoRangeExtended>
<indoor_face_highExpoRangeExtended>5</indoor_face_highExpoRangeExtended>
<indoor_face_lowRatioThre>0.05</indoor_face_lowRatioThre>
<indoor_face_highRatioThre>0.05</indoor_face_highRatioThre>
<outdoor_iso>200</outdoor_iso>
<outdoor_expoTime>20</outdoor_expoTime>
<outdoor_minRevisedBrightness>418.939</outdoor_minRevisedBrightness>
<outdoor_lowExpoRange>10</outdoor_lowExpoRange>
<outdoor_highExpoRange>8</outdoor_highExpoRange>
<outdoor_lowExpoRangeExtended>5</outdoor_lowExpoRangeExtended>
<outdoor_highExpoRangeExtended>5</outdoor_highExpoRangeExtended>
<outdoor_lowRatioThre>0.03</outdoor_lowRatioThre>
<outdoor_highRatioThre>0.03</outdoor_highRatioThre>
<outdoor_face_lowExpoRange>5</outdoor_face_lowExpoRange>
<outdoor_face_highExpoRange>8</outdoor_face_highExpoRange>
<outdoor_face_lowExpoRangeExtended>5</outdoor_face_lowExpoRangeExtended>
<outdoor_face_highExpoRangeExtended>5</outdoor_face_highExpoRangeExtended>
<outdoor_face_lowRatioThre>0.05</outdoor_face_lowRatioThre>
<outdoor_face_highRatioThre>0.05</outdoor_face_highRatioThre>
<night_iso>100</night_iso>
<night_expoTime>10</night_expoTime>
<night_maxRevisedBrightness>3</night_maxRevisedBrightness>
<night_lowExpoRange>10</night_lowExpoRange>
<night_highExpoRange>8</night_highExpoRange>
<night_lowExpoRangeExtended>5</night_lowExpoRangeExtended>
<night_highExpoRangeExtended>5</night_highExpoRangeExtended>
<night_lowRatioThre>0.03</night_lowRatioThre>
<night_highRatioThre>0.03</night_highRatioThre>
<night_face_lowExpoRange>5</night_face_lowExpoRange>
<night_face_highExpoRange>8</night_face_highExpoRange>
<night_face_lowExpoRangeExtended>5</night_face_lowExpoRangeExtended>
<night_face_highExpoRangeExtended>5</night_face_highExpoRangeExtended>
<night_face_lowRatioThre>0.05</night_face_lowRatioThre>
<night_face_highRatioThre>0.05</night_face_highRatioThre>
<default_lowExpoRange>10</default_lowExpoRange>
<default_highExpoRange>8</default_highExpoRange>
<default_lowExpoRangeExtended>5</default_lowExpoRangeExtended>
<default_highExpoRangeExtended>5</default_highExpoRangeExtended>
<default_lowRatioThre>0.03</default_lowRatioThre>
<default_highRatioThre>0.03</default_highRatioThre>
<touch_lowExpoRange>10</touch_lowExpoRange>
<touch_highExpoRange>8</touch_highExpoRange>
<touch_lowExpoRangeExtended>5</touch_lowExpoRangeExtended>
<touch_highExpoRangeExtended>5</touch_highExpoRangeExtended>
<touch_lowRatioThre>0.03</touch_lowRatioThre>
<touch_highRatioThre>0.03</touch_highRatioThre>
</hdr>
<!--add by fengchaoyu for motion detection -->
<motion>
<motion_frameDiffThre>17.85</motion_frameDiffThre>
<motion_blockWidth>32</motion_blockWidth>
<motion_blockHeight>32</motion_blockHeight>
<motion_judgeMove>0.015</motion_judgeMove>
<motion_frameGap1>1</motion_frameGap1>
<motion_frameGap2>1</motion_frameGap2>
<motion_roiWidRate>1</motion_roiWidRate>
<motion_roiHeiRate>1</motion_roiHeiRate>
<motion_downsample>4</motion_downsample>
<motion_startIndex>7</motion_startIndex>
<motion_indoorExpoTime>40</motion_indoorExpoTime>
<motion_threStaGap>50.0</motion_threStaGap>
<motion_threEndGap>220.0</motion_threEndGap>
<motion_threFirStage>30.0</motion_threFirStage>
<motion_threSecStageK>0.2</motion_threSecStageK>
<motion_threThirStage>20.0</motion_threThirStage>
<motion_faceLeftXThre>40</motion_faceLeftXThre>
<motion_faceTopYThre>40</motion_faceTopYThre>
<motion_faceRollThre>20</motion_faceRollThre>
<motion_facePitchThre>20</motion_facePitchThre>
<motion_faceYawThre>30</motion_faceYawThre>
<motion_faceSizeThre>40</motion_faceSizeThre>
</motion>
<!--add by fengchaoyu for wideangle recommend-->
<wideangle>
<wideangle_horizontal>180</wideangle_horizontal>
<wideangle_horiThre>10</wideangle_horiThre>
<wideangle_vertical>270</wideangle_vertical>
<wideangle_vertiThre>10</wideangle_vertiThre>
<wideangle_minFaceNum>3</wideangle_minFaceNum>
<wideangle_faceDisRatio>2.0</wideangle_faceDisRatio>
<wideangle_faceSizeRatio>0.5</wideangle_faceSizeRatio>
<wideangle_edgeDisRatio>0.1</wideangle_edgeDisRatio>
</wideangle>
<!--add by gongqiang for nightView recommend-->
<nightview>
<nightview_lowthresh>50</nightview_lowthresh>
<nightview_highthresh>150</nightview_highthresh>
<nightview_lowratio>0.8</nightview_lowratio>
<nightview_highratio>0.3</nightview_highratio>
</nightview>
<dxo_nightview>
<dxo_nightview_light>10.0</dxo_nightview_light>
<dxo_nightview_mlight>80.0</dxo_nightview_mlight>
<dxo_nightview_iso>1000.0</dxo_nightview_iso>
<dxo_nightview_expo_time>20.0</dxo_nightview_expo_time>
<dxo_nightview_bright_thresh>240</dxo_nightview_bright_thresh>
<dxo_nightview_bright_ratio_thresh>0.008</dxo_nightview_bright_ratio_thresh>
<dxo_nightview_dark_thresh>50</dxo_nightview_dark_thresh>
<dxo_nightview_dark_ratio_thresh>0.36</dxo_nightview_dark_ratio_thresh>
<dxo_lux_index_thresh>310</dxo_lux_index_thresh>
<dxo_middle_low>80</dxo_middle_low>
<dxo_middle_high>200</dxo_middle_high>
<dxo_middle_ratio_thresh>0.4</dxo_middle_ratio_thresh>
<dxo_lux_index_thresh_face>550.0</dxo_lux_index_thresh_face>
<dxo_nightview_light_face>10.0</dxo_nightview_light_face>
<dxo_nightview_dark_ratio_thresh_face>0.18</dxo_nightview_dark_ratio_thresh_face>
<dxo_nightview_middle_ratio_thresh_face>0.5</dxo_nightview_middle_ratio_thresh_face>
<dxo_nightview_bright_ratio_thresh_face>0.008</dxo_nightview_bright_ratio_thresh_face>
<dxo_nightview_extreme_dark_lux>440.0</dxo_nightview_extreme_dark_lux>
<dxo_nightview_lux_index_margin>20</dxo_nightview_lux_index_margin>
<dxo_nightview_light_margin>2</dxo_nightview_light_margin>
<dxo_nightview_dark_margin>0.04</dxo_nightview_dark_margin>
<dxo_nightview_middle_margin>0.05</dxo_nightview_middle_margin>
<dxo_nightview_bright_margin>0</dxo_nightview_bright_margin>
<dxo_nightview_similar_threshold>0.85</dxo_nightview_similar_threshold>
</dxo_nightview>
<hdr_face>
<hdr_bright_thresh>240</hdr_bright_thresh>
<hdr_bright_ratio>0.008</hdr_bright_ratio>
<face_brightness_thresh>200</face_brightness_thresh>
<hdr_light_thresh>10</hdr_light_thresh>
</hdr_face>
<tripod_pattern>
<tripod_enter_threshold>0.016</tripod_enter_threshold>
<tripod_quit_threshold>0.6</tripod_quit_threshold>
<tripod_wait_frames>27</tripod_wait_frames>
<tripod_enter_frames>14</tripod_enter_frames>
</tripod_pattern>
</sceneDetection>

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
>Icccca5$16(2-aycpoIcccca%2& /$-*7+ 21, /(9$'aycsmztI<I

View File

@ -0,0 +1 @@
>Icccca34!/(&-%2ayc>Icccccccca5$16(2-aycqoIcccccccca' 7$aycaqsqslpqlptaoIcccccccca'$5(&$aycauaoIcccccccca'$6&1(37(2-ayca-(7( /c& /(!1 7(2-c%21c'$5(&$cumaIcccc<oIcccca,$7 2-5$17$121, 7ayca6$-621aoIcccca& ,$1 ayc>Iccccccccasayc>Icccccccccccca34!/(&$6&1(37(2-ayca! &.c:('$c& ,$1 aoIcccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccca,2'$/ayca63/(-$aoIcccccccccccccccca%21: 1'2(-76aycsoclsmssspu{szvpvzoclsmssszuzpqz{wwoclsmsszs{stwq{toclsmsppuq{wzuxoclsmsppuxvtqstoIcccccccccccccccca%21: 1'7$3(9$aycsmpzpwpvuxoIcccccccccccccccca%(6+$8$ &721aycsoIcccccccccccccccca1$ 33/8ayc714$Icccccccccccc<oIcccccccccccca6$-621 2'$ayc>Iccccccccccccccccapayc>Icccccccccccccccccccca34!/(&$6&1(37(2-aycaps{ cps{s3cvs%36aoIcccccccccccccccccccca%2& /$-*7+ 21, /(9$'aycsmzqpwqpoIcccccccccccccccccccca12//(-*+477$1(,$aycqsm{wvzoIcccccccccccccccccccca*812(,$67 ,3%%6$7aycwm{vtzoIcccccccccccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccccccccccca,2'$/ayca63/(-$aoIcccccccccccccccccccccccca%21: 1'2(-76aycsoclpmvszqpx{v$lstoclsmsss{uuwpzspuoclsmssqxqsuvuwwoclsmsstwstv{pzxoclsmssqssvuzqszoIcccccccccccccccccccccccca%21: 1'7$3(9$aycsmpzvquxpv{oIcccccccccccccccccccccccca%(6+$8$ &721aycsoIcccccccccccccccccccccccca1$ 33/8ayc714$Icccccccccccccccccccc<Icccccccccccccccc<oIccccccccccccccccaqayc>Icccccccccccccccccccca34!/(&$6&1(37(2-aycaps{s3cvs%36aoIcccccccccccccccccccca%2& /$-*7+ 21, /(9$'aycsmxz{u{soIcccccccccccccccccccca12//(-*+477$1(,$aycqvmz{z{oIcccccccccccccccccccca*812(,$67 ,3%%6$7ayctmuxvpIcccccccccccccccc<Icccccccccccc<Icccccccc<oIccccccccapayc>Icccccccccccca34!/(&$6&1(37(2-ayca, (-c%12-7c& ,$1 aoIcccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccca,2'$/ayca63/(-$aoIcccccccccccccccca%21: 1'2(-76aycsocsmsspvwvuvptvocsmsssvqxqptvzpoclsmssq{w{{{uutoclsmssvwppqxsqwoclsmssqqpxszsqpoIcccccccccccccccca%21: 1'7$3(9$aycsmpuq{szwxwoIcccccccccccccccca%(6+$8$ &721aycsoIcccccccccccccccca1$ 33/8ayc714$Icccccccccccc<oIcccccccccccca,$6+(9$aycqpocvvoIcccccccccccca6$-621 2'$ayc>Iccccccccccccccccapayc>Icccccccccccccccccccca34!/(&$6&1(37(2-aycaps{s3cvs%36aoIcccccccccccccccccccca%2& /$-*7+ 21, /(9$'aycsmzuzzz{oIcccccccccccccccccccca12//(-*+477$1(,$aycvqmvwvpoIcccccccccccccccccccca*812(,$67 ,3%%6$7ayctmswvwIcccccccccccccccc<oIccccccccccccccccavayc>Icccccccccccccccccccca34!/(&$6&1(37(2-aycaps{s3cus%36aoIcccccccccccccccccccca%2& /$-*7+ 21, /(9$'aycsmzvsqqpoIcccccccccccccccccccca12//(-*+477$1(,$aycpumsxzxoIcccccccccccccccccccca*812(,$67 ,3%%6$7ayctmsxwxoIcccccccccccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccccccccccca,2'$/ayca63/(-$aoIcccccccccccccccccccccccca%21: 1'2(-76aycsocsmsspvvvuwts{oclsmsssvpwz{z{wtoclsmssswqztpssutocsmsstpuu{vzxtocsmssz{sstwxqzoIcccccccccccccccccccccccca%21: 1'7$3(9$aycsmpzpp{pstvoIcccccccccccccccccccccccca%(6+$8$ &721aycsoIcccccccccccccccccccccccca1$ 33/8ayc714$Icccccccccccccccccccc<Icccccccccccccccc<Icccccccccccc<Icccccccc<oIccccccccawayc>Icccccccccccca34!/(&$6&1(37(2-aycac 472922,c& ,$1 aoIcccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccca,2'$/ayca63/(-$aoIcccccccccccccccca%21: 1'2(-76aycsoclsmssqvquwuq{{ocsmssvqzquuupvocsmss{xz{spw{pocsmsvvzsvwzxxocsmps{wxtsuwoIcccccccccccccccca%21: 1'7$3(9$aycsmq{sqxxqwuoIcccccccccccccccca%(6+$8$ &721aycsoIcccccccccccccccca1$ 33/8ayc714$Icccccccccccc<oIcccccccccccca,$6+(9$aycvpocwtoIcccccccccccca6$-621 2'$ayc>Iccccccccccccccccasayc>Icccccccccccccccccccca34!/(&$6&1(37(2-aycaps{s3cvs%36aoIcccccccccccccccccccca%2& /$-*7+ 21, /(9$'aycsmwwtxtqoIcccccccccccccccccccca12//(-*+477$1(,$aycvqmuzvtoIcccccccccccccccccccca*812(,$67 ,3%%6$7ayctmpu{wIcccccccccccccccc<Icccccccccccc<Icccccccc<Icccc<I<I

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,15 @@
<ellipticSensorSetup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="elliptic_sensor.xsd">
<sensors>
<sensor name="Elliptic Proximity" reader="hexagon" sensor_type="8" type="4" subtype="401" audio_notify="ultrasound-proximity" debug="true">
<ranges>
<near value="0.0" limit="3.0"></near>
<far value="5.0" limit="4.0"></far>
</ranges>
</sensor>
</sensors>
<readers>
<reader name="hexagon"></reader>
</readers>
</ellipticSensorSetup>

View File

@ -0,0 +1,29 @@
on property:sys.boot_completed=1
chmod 0664 /sys/class/usbpd/usbpd0/usbpd_verifed
chmod 0664 /sys/class/usbpd/usbpd0/request_vdm_cmd
chmod 0664 /sys/class/usbpd/usbpd0/verify_process
chmod 0664 /sys/class/power_supply/usb/pd_authentication
chmod 0664 /sys/class/power_supply/bms/authentic
chmod 0664 /sys/class/power_supply/bms_master/authentic
chmod 0664 /sys/class/power_supply/bms_slave/authentic
service batterysecret /vendor/bin/batterysecret
class last_start
user root
group system system wakelock
disabled
seclabel u:r:batterysecret:s0
on property:sys.boot_completed=1
start batterysecret
#run batterysecret in off-charge mode
on charger
start batterysecret
chmod 0664 /sys/class/usbpd/usbpd0/usbpd_verifed
chmod 0664 /sys/class/usbpd/usbpd0/request_vdm_cmd
chmod 0664 /sys/class/usbpd/usbpd0/verify_process
chmod 0664 /sys/class/power_supply/usb/pd_authentication
chmod 0664 /sys/class/power_supply/bms/authentic
chmod 0664 /sys/class/power_supply/bms_master/authentic
chmod 0664 /sys/class/power_supply/bms_slave/authentic

View File

@ -0,0 +1,12 @@
on charger
wait /sys/class/power_supply/battery/temp
start mi_thermald
on boot
wait /sys/class/power_supply/battery/temp
start mi_thermald
service mi_thermald /system/vendor/bin/mi_thermald
class main
user root
group system
seclabel u:r:mi_thermald:s0

View File

@ -0,0 +1,52 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
#
# 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 The Linux Foundation 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, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT 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.
#
on early-boot
write /sys/kernel/boot_slpi/boot 1
chown system system /mnt/vendor/persist/sensors
chown system system /mnt/vendor/persist/sensors/sns.reg
chown system system /mnt/vendor/persist/sensors/sensors_list.txt
chown system system /mnt/vendor/persist/sensors/registry
chown system system /mnt/vendor/persist/sensors/registry/registry
chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry
chown system system /mnt/vendor/persist/sensors/sensors_settings
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_config
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_version
chown system system /mnt/vendor/persist/sensors/registry/config
chmod 0664 /mnt/vendor/persist/sensors/sensors_settings
chown system system /sys/kernel/boot_adsp/ssr
on post-fs-data && property:ro.build.type=userdebug
#sensors log dir
mkdir /data/vendor/sensors 0777 system system
mkdir /data/vendor/sensors/scripts 0777 system system

View File

@ -0,0 +1,40 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
#
# 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 The Linux Foundation 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, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT 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.
#
service vendor.sensors.qti /vendor/bin/sensors.qti
class core
user system
group system
service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh
class late_start
user root
oneshot

View File

@ -0,0 +1,60 @@
{
"config":{
"hw_platform": ["MTP", "SWEET", "Surf", "POLARIS", "PERSEUS", "AQUILA"],
"soc_id": ["291", "246", "305", "321", "365"]
},
"adux1050_0":{
"owner": "sns_adux1050",
".proximity":{
"owner": "sns_adux1050",
".config":{
"owner": "sns_adux1050",
"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"
}
}
},
".custom":{
"owner": "sns_adux1050",
".config":{
"owner": "sns_adux1050",
"version":{ "type": "flt", "ver": "0",
"data": "0x0000"
},
"reg_06":{ "type": "flt", "ver": "1",
"data": "0x0000"
},
"reg_09":{ "type": "flt", "ver": "1",
"data": "0x0000"
},
"reg_0A":{ "type": "flt", "ver": "1",
"data": "0x0000"
},
"reg_79":{ "type": "flt", "ver": "1",
"data": "0x0000"
},
"reg_0B":{ "type": "flt", "ver": "1",
"data": "0x0000"
},
"reg_0E":{ "type": "flt", "ver": "1",
"data": "0x0000"
},
"reg_0F":{ "type": "flt", "ver": "1",
"data": "0x0000"
},
"reg_7A":{ "type": "flt", "ver": "1",
"data": "0x0000"
}
}
}
}
}

View File

@ -0,0 +1,39 @@
{
"config":{
"hw_platform": ["QRD", "MTP", "SWEET", "Surf", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341"]
},
"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": "1"
},
"nsf":{ "type": "int", "ver": "0",
"data": "0"
},
"sdr":{ "type": "int", "ver": "0",
"data": "0"
}
}
}
}
}

View File

@ -0,0 +1,28 @@
{
"config":
{
"hw_platform": ["MTP", "Dragon", "Surf","SWEET"],
"soc_id": ["291", "246", "365"]
},
"bu27030_0":{
"owner": "sns_bu27030",
".ambient_light":{
"owner": "sns_bu27030",
".config":{
"owner": "sns_bu27030",
"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"
}
}
}
}
}

View File

@ -0,0 +1,100 @@
{
"config":
{
"hw_platform": ["QRD", "MTP", "SWEET", "Surf", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}
}
}

View File

@ -0,0 +1,82 @@
{
"config":
{
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "PERSEUS", "SWEET"],
"soc_id": ["336", "339", "341", "321", "365"]
},
"lsm6dso_0":{
"owner": "lsm6dso",
".accel":{
"owner": "lsm6dso",
".config":{
"owner": "lsm6dso",
"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": "lsm6dso",
".config":{
"owner": "lsm6dso",
"is_dri":{ "type": "int", "ver": "0",
"data": "1"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "1",
"data": "3"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".md":{
"owner": "lsm6dso",
".config":{
"owner": "lsm6dso",
"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": "lsm6dso",
".config":{
"owner": "lsm6dso",
"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"
}
}
}
}
}

View File

@ -0,0 +1,99 @@
{
"config":{
"hw_platform": ["MTP", "SWEET", "Surf", "AQUILA"],
"soc_id": ["291", "246", "305", "321", "365"]
},
"adux1050_0_platform":{
"owner": "sns_adux1050",
".config":{
"owner": "sns_adux1050",
"bus_type":{ "type": "int", "ver": "0",
"data": "0"
},
"bus_instance":{ "type": "int", "ver": "2",
"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": "120"
},
"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"
}
},
".placement":{
"owner": "sns_adux1050",
"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"
}
}
}
}

View File

@ -0,0 +1,241 @@
{
"config":
{
"hw_platform": ["MTP", "SWEET", "QRD", "HDK", "AQUILA"],
"soc_id": ["321", "341", "365"]
},
"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": "119"
},
"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"
}
},
".orient":{
"owner": "sns_ak0991x",
"x":{ "type": "str", "ver": "4",
"data": "+x"
},
"y":{ "type": "str", "ver": "4",
"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": "1.0262"
},
"0_1":{ "type": "flt", "ver": "0",
"data": "0.0451"
},
"0_2":{ "type": "flt", "ver": "0",
"data": "0.0089"
},
"1_0":{ "type": "flt", "ver": "0",
"data": "0.0451"
},
"1_1":{ "type": "flt", "ver": "0",
"data": "1.0414"
},
"1_2":{ "type": "flt", "ver": "0",
"data": " -0.0118"
},
"2_0":{ "type": "flt", "ver": "0",
"data": "0.0089"
},
"2_1":{ "type": "flt", "ver": "0",
"data": "-0.0118"
},
"2_2":{ "type": "flt", "ver": "0",
"data": "0.9324"
}
},
".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"
}
},
".pdc_parameter":{
"owner": "sns_ak0991x",
"0":{ "type": "flt", "ver": "0",
"data": "55"
},
"1":{ "type": "flt", "ver": "0",
"data": "85"
},
"2":{ "type": "flt", "ver": "0",
"data": "241"
},
"3":{ "type": "flt", "ver": "0",
"data": "207"
},
"4":{ "type": "flt", "ver": "0",
"data": "234"
},
"5":{ "type": "flt", "ver": "0",
"data": "222"
},
"6":{ "type": "flt", "ver": "0",
"data": "254"
},
"7":{ "type": "flt", "ver": "0",
"data": "209"
},
"8":{ "type": "flt", "ver": "0",
"data": "215"
},
"9":{ "type": "flt", "ver": "0",
"data": "55"
},
"10":{ "type": "flt", "ver": "0",
"data": "67"
},
"11":{ "type": "flt", "ver": "0",
"data": "228"
},
"12":{ "type": "flt", "ver": "0",
"data": "74"
},
"13":{ "type": "flt", "ver": "0",
"data": "52"
},
"14":{ "type": "flt", "ver": "0",
"data": "253"
},
"15":{ "type": "flt", "ver": "0",
"data": "78"
},
"16":{ "type": "flt", "ver": "0",
"data": "1"
},
"17":{ "type": "flt", "ver": "0",
"data": "247"
},
"18":{ "type": "flt", "ver": "0",
"data": "110"
},
"19":{ "type": "flt", "ver": "0",
"data": "247"
},
"20":{ "type": "flt", "ver": "0",
"data": "197"
},
"21":{ "type": "flt", "ver": "0",
"data": "255"
},
"22":{ "type": "flt", "ver": "0",
"data": "152"
},
"23":{ "type": "flt", "ver": "0",
"data": "160"
},
"24":{ "type": "flt", "ver": "0",
"data": "11"
},
"25":{ "type": "flt", "ver": "0",
"data": "114"
},
"26":{ "type": "flt", "ver": "0",
"data": "241"
}
}
}
}

View File

@ -0,0 +1,156 @@
{
"config":{
"hw_platform": ["MTP", "Dragon", "Surf","SWEET"],
"soc_id": ["291", "246", "365"]
},
"bu27030_0_platform":{
"owner": "sns_bu27030",
".config":{
"owner": "sns_bu27030",
"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": "120"
},
"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": "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_light":{
"owner": "sns_bu27030",
".fac_cal":{
"owner": "sns_bu27030",
"scale":{ "type": "flt", "ver": "0",
"data": "1.0"
},
"bias":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
},
".lcd_lux":{
"owner": "sns_bu27030",
".diff_adc":{
"owner": "sns_bu27030",
"data0":{ "type": "flt", "ver": "0",
"data": "0.0"
},
"data1":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
},
".highlcd":{
"owner": "sns_tsl2560",
".fac_cal":{
"owner": "sns_tsl2560",
"dbv":{ "type": "flt", "ver": "0",
"data": "4095.0"
},
"lux":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
},
".lowlcd":{
"owner": "sns_tsl2560",
".fac_cal":{
"owner": "sns_tsl2560",
"dbv":{ "type": "flt", "ver": "0",
"data": "200.0"
},
"lux":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
},
".prx2lux":{
"owner": "sns_tsl2560",
".fac_cal":{
"owner": "sns_tsl2560",
"ch0_diff":{ "type": "flt", "ver": "0",
"data": "0.0"
},
"ch1_diff":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
},
".coefficient":{
"owner": "sns_bu27030",
"0":{ "type": "flt", "ver": "0",
"data": "200.0"
},
"1":{ "type": "flt", "ver": "0",
"data": "-0.26"
},
"2":{ "type": "flt", "ver": "0",
"data": "0.8"
},
"3":{ "type": "flt", "ver": "0",
"data": "-0.27"
},
"4":{ "type": "flt", "ver": "0",
"data": "1.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": "600.0"
},
"11":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
}
}

View File

@ -0,0 +1,238 @@
{
"config":{
"hw_platform": ["QRD", "MTP", "SWEET", "Surf", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"icm4x6xx_0_platform":{
"owner": "icm4x6xx",
".config":{
"owner": "icm4x6xx",
"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": "86"
},
"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": "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"
}
},
".orient":{
"owner": "icm4x6xx",
"x":{ "type": "str", "ver": "1",
"data": "+x"
},
"y":{ "type": "str", "ver": "1",
"data": "-y"
},
"z":{ "type": "str", "ver": "1",
"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",
".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": "1",
"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"
}
}
}
}

View File

@ -0,0 +1,238 @@
{
"config":{
"hw_platform": ["HDK", "PERSEUS", "SWEET"],
"soc_id": ["321", "365"]
},
"lsm6dso_0_platform":{
"owner": "lsm6dso",
".config":{
"owner": "lsm6dso",
"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": "86"
},
"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": "1"
},
"vddio_rail":{ "type": "str", "ver": "1",
"data": "/pmic/client/sensor_vddio"
},
"rigid_body_type":{ "type": "int", "ver": "0",
"data": "0"
}
},
".orient":{
"owner": "lsm6dso",
"x":{ "type": "str", "ver": "2",
"data": "+x"
},
"y":{ "type": "str", "ver": "2",
"data": "-y"
},
"z":{ "type": "str", "ver": "1",
"data": "-z"
}
},
".gyro":{
"owner": "lsm6dso",
".fac_cal":{
"owner": "lsm6dso",
".corr_mat":{
"owner": "lsm6dso",
"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": "lsm6dso",
"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": "lsm6dso",
".fac_cal":{
"owner": "lsm6dso",
".corr_mat":{
"owner": "lsm6dso",
"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": "lsm6dso",
"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": "lsm6dso",
".fac_cal":
{
"owner": "lsm6dso",
".scale":{
"owner": "lsm6dso",
"x":{ "type": "flt", "ver": "0",
"data": "1.0"
}
},
".bias":{
"owner": "lsm6dso",
"x":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
}
},
".md":{
"owner": "lsm6dso",
".config":{
"owner": "lsm6dso",
"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": "lsm6dso",
"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"
}
}
}
}

View File

@ -0,0 +1,348 @@
{
"config":{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365"]
},
"power":{
"owner": "power_manager",
".island":{
"owner": "power_manager",
"enable_island":{ "type": "int", "ver": "0",
"data": "1"
}
},
".gpio":{
"owner": "power_manager",
".gpio_0":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "0"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "0"
}
},
".gpio_1":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "1"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "0"
}
},
".gpio_2":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "2"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "0"
},
"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_3":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "3"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "0"
},
"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_4":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "4"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "2"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "3"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "2"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "2"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "3"
}
},
".gpio_5":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "5"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "2"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "3"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "2"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "2"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "3"
}
},
".gpio_6":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "6"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "0"
}
},
".gpio_7":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "7"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "0"
}
},
".gpio_11":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "2",
"data": "11"
},
"active_fs":{ "type": "int", "ver": "2",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "2",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "2",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "2",
"data": "3"
},
"sleep_fs":{ "type": "int", "ver": "2",
"data": "0"
},
"sleep_dir":{ "type": "int", "ver": "2",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "2",
"data": "2"
},
"sleep_drive":{ "type": "int", "ver": "2",
"data": "0"
}
},
".gpio_12":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "12"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "1"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "3"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "2"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "3"
}
},
".gpio_13":{
"owner": "power_manager",
"gpio_num":{ "type": "int", "ver": "0",
"data": "13"
},
"active_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"active_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"active_pull":{ "type": "int", "ver": "0",
"data": "0"
},
"active_drive":{ "type": "int", "ver": "0",
"data": "3"
},
"sleep_fs":{ "type": "int", "ver": "0",
"data": "1"
},
"sleep_dir":{ "type": "int", "ver": "0",
"data": "0"
},
"sleep_pull":{ "type": "int", "ver": "0",
"data": "2"
},
"sleep_drive":{ "type": "int", "ver": "0",
"data": "3"
}
}
}
}
}

View File

@ -0,0 +1,108 @@
{
"config":{
"hw_platform": ["MTP", "Dragon", "Surf","SWEET"],
"soc_id": ["291", "246", "365"]
},
"tsl2540_platform":{
"owner": "sns_tsl2540",
".config":{
"owner": "sns_tsl2540",
"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": "120"
},
"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": "1",
"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_tsl2540",
".fac_cal":{
"owner": "sns_tsl2540",
"scale":{ "type": "flt", "ver": "0",
"data": "1.0"
},
"bias":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
},
".coefficient":{
"owner": "sns_tsl2540",
"0":{ "type": "flt", "ver": "1",
"data": "3462.1"
},
"1":{ "type": "flt", "ver": "1",
"data": "-0.245"
},
"2":{ "type": "flt", "ver": "1",
"data": "0.853"
},
"3":{ "type": "flt", "ver": "1",
"data": "-0.164"
},
"4":{ "type": "flt", "ver": "0",
"data": "1.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": "1",
"data": "-0.204"
},
"9":{ "type": "flt", "ver": "1",
"data": "2573.1"
},
"10":{ "type": "flt", "ver": "0",
"data": "600.0"
},
"11":{ "type": "flt", "ver": "1",
"data": "1.0"
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"config": {
"hw_platform": [ "MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "340", "347", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,11 @@
{
"config": {
"hw_platform": [ "MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["339", "340","365"]
},
"sns_amd": {
"owner": "sns_amd",
"enabled": {"ver": "2","type": "int", "data": "1"
}
}
}

View File

@ -0,0 +1,28 @@
{
"config": {
"hw_platform": [
"MTP", "SWEET", "Surf", "POLARIS", "URSA", "DIPPER", "PERSEUS", "AQUILA"
],
"soc_id": [
"365", "246", "305", "321", "339"
]
},
"sns_aod": {
"owner": "sns_aod",
".params":{
"owner": "sns_aod",
"param1": {
"ver": "0", "type": "flt", "data": "300"
},
"param2": {
"ver": "2", "type": "flt", "data": "2000"
},
"param3": {
"ver": "2", "type": "flt", "data": "3000"
},
"param4": {
"ver": "0", "type": "flt", "data": "0"
}
}
}
}

View File

@ -0,0 +1,36 @@
{
"config":{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,36 @@
{
"config":{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,159 @@
{
"config": {
"hw_platform": ["MTP","QRD","SWEET","Surf", "AQUILA"],
"soc_id": ["339", "340", "365"]
},
"ccd_amd": {
"owner": "sns_ccd",
"h2": { "ver": "0","type": "int",
"data": "50"}
},
"ccd_walk": {
"owner": "sns_ccd",
"xct": { "ver": "0","type": "int",
"data": "10" },
"mls": { "ver": "0","type": "int",
"data": "6" },
"mps": { "ver": "0","type": "int",
"data": "4" },
"hmps": { "ver": "0","type": "int",
"data": "4" }
},
"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" }
}
}

View File

@ -0,0 +1,18 @@
{
"config":{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "347", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,12 @@
{
"config":{
"hw_platform": ["MTP","QRD","SWEET","Surf", "AQUILA"],
"soc_id": ["339", "365"]
},
"dae":{
"owner": "sns_dae",
"use_sdc":{ "type": "int", "ver": "0",
"data": "1"
}
}
}

View File

@ -0,0 +1,37 @@
{
"config":
{
"hw_platform": ["QRD", "MTP", "DAVINCI", "Surf", "HDK", "SWEET"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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": "3.0"
},
"param6": {
"type": "flt", "ver": "0", "data": "15.0"
},
"param7": {
"type": "int", "ver": "0", "data": "1"
}
}
}
}

View File

@ -0,0 +1,342 @@
{
"config":
{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "347", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,27 @@
{
"config": {
"hw_platform": [ "MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,27 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,24 @@
{
"config":{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,52 @@
{
"config":
{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}
}

View File

@ -0,0 +1,28 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}
}

View File

@ -0,0 +1,24 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "347", "339", "341", "360"]
},
"sns_gyro_cal_config": {
"owner": "sns_gyro_cal",
"calibration_period": {"type": "int","ver": "0",
"data": "60"
},
"num_samples": {"type": "int","ver": "0",
"data": "32"
},
"variance_threshold": {"type": "flt","ver": "0",
"data": "0.00025"
},
"sample_rate": {"type": "flt","ver": "0",
"data": "10.0"
},
"bias_threshold": {"type": "flt","ver": "0",
"data": "0.20"
}
}
}

View File

@ -0,0 +1,12 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "360"]
},
"sns_mag_cal_config": {
"owner": "sns_mag_cal",
"anomaly_threshold": {"type": "flt","ver": "0",
"data": "200.0"
}
}
}

View File

@ -0,0 +1,24 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,34 @@
{
"config": {
"hw_platform": [
"MTP", "SWEET", "Surf", "POLARIS", "URSA", "DIPPER", "BERYLLIUM", "PERSEUS", "AQUILA"
],
"soc_id": [
"365", "246", "305", "321", "339"
]
},
"sns_nonui": {
"owner": "sns_nonui",
".params":{
"owner": "sns_nonui",
"param1": {
"ver": "0", "type": "flt", "data": "-350"
},
"param2": {
"ver": "0", "type": "flt", "data": "-940"
},
"param3": {
"ver": "0", "type": "flt", "data": "-1020"
},
"param4": {
"ver": "0", "type": "flt", "data": "200"
},
"param5": {
"ver": "2", "type": "flt", "data": "0"
},
"param6": {
"ver": "0", "type": "flt", "data": "0"
}
}
}
}

View File

@ -0,0 +1,33 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,24 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,22 @@
{
"config":
{
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}
}

View File

@ -0,0 +1,57 @@
{
"config": {
"hw_platform": ["HDK", "PERSEUS", "SWEET"],
"soc_id": ["321", "365"]
},
"sar_algo": {
"owner": "sar_algo",
".params":{
"owner": "sar_algo",
"threshold1": {
"ver": "0", "type": "flt", "data": "50"
},
"threshold2": {
"ver": "1", "type": "flt", "data": "400"
},
"threshold3": {
"ver": "1", "type": "flt", "data": "1600"
},
"threshold4": {
"ver": "0", "type": "flt", "data": "1650"
},
"threshold5": {
"ver": "0", "type": "flt", "data": "1650"
},
"use_acc_gyro": {
"ver": "0", "type": "flt", "data": "0"
},
"use_qmi": {
"ver": "0", "type": "flt", "data": "0"
}
},
".params_reg2":{
"owner": "sar_algo",
"threshold1": {
"ver": "0", "type": "flt", "data": "3000"
},
"threshold2": {
"ver": "0", "type": "flt", "data": "600"
},
"threshold3": {
"ver": "0", "type": "flt", "data": "1500"
},
"threshold4": {
"ver": "0", "type": "flt", "data": "500"
}
},
".params_step":{
"owner": "sar_algo",
"usestep": {
"ver": "0", "type": "flt", "data": "1"
},
"stepcount": {
"ver": "0", "type": "flt", "data": "100"
}
}
}
}

View File

@ -0,0 +1,57 @@
{
"config": {
"hw_platform": ["HDK", "PERSEUS", "SWEET"],
"soc_id": ["321", "365"]
},
"sar_algo_1": {
"owner": "sar_algo_1",
".params":{
"owner": "sar_algo_1",
"threshold1": {
"ver": "0", "type": "flt", "data": "50"
},
"threshold2": {
"ver": "1", "type": "flt", "data": "400"
},
"threshold3": {
"ver": "1", "type": "flt", "data": "1600"
},
"threshold4": {
"ver": "0", "type": "flt", "data": "1650"
},
"threshold5": {
"ver": "0", "type": "flt", "data": "1650"
},
"use_acc_gyro": {
"ver": "0", "type": "flt", "data": "0"
},
"use_qmi": {
"ver": "0", "type": "flt", "data": "0"
}
},
".params_reg2":{
"owner": "sar_algo_1",
"threshold1": {
"ver": "0", "type": "flt", "data": "3000"
},
"threshold2": {
"ver": "0", "type": "flt", "data": "600"
},
"threshold3": {
"ver": "0", "type": "flt", "data": "1500"
},
"threshold4": {
"ver": "0", "type": "flt", "data": "500"
}
},
".params_step":{
"owner": "sar_algo_1",
"usestep": {
"ver": "0", "type": "flt", "data": "1"
},
"stepcount": {
"ver": "0", "type": "flt", "data": "100"
}
}
}
}

View File

@ -0,0 +1,39 @@
{
"config": {
"hw_platform": ["MTP", "SWEET", "Surf", "QRD", "HDK", "AQUILA"],
"soc_id": ["365", "246", "300", "301", "305", "321", "336", "339", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,17 @@
{
"config": {
"hw_platform": [ "MTP", "SWEET", "Surf", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "339", "340", "341", "360"]
},
"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"
}
}
}

View File

@ -0,0 +1,11 @@
{
"config": {
"hw_platform": [ "MTP", "SWEET", "Surf", "HDK", "AQUILA"],
"soc_id": ["365", "246", "305", "321", "336", "341", "360"]
},
"sns_tilt": {
"owner": "sns_tilt",
"enabled": {"ver": "0","type": "int", "data": "1"
}
}
}

View File

@ -0,0 +1,47 @@
{
"config": {
"hw_platform": [ "MTP", "SWEET", "Surf", "AQUILA"
],
"soc_id": ["365", "246", "305", "321", "336", "339", "360"
]
},
"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"
}
}
}

View File

@ -0,0 +1,28 @@
{
"config":
{
"hw_platform": ["MTP", "Dragon", "Surf","SWEET"],
"soc_id": ["291", "246", "365"]
},
"tsl2540":{
"owner": "sns_tsl2540",
".als":{
"owner": "sns_tsl2540",
".config":{
"owner": "sns_tsl2540",
"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"
}
}
}
}
}

View File

@ -0,0 +1,3 @@
sensors.ssc.so
sensors.mius.proximity.so
sensors.touch.so

View File

@ -0,0 +1,6 @@
Acc lsm6dso_0_platform.accel.fac_cal.bias /vendor/etc/sensors/config/sm7150_lsm6dso_0.json 0 lsm6dso
Gyr lsm6dso_0_platform.gyro.fac_cal.bias /vendor/etc/sensors/config/sm7150_lsm6dso_0.json 0 lsm6dso
Lux bu27030_0_platform.ambient_light.fac_cal /vendor/etc/sensors/config/sm7150_bu27030_0.json 0 rohm_bu27030
Lux_B tsl2540_platform.als.fac_cal /vendor/etc/sensors/config/sm7150_tsl2540.json 0 tsl2540
Acc icm4x6xx_0_platform.accel.fac_cal.bias /vendor/etc/sensors/config/sm7150_icm4x6xx_0.json 0 icm4x6xx
Gyr icm4x6xx_0_platform.gyro.fac_cal.bias /vendor/etc/sensors/config/sm7150_icm4x6xx_0.json 0 icm4x6xx

View File

@ -0,0 +1,10 @@
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
property=persist.vendor.sensors.enable.property=/mnt/vendor/persist/sensors/registry/file1
property=persist.vendor.sensors.enable.property1=/mnt/vendor/persist/sensors/registry/file2

Binary file not shown.

View File

@ -0,0 +1,17 @@
[VIRTUAL-SENSOR]
algo_type virtual
sensors battery quiet_therm charger_therm0 wifi_therm cpu_therm pa_therm0
weight 28 987 124 -346 79 74
polling 1000
weight_sum 1000
compensation 1771
[CHG-MONITOR-BAT]
algo_type monitor
sensor VIRTUAL-SENSOR
device battery
polling 2000
trig 37000 38000 39500 41000 43000 44000 48000 60000
clr 35000 37000 38000 39500 41000 43000 44000 48000
target 302 503 904 1109 1309 1412 1414 1515

Some files were not shown because too many files have changed in this diff Show More