Return vangogh blobs

This commit is contained in:
mikairyuu 2022-01-27 17:03:54 +03:00
parent 669b633863
commit 99bb14cf36
754 changed files with 12502 additions and 0 deletions

7
vangogh/Android.bp Normal file
View File

@ -0,0 +1,7 @@
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/xiaomi/vangogh/setup-makefiles.sh
soong_namespace {
}

9
vangogh/Android.mk Normal file
View File

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

View File

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

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,33 @@
#!/vendor/bin/sh
# Copyright (c) 2020 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.
#
#
# Function to start sensors for SSC enabled platforms
#
cp /vendor/etc/sensors/scripts/* /data/vendor/sensors/scripts/
chmod a+rw /data/vendor/sensors/scripts/*

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

Binary file not shown.

BIN
vangogh/proprietary/vendor/bin/sscrpcd 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,26 @@
# name type value
deghostScale=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=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=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=1.0, 1.0, 0.0;
filterMul=0.16;
#filterLowMul; f; 1.0
refFilterYMul=1.0;
filterUVMul=1.0;
refFilterUVMul=1.0;
refFilterLowUVMul=1.0;
sharpen=1.0;
refFilterSharpen=0.0;
srMinImages=1.0;
movFiltAdd=2;
deepFilterYMul=3.6, 1.8, 1.2, 1.0;
deepFilterUVMul=1.0, 1.0, 1.0, 1.0;
deepSharpen=1.0, 1.0, 0.0, 0.0;
deepFilterLeak=2;
deepFilterCorner=1.333;
superRes=1;
droLocal=0;
deepFilter=1;
bil11uv=0;
maxSharpImages=10;
newAlignment=1;

View File

@ -0,0 +1,36 @@
#时间2020-01-10
# name type value
deghostScale=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=1.5, 1.5, 1.6, 1.6, 1.6, 1.8, 1.9, 4.5, 4.5, 4.5, 4.6, 4.6;
sharpenIsoScale=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=1.0, 1.0, 0.0;
filterMul=0.2;
#filterLowMul; f; 1.0
refFilterYMul=1.0;
filterUVMul=1.0;
refFilterUVMul=1.0;
refFilterLowUVMul=1.0;
sharpen=1.0;
refFilterSharpen=0.0;
srMinImages=1.0;
movFiltAdd=0;
deepFilterYMul=3.6, 1.8, 1.7, 1.4;
deepFilterUVMul=4.0, 3.2, 3.0, 2.5;
deepSharpen=1.0, 1.0, 0.0, 0.0;
deepFilterLeak=0;
deepFilterCorner=1.333;
superRes=1;
droLocal=0;
deepFilter=1;
bil11uv=0;
maxSharpImages=10;
preciseAlignment=1;
sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0;
grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ;
grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ;
grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ;
srMul=0.7;
grainStrength=0.2;
deghostPreMul=0.01;
deghostMul=0.7;
deghostPow=0.45;

View File

@ -0,0 +1,21 @@
/*CN
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
//male(photo/front-bokeh/rear-bokeh)
{ 40, 90, 90, 5, 1, 60, 0, 0, 0, 0, 30, 50, 0, 0, 15, 100, 100, 70, 60, 100, 60, 90, 80, 90, 0, -100, 0},
{ 40, 0, 0, 5, 1, 60, 0, 0, 0, 0, 30, 50, 0, 0, 15, 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},
//female(photo/front-bokeh/rear-bokeh)
{ 70, 90, 90, 10, 1, 60, 40, 0, 20, 0, 30, 50, 0, 0, 20, 100, 100, 70, 60, 100, 60, 90, 80, 90, 0, -100, 0},
{ 70, 0, 0, 10, 1, 60, 40, 0, 20, 0, 30, 50, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0},
{ 70, 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},
//body
{ 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)
{ 70, 90, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 70, 60, 100, 60, 90, 80, 70, 0, -100, 0},

View File

@ -0,0 +1,20 @@
{
"Bokeh_Params": {
"Param0": 5,
"Param1": 3,
"Param2": 5,
"Param3": 3,
"Param4": 5,
"Param5": 2,
"Param6": 2,
"Param7": 2,
"Param8": 0,
"Param9": 1,
"Param10": {
"Param10_0": 0,
"Param10_1": "../data/vendor/camera/",
"Param10_2": 100
}
}
}

View File

@ -0,0 +1,42 @@
pdafHWEnable=FALSE
multiCameraEnable=TRUE
logInfoMask=0x10098
overrideLogLevels=0x1F
enableSensorHWSync=1
multiCameraFrameSync=1
enableSensorFpsMatch=TRUE
iseispreviewSupported=TRUE
#isFrontVideoBokehSupported=TRUE
#isColorRetentionSupported=TRUE
enableRawHDR=0
isVideoFilterSupported=TRUE
isVideoMimovieSupported=TRUE
isVideoLogformatSupported=TRUE
overrideFlashTorchCurrent=750
overrideFlashlightCurrent=75
overrideFrontVideoFlashCurrent=75
overrideFrontSnapFlashCurrent=75
isVideoBeautifierSupported=TRUE
isBeautyMakeupSupported=TRUE
is3rdLightWeightSupported=TRUE
ismfnrbokehsupported=TRUE
disableFocusIndication=1
gyroSensitivityLLS=0.04
gyroSensitivityLLSEnable=FALSE
isSuperPortraitSupported=FALSE
raiserecoverysigabrt=FALSE
enableICAInGrid=1
enableNCSService=1
isTeleOisSupported=TRUE
forceHWMFFixedNumOfFrames=5
AiSupportedMoonAutoFocus=TRUE
enableGPURotation=TRUE
overrideLogLevels=0
logInfoMask=0x0
logConfigMask=0x0
logWarningMask=0x0
EnableRequestMapping=0
logRequestMapping=0
logVerboseMask=0

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
EISWidthMargin=0.2
EISHeightMargin=0.4
SUPEREISHeightMargin=0.513513
SUPEREISWidthMargin=0.351351
EISLDCGridEnabled=1
EISv3GyroDumpEnabled=0
EISv3OperationMode=0
EISv2GyroDumpEnabled=0
EISv2OperationMode=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,22 @@
static ArcHDRDAEParam ArcHDRDAEParams[] = {
///(lux_min, lux_max, c_min, c_max, drc_min, drc_max, llhdr autoev evnum, ev[5] evMaxMinStep)
//CommonAEParam
//wide
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 0, 3, 0, -12, 6, 0, 0, -12, 12, 6},
//front
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -8, -12, 0, 0, -12, 12, 6},
//tele 2x
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6},
//tele 5x
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6},
//ultra
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 0, 3, 0, -12, 6, 0, 0, -12, 12, 6},
//macro
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6},
//bokeh 2x
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6},
//bokeh 5x
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6},
//default camera
{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6},
};

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.

View File

@ -0,0 +1,145 @@
<?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.005</dxo_nightview_bright_ratio_thresh>
<dxo_nightview_dark_thresh>50</dxo_nightview_dark_thresh>
<dxo_nightview_dark_ratio_thresh>0.18</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_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>
</sceneDetection>

Binary file not shown.

View File

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

Binary file not shown.

View File

@ -0,0 +1,3 @@
firmware_Qfactor=8192.0
Amp_Constant=5.857140
Material_Constant=0.004

Binary file not shown.

View File

@ -0,0 +1,14 @@
<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="5.0"></far>
</ranges>
</sensor>
</sensors>
<readers>
<reader name="hexagon"></reader>
</readers>
</ellipticSensorSetup>

View File

@ -0,0 +1,17 @@
#! /bin/sh
#
#Copyright (c) 2019 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64
override
interface android.hardware.camera.provider@2.4::ICameraProvider legacy/0
interface vendor.qti.hardware.camera.postproc@1.0::IPostProcService camerapostprocservice
class hal
user cameraserver
group audio camera input drmrpc oem_2907
ioprio rt 4
capabilities SYS_NICE
writepid /dev/cpuset/camera-daemon/tasks /dev/stune/foreground/tasks

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
#sensors log dir
mkdir /data/vendor/sensors 0777 system system
mkdir /data/vendor/sensors/scripts 0777 system system

View File

@ -0,0 +1,8 @@
# Copyright (c) 2017 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service sensorscal-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service
class hal
user system
group 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,37 @@
# 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 /vendor/bin/sscrpcd sensorspd
class early_hal
user system
group system wakelock
capabilities BLOCK_SUSPEND

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!---
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="vendor.qti.hardware.sensorscalibrate-V1.0"
file="/system/framework/vendor.qti.hardware.sensorscalibrate-V1.0-java.jar"/>
</permissions>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,61 @@
{
"config":
{
"hw_platform": ["MTP", "Dragon", "Surf","VANGOGH"],
"soc_id": ["291", "246", "365", "400"]
},
"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": "2",
"data": "0x1912"
},
"reg_09":{ "type": "flt", "ver": "0",
"data": "0x0000"
},
"reg_0A":{ "type": "flt", "ver": "0",
"data": "0x0000"
},
"reg_79":{ "type": "flt", "ver": "0",
"data": "0x0000"
},
"reg_0B":{ "type": "flt", "ver": "0",
"data": "0x3802"
},
"reg_0E":{ "type": "flt", "ver": "0",
"data": "0x0000"
},
"reg_0F":{ "type": "flt", "ver": "0",
"data": "0x0000"
},
"reg_7A":{ "type": "flt", "ver": "0",
"data": "0x0000"
}
}
}
}
}

View File

@ -0,0 +1,39 @@
{
"config":{
"hw_platform": ["MTP", "Dragon", "Surf", "VANGOGH"],
"soc_id": ["291", "246", "305", "321", "339", "400"]
},
"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"
}
}
}
}
}

View File

@ -0,0 +1,46 @@
{
"config":
{
"hw_platform": ["MTP", "Dragon", "Surf", "VANGOGH"],
"soc_id": ["291", "246", "305", "321", "356"]
},
"bmp285_0":{
"owner": "sns_bmp285",
".temp":{
"owner": "sns_bmp285",
".config":{
"owner": "sns_bmp285",
"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_bmp285",
".config":{
"owner": "sns_bmp285",
"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,28 @@
{
"config":
{
"hw_platform": ["MTP", "Dragon", "Surf","VANGOGH"],
"soc_id": ["291", "246", "365", "400"]
},
"bu27030":{
"owner": "sns_bu27030",
".ambient_light":{
"owner": "sns_bu27030",
".config":{
"owner": "sns_bu27030",
"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"
}
}
}
}
}

View File

@ -0,0 +1,100 @@
{
"config":
{
"hw_platform": ["QRD", "MTP", "VANGOGH", "Surf", "HDK"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "400"]
},
"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", "VANGOGH"],
"soc_id": ["336", "339", "341", "321", "339", "400"]
},
"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": "0",
"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", "Dragon", "Surf","VANGOGH"],
"soc_id": ["291", "246", "365", "400"]
},
"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": "1",
"data": "/pmic/client/sensor_vdd_2"
},
"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,157 @@
{
"config":
{
"hw_platform": ["MTP", "Surf", "VANGOGH"],
"soc_id": ["321", "356", "400"]
},
"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": "2",
"data": "/pmic/client/sensor_vddio"
},
"rigid_body_type":{ "type": "int", "ver": "0",
"data": "0"
}
},
".orient":{
"owner": "sns_ak0991x",
"x":{ "type": "str", "ver": "1",
"data": "+x"
},
"y":{ "type": "str", "ver": "1",
"data": "+y"
},
"z":{ "type": "str", "ver": "1",
"data": "+z"
}
},
".mag":{
"owner": "sns_ak0991x",
".fac_cal":{
"owner": "sns_ak0991x",
".corr_mat":{
"owner": "sns_ak0991x",
"0_0":{ "type": "flt", "ver": "0",
"data": "0.996902"
},
"0_1":{ "type": "flt", "ver": "0",
"data": "-0.013794"
},
"0_2":{ "type": "flt", "ver": "0",
"data": "0.0"
},
"1_0":{ "type": "flt", "ver": "0",
"data": "-0.013794"
},
"1_1":{ "type": "flt", "ver": "0",
"data": "0.997696"
},
"1_2":{ "type": "flt", "ver": "0",
"data": "-0.015106"
},
"2_0":{ "type": "flt", "ver": "0",
"data": "-0.018906"
},
"2_1":{ "type": "flt", "ver": "0",
"data": "-0.015106"
},
"2_2":{ "type": "flt", "ver": "0",
"data": "1.005402"
}
},
".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"
}
}
}
}

View File

@ -0,0 +1,120 @@
{
"config":
{
"hw_platform": ["MTP", "Surf", "VANGOGH"],
"soc_id": ["321", "356", "400"]
},
"bmp285_0_platform":{
"owner": "sns_bmp285",
".config":{
"owner": "sns_bmp285",
"bus_type":{ "type": "int", "ver": "0",
"data": "0"
},
"bus_instance":{ "type": "int", "ver": "0",
"data": "5"
},
"slave_config":{ "type": "int", "ver": "0",
"data": "119"
},
"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_bmp285",
".fac_cal":
{
"owner": "sns_bmp285",
".scale":{
"owner": "sns_bmp285",
"x":{ "type": "flt", "ver": "0",
"data": "1.0"
}
},
".bias":{
"owner": "sns_bmp285",
"x":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
}
},
".pressure":{
"owner": "sns_bmp285",
".fac_cal":
{
"owner": "sns_bmp285",
".scale":{
"owner": "sns_bmp285",
"x":{ "type": "flt", "ver": "0",
"data": "1.0"
}
},
".bias":{
"owner": "sns_bmp285",
"x":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
}
},
".placement":{
"owner": "sns_bmp285",
"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,156 @@
{
"config":{
"hw_platform": ["MTP", "Dragon", "Surf","VANGOGH"],
"soc_id": ["291", "246", "365", "400"]
},
"bu27030_0_platform":{
"owner": "sns_bu27030",
".config":{
"owner": "sns_bu27030",
"bus_type":{ "type": "int", "ver": "0",
"data": "0"
},
"bus_instance":{ "type": "int", "ver": "4",
"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": "111"
},
"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", "VANGOGH", "Surf", "HDK"],
"soc_id": ["365", "246", "305", "321", "336", "339", "341", "400"]
},
"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": "1",
"data": "107"
},
"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": "1",
"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": "3",
"data": "+x"
},
"y":{ "type": "str", "ver": "3",
"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",
".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,247 @@
{
"config":{
"hw_platform": ["MTP", "Dragon", "Surf", "HDK", "VANGOGH"],
"soc_id": ["321", "339", "356", "400"]
},
"lsm6dso_0_platform":{
"owner": "lsm6dso",
".config":{
"owner": "lsm6dso",
"bus_type":{ "type": "int", "ver": "0",
"data": "1"
},
"bus_instance":{ "type": "int", "ver": "1",
"data": "3"
},
"slave_config":{ "type": "int", "ver": "0",
"data": "0"
},
"i3c_address":{ "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": "107"
},
"irq_pull_type":{ "type": "int", "ver": "1",
"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": "1",
"data": "3"
},
"num_rail":{ "type": "int", "ver": "1",
"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"
},
"min_odr":{ "type": "int", "ver": "0",
"data": "20"
},
"max_odr":{ "type": "int", "ver": "0",
"data": "500"
}
},
".orient":{
"owner": "lsm6dso",
"x":{ "type": "str", "ver": "3",
"data": "-y"
},
"y":{ "type": "str", "ver": "3",
"data": "+x"
},
"z":{ "type": "str", "ver": "2",
"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,147 @@
{
"config":{
"hw_platform": ["MTP", "Dragon", "Surf","VANGOGH"],
"soc_id": ["291", "246", "365", "400"]
},
"tsl2560_platform":{
"owner": "sns_tsl2560",
".config":{
"owner": "sns_tsl2560",
"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": "111"
},
"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_2"
},
"vddio_rail":{ "type": "str", "ver": "0",
"data": "/pmic/client/sensor_vddio"
},
"rigid_body_type":{ "type": "int", "ver": "0",
"data": "0"
}
},
".als":{
"owner": "sns_tsl2560",
".fac_cal":{
"owner": "sns_tsl2560",
"scale":{ "type": "flt", "ver": "0",
"data": "1.0"
},
"bias":{ "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_tsl2560",
"0":{ "type": "flt", "ver": "2",
"data": "583774.5"
},
"1":{ "type": "flt", "ver": "3",
"data": "-6.73"
},
"2":{ "type": "flt", "ver": "2",
"data": "0.892"
},
"3":{ "type": "flt", "ver": "3",
"data": "-2.489"
},
"4":{ "type": "flt", "ver": "1",
"data": "1.0"
},
"5":{ "type": "flt", "ver": "3",
"data": "283241.2"
},
"6":{ "type": "flt", "ver": "3",
"data": "-1.69"
},
"7":{ "type": "flt", "ver": "2",
"data": "3.0"
},
"8":{ "type": "flt", "ver": "4",
"data": "-3.0"
},
"9":{ "type": "flt", "ver": "1",
"data": "0.0"
},
"10":{ "type": "flt", "ver": "0",
"data": "600.0"
},
"11":{ "type": "flt", "ver": "0",
"data": "0.0"
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"config": {
"hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "VANGOGH"],
"soc_id": ["291", "246", "305", "321", "336", "339", "340", "347", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"]
},
"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", "Dragon", "Surf", "QRD", "HDK"],
"soc_id": ["339", "340", "356", "361"]
},
"sns_amd": {
"owner": "sns_amd",
"enabled": {"ver": "0","type": "int", "data": "0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"config": {
"hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "VANGOGH"],
"soc_id": ["291", "246", "305", "321", "336", "347", "341", "355", "360", "365", "366", "393", "394", "400"]
},
"sns_amd": {
"owner": "sns_amd",
"enabled": {"ver": "0","type": "int", "data": "1"
}
}
}

View File

@ -0,0 +1,28 @@
{
"config": {
"hw_platform": [
"MTP", "Dragon", "Surf", "VANGOGH"
],
"soc_id": [
"291", "246", "305", "321", "339", "400"
]
},
"sns_aod": {
"owner": "sns_aod",
".params":{
"owner": "sns_aod",
"param1": {
"ver": "0", "type": "flt", "data": "300"
},
"param2": {
"ver": "0", "type": "flt", "data": "6500"
},
"param3": {
"ver": "0", "type": "flt", "data": "8500"
},
"param4": {
"ver": "0", "type": "flt", "data": "0"
}
}
}
}

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