keep only xiaomi msm8953 variant vendor trees

Change-Id: I11df43d357c6db36ceeebfa686c10392ae559048
This commit is contained in:
ZeeLog
2018-11-14 13:57:18 +01:00
parent d52c6fd4f4
commit 2dcd5bb938
165 changed files with 0 additions and 2321 deletions

View File

@@ -1,21 +0,0 @@
# Copyright (C) 2017-2018 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/xiaomi/scorpio/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),scorpio)
endif

View File

@@ -1,16 +0,0 @@
# Copyright (C) 2017-2018 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/xiaomi/scorpio/setup-makefiles.sh

View File

@@ -1,124 +0,0 @@
<!--
Copyright (c) 2015 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>imx268_common</ISPCommon>
<PostProc>imx268_postproc</PostProc>
<CPPPreview>imx268_cpp_preview</CPPPreview>
<CPPSnapshot>imx268_cpp_snapshot</CPPSnapshot>
<CPPLiveshot>imx268_cpp_liveshot</CPPLiveshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>imx268_preview</ISPPreview>
<ISPSnapshot>imx268_snapshot</ISPSnapshot>
<ISPVideo>imx268_default_video</ISPVideo>
<CPPVideo>imx268_cpp_video</CPPVideo>
<A3Preview>imx268_zsl_preview_bu64245</A3Preview>
<A3Video>imx268_zsl_video_bu64245</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>imx268_hfr_60</ISPPreview>
<ISPSnapshot>imx268_hfr_60</ISPSnapshot>
<ISPVideo>imx268_hfr_60</ISPVideo>
<CPPVideo>imx268_cpp_hfr_60</CPPVideo>
<A3Preview>imx268_hfr_60_bu64245</A3Preview>
<A3Video>imx268_hfr_60_bu64245</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>imx268_hfr_90</ISPPreview>
<ISPSnapshot>imx268_hfr_90</ISPSnapshot>
<ISPVideo>imx268_hfr_90</ISPVideo>
<CPPVideo>imx268_cpp_hfr_90</CPPVideo>
<A3Preview>imx268_hfr_90_bu64245</A3Preview>
<A3Video>imx268_hfr_90_bu64245</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>imx268_hfr_120</ISPPreview>
<ISPSnapshot>imx268_hfr_120</ISPSnapshot>
<ISPVideo>imx268_hfr_120</ISPVideo>
<CPPVideo>imx268_cpp_hfr_120</CPPVideo>
<A3Preview>imx268_hfr_120_bu64245</A3Preview>
<A3Video>imx268_hfr_120_bu64245</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -1,124 +0,0 @@
<!--
Copyright (c) 2015 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>imx268_sunny_common</ISPCommon>
<PostProc>imx268_sunny_postproc</PostProc>
<CPPPreview>imx268_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>imx268_sunny_cpp_snapshot</CPPSnapshot>
<CPPLiveshot>imx268_sunny_cpp_liveshot</CPPLiveshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>imx268_sunny_preview</ISPPreview>
<ISPSnapshot>imx268_sunny_snapshot</ISPSnapshot>
<ISPVideo>imx268_sunny_default_video</ISPVideo>
<CPPVideo>imx268_sunny_cpp_video</CPPVideo>
<A3Preview>imx268_sunny_zsl_preview_bu64245</A3Preview>
<A3Video>imx268_sunny_zsl_video_bu64245</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>imx268_sunny_hfr_60</ISPPreview>
<ISPSnapshot>imx268_sunny_hfr_60</ISPSnapshot>
<ISPVideo>imx268_sunny_hfr_60</ISPVideo>
<CPPVideo>imx268_sunny_cpp_hfr_60</CPPVideo>
<A3Preview>imx268_sunny_hfr_60_bu64245</A3Preview>
<A3Video>imx268_sunny_hfr_60_bu64245</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>imx268_sunny_hfr_90</ISPPreview>
<ISPSnapshot>imx268_sunny_hfr_90</ISPSnapshot>
<ISPVideo>imx268_sunny_hfr_90</ISPVideo>
<CPPVideo>imx268_sunny_cpp_hfr_90</CPPVideo>
<A3Preview>imx268_sunny_hfr_90_bu64245</A3Preview>
<A3Video>imx268_sunny_hfr_90_bu64245</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>imx268_sunny_hfr_120</ISPPreview>
<ISPSnapshot>imx268_sunny_hfr_120</ISPSnapshot>
<ISPVideo>imx268_sunny_hfr_120</ISPVideo>
<CPPVideo>imx268_sunny_cpp_hfr_120</CPPVideo>
<A3Preview>imx268_sunny_hfr_120_bu64245</A3Preview>
<A3Video>imx268_sunny_hfr_120_bu64245</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -1,154 +0,0 @@
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName special_mode_mask="0">
<ISPCommon>imx318_common</ISPCommon>
<PostProc>imx318_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>imx318_snapshot</ISPPreview>
<ISPSnapshot>imx318_snapshot</ISPSnapshot>
<ISPVideo>imx318_snapshot</ISPVideo>
<CPPPreview>imx318_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_cpp_video</CPPVideo>
<CPPLiveshot>imx318_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_fullsize_preview_lc898212xd</A3Preview>
<A3Video>imx318_fullsize_video_lc898212xd</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>imx318_video_4k</ISPPreview>
<ISPSnapshot>imx318_video_4k</ISPSnapshot>
<ISPVideo>imx318_video_4k</ISPVideo>
<CPPPreview>imx318_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_cpp_video_4k</CPPVideo>
<CPPLiveshot>imx318_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_4k_preview_lc898212xd</A3Preview>
<A3Video>imx318_4k_video_lc898212xd</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>imx318_default_video</ISPPreview>
<ISPSnapshot>imx318_default_video</ISPSnapshot>
<ISPVideo>imx318_default_video</ISPVideo>
<CPPPreview>imx318_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_cpp_video</CPPVideo>
<CPPLiveshot>imx318_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_1080p_video_lc898212xd</A3Preview>
<A3Video>imx318_1080p_video_lc898212xd</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>imx318_hfr_60</ISPPreview>
<ISPSnapshot>imx318_hfr_60</ISPSnapshot>
<ISPVideo>imx318_hfr_60</ISPVideo>
<CPPPreview>imx318_cpp_hfr_60</CPPPreview>
<CPPSnapshot>imx318_cpp_hfr_60</CPPSnapshot>
<CPPVideo>imx318_cpp_hfr_60</CPPVideo>
<CPPLiveshot>imx318_cpp_hfr_60</CPPLiveshot>
<A3Preview>imx318_hfr_60_lc898212xd</A3Preview>
<A3Video>imx318_hfr_60_lc898212xd</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>imx318_hfr_120</ISPPreview>
<ISPSnapshot>imx318_hfr_120</ISPSnapshot>
<ISPVideo>imx318_hfr_120</ISPVideo>
<CPPPreview>imx318_cpp_hfr_120</CPPPreview>
<CPPSnapshot>imx318_cpp_hfr_120</CPPSnapshot>
<CPPVideo>imx318_cpp_hfr_120</CPPVideo>
<CPPLiveshot>imx318_cpp_hfr_120</CPPLiveshot>
<A3Preview>imx318_hfr_120_lc898212xd</A3Preview>
<A3Video>imx318_hfr_120_lc898212xd</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>imx318_hfr_240</ISPPreview>
<ISPSnapshot>imx318_hfr_240</ISPSnapshot>
<ISPVideo>imx318_hfr_240</ISPVideo>
<CPPPreview>imx318_cpp_hfr_240</CPPPreview>
<CPPSnapshot>imx318_cpp_hfr_240</CPPSnapshot>
<CPPVideo>imx318_cpp_hfr_240</CPPVideo>
<CPPLiveshot>imx318_cpp_hfr_240</CPPLiveshot>
<A3Preview>imx318_hfr_240_lc898212xd</A3Preview>
<A3Video>imx318_hfr_240_lc898212xd</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -1,154 +0,0 @@
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName special_mode_mask="0">
<ISPCommon>imx318_primax_common</ISPCommon>
<PostProc>imx318_primax_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>imx318_primax_snapshot</ISPPreview>
<ISPSnapshot>imx318_primax_snapshot</ISPSnapshot>
<ISPVideo>imx318_primax_snapshot</ISPVideo>
<CPPPreview>imx318_primax_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_primax_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_primax_cpp_video</CPPVideo>
<CPPLiveshot>imx318_primax_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_primax_fullsize_preview_ak7371</A3Preview>
<A3Video>imx318_primax_fullsize_video_ak7371</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>imx318_primax_preview</ISPPreview>
<ISPSnapshot>imx318_primax_preview</ISPSnapshot>
<ISPVideo>imx318_primax_preview</ISPVideo>
<CPPPreview>imx318_primax_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_primax_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_primax_cpp_video</CPPVideo>
<CPPLiveshot>imx318_primax_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_primax_default_preview_ak7371</A3Preview>
<A3Video>imx318_primax_default_video_ak7371</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>imx318_primax_video_4k</ISPPreview>
<ISPSnapshot>imx318_primax_video_4k</ISPSnapshot>
<ISPVideo>imx318_primax_video_4k</ISPVideo>
<CPPPreview>imx318_primax_cpp_video_4k</CPPPreview>
<CPPSnapshot>imx318_primax_cpp_video_4k</CPPSnapshot>
<CPPVideo>imx318_primax_cpp_video_4k</CPPVideo>
<CPPLiveshot>imx318_primax_cpp_video_4k</CPPLiveshot>
<A3Preview>imx318_primax_4k_preview_ak7371</A3Preview>
<A3Video>imx318_primax_4k_video_ak7371</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>imx318_primax_hfr_60</ISPPreview>
<ISPSnapshot>imx318_primax_hfr_60</ISPSnapshot>
<ISPVideo>imx318_primax_hfr_60</ISPVideo>
<CPPPreview>imx318_primax_cpp_hfr_60</CPPPreview>
<CPPSnapshot>imx318_primax_cpp_hfr_60</CPPSnapshot>
<CPPVideo>imx318_primax_cpp_hfr_60</CPPVideo>
<CPPLiveshot>imx318_primax_cpp_hfr_60</CPPLiveshot>
<A3Preview>imx318_primax_hfr_60_ak7371</A3Preview>
<A3Video>imx318_primax_hfr_60_ak7371</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>imx318_primax_hfr_120</ISPPreview>
<ISPSnapshot>imx318_primax_hfr_120</ISPSnapshot>
<ISPVideo>imx318_primax_hfr_120</ISPVideo>
<CPPPreview>imx318_primax_cpp_hfr_120</CPPPreview>
<CPPSnapshot>imx318_primax_cpp_hfr_120</CPPSnapshot>
<CPPVideo>imx318_primax_cpp_hfr_120</CPPVideo>
<CPPLiveshot>imx318_primax_cpp_hfr_120</CPPLiveshot>
<A3Preview>imx318_primax_hfr_120_ak7371</A3Preview>
<A3Video>imx318_primax_hfr_120_ak7371</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>imx318_primax_hfr_240</ISPPreview>
<ISPSnapshot>imx318_primax_hfr_240</ISPSnapshot>
<ISPVideo>imx318_primax_hfr_240</ISPVideo>
<CPPPreview>imx318_primax_cpp_hfr_240</CPPPreview>
<CPPSnapshot>imx318_primax_cpp_hfr_240</CPPSnapshot>
<CPPVideo>imx318_primax_cpp_hfr_240</CPPVideo>
<CPPLiveshot>imx318_primax_cpp_hfr_240</CPPLiveshot>
<A3Preview>imx318_primax_hfr_240_ak7371</A3Preview>
<A3Video>imx318_primax_hfr_240_ak7371</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -1,154 +0,0 @@
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName special_mode_mask="0">
<ISPCommon>imx318_semco_common</ISPCommon>
<PostProc>imx318_semco_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>imx318_semco_snapshot</ISPPreview>
<ISPSnapshot>imx318_semco_snapshot</ISPSnapshot>
<ISPVideo>imx318_semco_snapshot</ISPVideo>
<CPPPreview>imx318_semco_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_semco_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_semco_cpp_video</CPPVideo>
<CPPLiveshot>imx318_semco_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_semco_fullsize_preview_lc898217</A3Preview>
<A3Video>imx318_semco_fullsize_video_lc898217</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>imx318_semco_preview</ISPPreview>
<ISPSnapshot>imx318_semco_preview</ISPSnapshot>
<ISPVideo>imx318_semco_preview</ISPVideo>
<CPPPreview>imx318_semco_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_semco_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_semco_cpp_video</CPPVideo>
<CPPLiveshot>imx318_semco_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_semco_default_preview_lc898217</A3Preview>
<A3Video>imx318_semco_default_video_lc898217</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>imx318_semco_video_4k</ISPPreview>
<ISPSnapshot>imx318_semco_video_4k</ISPSnapshot>
<ISPVideo>imx318_semco_video_4k</ISPVideo>
<CPPPreview>imx318_semco_cpp_preview</CPPPreview>
<CPPSnapshot>imx318_semco_cpp_snapshot</CPPSnapshot>
<CPPVideo>imx318_semco_cpp_video_4k</CPPVideo>
<CPPLiveshot>imx318_semco_cpp_liveshot</CPPLiveshot>
<A3Preview>imx318_semco_4k_preview_lc898217</A3Preview>
<A3Video>imx318_semco_4k_video_lc898217</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>imx318_semco_hfr_60</ISPPreview>
<ISPSnapshot>imx318_semco_hfr_60</ISPSnapshot>
<ISPVideo>imx318_semco_hfr_60</ISPVideo>
<CPPPreview>imx318_semco_cpp_hfr_60</CPPPreview>
<CPPSnapshot>imx318_semco_cpp_hfr_60</CPPSnapshot>
<CPPVideo>imx318_semco_cpp_hfr_60</CPPVideo>
<CPPLiveshot>imx318_semco_cpp_hfr_60</CPPLiveshot>
<A3Preview>imx318_semco_hfr_60_lc898217</A3Preview>
<A3Video>imx318_semco_hfr_60_lc898217</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>imx318_semco_hfr_120</ISPPreview>
<ISPSnapshot>imx318_semco_hfr_120</ISPSnapshot>
<ISPVideo>imx318_semco_hfr_120</ISPVideo>
<CPPPreview>imx318_semco_cpp_hfr_120</CPPPreview>
<CPPSnapshot>imx318_semco_cpp_hfr_120</CPPSnapshot>
<CPPVideo>imx318_semco_cpp_hfr_120</CPPVideo>
<CPPLiveshot>imx318_semco_cpp_hfr_120</CPPLiveshot>
<A3Preview>imx318_semco_hfr_120_lc898217</A3Preview>
<A3Video>imx318_semco_hfr_120_lc898217</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>imx318_semco_hfr_240</ISPPreview>
<ISPSnapshot>imx318_semco_hfr_240</ISPSnapshot>
<ISPVideo>imx318_semco_hfr_240</ISPVideo>
<CPPPreview>imx318_semco_cpp_hfr_240</CPPPreview>
<CPPSnapshot>imx318_semco_cpp_hfr_240</CPPSnapshot>
<CPPVideo>imx318_semco_cpp_hfr_240</CPPVideo>
<CPPLiveshot>imx318_semco_cpp_hfr_240</CPPLiveshot>
<A3Preview>imx318_semco_hfr_240_lc898217</A3Preview>
<A3Video>imx318_semco_hfr_240_lc898217</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -1,210 +0,0 @@
<!--
Copyright (c) 2015-2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CameraModuleConfig :
This node must be added for each module prosent in the device.
It contain all information about the module present.
The number of nodes of CameraModuleConfig indicate number of modules
to be probed on the device.
Maximum number of CameraModuleConfig nodes is 10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*CameraId :
Camera Id is the Slot number in which the mode is plugged.
Valid values are 0, 1, 2 and 3.
*SensorName :
Name of the sensor present on the module.
The sensor library name should be of the form libmmcamera_<SensorName>.so
ActuatorName :
Name of the actuator on this module.
The actuator library name should be of the form libactuator_<ActuatorName>.so.
If there is no actuator remove the <ActuatorName> node.
EepromName :
Name of the eeprom on this module.
Eeprom lib name should be of the form libmmcamera_<EepromName>_eeprom.so
If there is no eeprom remove the <EepromName> node.
FlashName :
Name of the flash on this module.
The flash library name should be of the form libflash_<FlashName>.so.
If there is no flash remove the <FlashName> node.
ChromatixName :
Name of the tuning xml file.
Tuning file contains the list of chromatix library names.
If there is no tuning xml file remove the <ChromatixName> node.
Position :
Position of the sensor module. Valid values are:
BACK, FRONT, BACK_AUX and FRONT_AUX
MountAngle :
Angle at which the sensor is mounted. Valid values are 0, 90, 180, 270 and 360.
To use default mountangle mentioned in kernel use 360.
CsiInfo : This node contains information about the receiver configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*CSIDCore :
CSID core to receive the data. Valid values are 0, 1, 2 and 3.
*LaneMask :
Mask to mention which lane is enabled.
LaneMask[0] for DL0.
LaneMask[1] for CLK.
LaneMask[2] for DL1.
LaneMask[3] for DL2.
LaneMask[4] for DL3
*LaneAssign :
Number which describes the lane mapping between sensor and PHY.
LaneAssign[0:3] is sensor lane number connected to data lane 0 of PHY on MSM
LaneAssign[4:7] is sensor lane number connected to data lane 2 of PHY on MSM
LaneAssign[8:11] is sensor lane number connected to data lane 3 of PHY on MSM
LaneAssign[12:15] is sensor lane number connected to data lane 4 of PHY on MSM
NOTE : Lane 1 is reserved for the clock lane.
Wiring and setting it to a data lane is prohibited.
ComboMode :
Flag to enable combo mode.
This flag is enabled if multiple sensors are using same CSI-PHY receiver
LensInfo : Information of the lens present in the module.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*FocalLength :
FocalLength of the lens in micometers.
Distance between the center of curvature to the focal point.
*FNumber :
FNumber of the lens.
*TotalFocusDistance : The total distance in meters the lens could focus.
*HorizontalViewAngle : HorizontalViewAngle in degrees
*VerticalViewAngle : VerticalViewAngle in degrees
*MinFocusDistance : Minimum distance in meters the lens could focus.
*VARIABLES MARKED WITH ASTRICK (*) ARE MANDATORY.
-->
<CameraConfigurationRoot>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>imx318</SensorName>
<ActuatorName>lc898214xc</ActuatorName>
<EepromName>imx318_primax</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName>imx318_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>360</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.73</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.9</TotalFocusDistance>
<HorizontalViewAngle>64.1</HorizontalViewAngle>
<VerticalViewAngle>51.6</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>imx318_primax</SensorName>
<ActuatorName>ak7371_a4_primax</ActuatorName>
<EepromName>imx318_primax</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName>imx318_primax_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>360</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.06</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.9</TotalFocusDistance>
<HorizontalViewAngle>67.1</HorizontalViewAngle>
<VerticalViewAngle>53.1</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>imx318_semco</SensorName>
<ActuatorName>lc898217xc_a4_semco</ActuatorName>
<EepromName>imx318_semco</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName>imx318_semco_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>360</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.99</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.9</TotalFocusDistance>
<HorizontalViewAngle>64.1</HorizontalViewAngle>
<VerticalViewAngle>51.6</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>2</CameraId>
<SensorName>imx268</SensorName>
<ActuatorName>bu64245</ActuatorName>
<EepromName>imx268_primax</EepromName>
<ChromatixName>imx268_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>FRONT</Position>
<MountAngle>360</MountAngle>
<CSIInfo>
<CSIDCore>2</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.14</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.97</TotalFocusDistance>
<HorizontalViewAngle>68.5</HorizontalViewAngle>
<VerticalViewAngle>42.2</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>2</CameraId>
<SensorName>imx268_sunny</SensorName>
<ActuatorName>bu64245</ActuatorName>
<EepromName>imx268_sunny</EepromName>
<ChromatixName>imx268_sunny_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>FRONT</Position>
<MountAngle>360</MountAngle>
<CSIInfo>
<CSIDCore>2</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.14</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.97</TotalFocusDistance>
<HorizontalViewAngle>68.5</HorizontalViewAngle>
<VerticalViewAngle>42.2</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
</CameraConfigurationRoot>

View File

@@ -1,922 +0,0 @@
#
# File: sensor_def_qcomdev.conf
#
# Tihs file contains default sensor registry values for Qualcomm development
# test platforms.
#
# Copyright (c) 2013-2015 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# File format:
#
# Lines starting with "#" are comments and ignored.
#
# File metadata uses this format:
# :key value1 value2
#
# The following keys are defined:
# - "version" : value1 is non-zero positive version number of the file. This
# number will be stored in the sensors registry. It should be equal to the
# largest version of any item. It will be saved in the sensors registry for
# later use when initializing values. See the item format below.
# This value should only be specified once in the file.
#
# - "hardware" : The value1 will be compared to the "Hardware" string from
# the property of ro.board.platform.
# Items will only be used as default values in the registry if the hardware
# string value is a substring of the ro.board.platform string.
# This metadata key can be used more than once, so that one file can support
# more than one type of hardware.
# The value may be NULL, indicating common item values for all hardware.
#
# - "platform" : Similar to the "hardware" key, but this string will need to
# match the text of either /sys/devices/soc0/hw_platform or
# /sys/devices/soc0/platform_subtype.
#
# - "soc_id" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/soc_id.
#
# - "subtype" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/platform_subtype.
#
# - "soc_rev" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/revision.
#
# - "property" : value1 is the Android system property key, and value2 is
# the desired property value. If the system property value matches the
# desired property value, then the following items will be applied.
# This metadata key can be used more than once, in which case the new
# property value overrides the old.
# value1 and 2 may be NULL, indicating common item values for all properties.
#
# Registry items are in lines with the following format:
# <itemID> <value> <version>
# Where:
# itemID is the numeric item ID defined in sns_reg_api_v02.h
#
# "value" is the numeric value of the item.
#
# "version" is a non-zero version of the item value.
# The version field will be compared against the previous saved
# value in the sensors registry. If this value is greater than the
# saved value, the default will be applied. Otherwise, the default
# will be skipped.
#
# Registry item values will only be applied if the hardware, platform, and
# property values match for the current hardware configuration.
#
# The numeric fields are parsed with the strtoull function, base 0.
#
:version 0x00010023
#######################################################################
### 8996 Chipsets
#######################################################################
:hardware msm8996
:platform
:property
# Orientation of sensors
# accel x/y/z
700 -1 0x00010017 #accel-x-axis
701 2 0x00010017 #accel-y-axis
702 -3 0x00010017 #accel-z-axis
# gyro x/y/z
800 -1 0x00010017 #gyro-x-axis
801 2 0x00010017 #gyro-y-axis
802 -3 0x00010017 #gyro-z-axis
# mag x/y/z
900 32 0x00010017 #max-x-axis
901 31 0x00010017 #mag-y-axis
902 -33 0x00010017 #mag-z-axis
# SSI SMGR Version
1900 0 0x00010005 #Maj Ver
1901 2 0x00010005 #Min Ver
# SAM config
#
203 65536 0x10001 # AMD
225 983040 0x10001 # RMD
504 65536 0x10001 # Gyro Cal
1703 65536 0x10001 # Ped
2800 983040 0x10001 # basic ges
2900 983040 0x10001 # Facing
3400 65536 0x10001 # CMC
609 983040 0x10001 # FMV
1005 983040 0x10001 # Grav
1103 983040 0x10001 # orientation
3000 983040 0x10001 # gyro quat
3100 983040 0x10001 # rot vec
3500 983040 0x10001 # game rv
4112 65536 0x10001 # SMD
4103 5 0x10001 # SMD_ACC_WIN_TIME
# sam parameters for BMI160
200 0x000a0000 0x00010003 #AMD_ACC_SAMP_RATE_HZ_Q16
201 0x00000cdc 0x00010003 #AMD_INT_cfg_prm1
202 0x00008000 0x00010003 #AMD_INT_cfg_prm2
211 0x000010db 0x00010003 #VMD_INT_cfg_prm1
220 0x001e0000 0x00010003 #RMD_ACC_SAMP_RATE_HZ_Q16
221 0x0001b333 0x00010003 #RMD_INT_cfg_prm1
222 0x00003333 0x00010003 #RMD_INT_cfg_prm2
223 0x00050000 0x00010003 #RMD_INT_cfg_prm3
224 0x00003333 0x00010003 #RMD_INT_cfg_prm4
# DEVINFO ACCEL
2000 2 0x00010005 # set to 1 to enable
2001 3 0x00010006 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different accel sensors
# SSI SMGR Cfg 0: LSM6DS3 Accel DRI/FIFO
2002 0x11454a4e90ef223f 0x00010005 #UUID_HIGH
2003 0xc0794ab65a20b094 0x00010005 #UUID_LOW
2004 100000 0x00010005 #OFF_TO_IDLE
2005 250000 0x00010005 #IDLE_TO_READY
2006 117 0x00010005 #GPIO1
2007 1000 0x00010005 #REG_GROUP_ID
2008 0 0x00010005 #CAL_PRI_GROUP_ID
2009 0x1001 0x00010005 #I2C_BUS
2010 0 0x00010005 #CS for SPI
2011 2 0x00010005 #SENSTIVITY
2012 0xD0 0x00010005 #FLAGS
2068 0x2 0x00010005 #vdd
2069 0x2 0x00010005 #vddio
# SSI SMGR Cfg 0: BMI160 Accel DRI/FIFO
2013 0xd646cb83ec0cd5a5 0x00010005 #UUID_HIGH
2014 0x0f4d0fd654c7eab5 0x00010005 #UUID_LOW
2015 10000 0x00010005 #OFF_TO_IDLE
2016 30000 0x00010005 #IDLE_TO_READY
2017 117 0x00010005 #GPIO1
2018 1000 0x00010005 #REG_GROUP_ID
2019 0 0x00010005 #CAL_PRI_GROUP_ID
2020 0x1001 0x00010005 #I2C_BUS
2021 0 0x00010005 #CS for SPI
2022 1 0x00010005 #SENSTIVITY
2023 0xD0 0x00010005 #FLAGS
2070 0x2 0x00010005 #vdd
2071 0x2 0x00010005 #vddio
# SSI SMGR Cfg 1 LSM6DSM-Acc
2024 0xad4eeab0dae7e9f3 0x00010006 #UUID High
2025 0x98ffe89b395a749b 0x00010006 #UUID Low
2026 100000 0x00010006 #off_to_idle
2027 120000 0x00010006 #idle_to_ready
2028 117 0x00010006 #gpio1
2029 1000 0x00010006 #reg_group_id
2030 0 0x00010006 #cal_grp_id
2031 0x1001 0x00010006 #i2c_bus
2032 0 0x00010006 #i2c_address
2033 2 0x00010023 #sens_default
2034 0xD0 0x00010006 #flags
2072 0x2 0x00010006 #vdd
2073 0x2 0x00010006 #vddio
### SSI SMGR Cfg 0: LSM6DS3 Accel DRI/FIFO
##1903 0xc0794ab65a20b094 0x00010003 #UUID low
##1902 0x11454a4e90ef223f 0x00010003 #UUID high
##1904 100000 0x00010003 #off_to_idle
##1905 250000 0x00010003 #idle_to_ready
##1906 0x1001 0x00010003 #SPI_bus
##1907 1000 0x00010003 #reg_group_id
##1908 0 0x00010003 #cal_grp_id
##1909 117 0x00010003 #gpio1
##1910 0xFFFF 0x00010003 #gpio2
##1911 0 0x00010003 #sensor_id
##1912 0 0x00010003 #CS for SPI
##1913 1 0x00010003 #data_type1
##1914 0 0x00010003 #data_type2
##1915 -1 0x00010003 #rel_sns_idx
##1916 2 0x00010003 #sens_default
##1917 0xD0 0x00010003 #flags
##1982 0 0x00010003 #device_select
##1987 0x93 0x00010003 #vdd
##1988 0x2 0x00010003 #vddio
### SSI SMGR Cfg 1 LSM6DS3 gyro DRI/FIFO
##1919 0xc0794ab65a20b094 0x00010003 #UUID
##1918 0x11454a4e90ef223f 0x00010003 #UUID
##1920 100000 0x00010003 #off_to_idle
##1921 250000 0x00010003 #idle_to_ready
##1922 0x1001 0x00010003 #SPI_bus
##1923 1010 0x00010003 #reg_group_id
##1924 10 0x00010003 #cal_grp_id
##1925 117 0x00010003 #gpio1
##1926 0xFFFF 0x00010003 #gpio2
##1927 10 0x00010003 #sensor_id
##1928 0 0x00010003 #CS for SPI
##1929 3 0x00010003 #data_type1
##1930 0 0x00010003 #data_type2
##1931 -1 0x00010003 #rel_sns_idx
##1932 2 0x00010003 #sens_default
##1933 0xD0 0x00010003 #flags
##1983 0 0x00010003 #device_select
##1989 0x93 0x00010003 #vdd
##1990 0x2 0x00010003 #vddio
# DEVINFO GYRO
2100 2 0x00010005 # set to 1 to enable
2101 3 0x00010006 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different gyro sensors
# SSI SMGR Cfg 0: LSM6DS3 gyro DRI/FIFO
2102 0x11454a4e90ef223f 0x00010005 #UUID_HIGH
2103 0xc0794ab65a20b094 0x00010005 #UUID_LOW
2104 100000 0x00010005 #OFF_TO_IDLE
2105 250000 0x00010005 #IDLE_TO_READY
2106 117 0x00010005 #GPIO1
2107 1010 0x00010005 #REG_GROUP_ID
2108 10 0x00010005 #CAL_PRI_GROUP_ID
2109 0x1001 0x00010005 #I2C_BUS
2110 0 0x00010005 #CS for SPI
2111 2 0x00010005 #SENSTIVITY
2112 0xD0 0x00010005 #FLAGS
2168 0x2 0x00010005 #vdd
2169 0x2 0x00010005 #vddio
# SSI SMGR Cfg 0: BMI160 gyro DRI/FIFO
2113 0xd646cb83ec0cd5a5 0x00010005 #UUID_HIGH
2114 0x0f4d0fd654c7eab5 0x00010005 #UUID_LOW
2115 150000 0x00010005 #OFF_TO_IDLE
2116 250000 0x00010005 #IDLE_TO_READY
2117 117 0x00010005 #GPIO1
2118 1010 0x00010005 #REG_GROUP_ID
2119 10 0x00010005 #CAL_PRI_GROUP_ID
2120 0x1001 0x00010005 #I2C_BUS
2121 0 0x00010005 #CS for SPI
2122 4 0x00010005 #SENSTIVITY
2123 0xD0 0x00010005 #FLAGS
2170 0x2 0x00010005 #vdd
2171 0x2 0x00010005 #vddio
# SSI SMGR Cfg 1 LSM6DSM-Gyro
2124 0xad4eeab0dae7e9f3 0x00010006 #UUID High
2125 0x98ffe89b395a749b 0x00010006 #UUID Low
2126 100000 0x00010006 #off_to_idle
2127 120000 0x00010006 #idle_to_ready
2128 117 0x00010006 #gpio1
2129 1010 0x00010006 #reg_group_id
2130 10 0x00010006 #cal_grp_id
2131 0x1001 0x00010006 #i2c_bus
2132 0 0x00010006 #i2c_address
2133 3 0x00010023 #sens_default
2134 0xD0 0x00010006 #flags
2172 0x2 0x00010006 #vdd
2173 0x2 0x00010006 #vddio
# SSI SMGR Cfg 0: BMI160 Accel DRI/FIFO
#1903 0x0f4d0fd654c7eab5 0x00010003 #UUID
#1902 0xd646cb83ec0cd5a5 0x00010003 #UUID
#1904 10000 0x00010003 #off_to_idle
#1905 30000 0x00010003 #idle_to_ready
#1906 0x1001 0x00010003 #SPI_bus
#1907 1000 0x00010003 #reg_group_id
#1908 0 0x00010003 #cal_grp_id
#1909 117 0x00010003 #gpio1
#1910 0xFFFF 0x00010003 #gpio2
#1911 0 0x00010003 #sensor_id
#1912 0 0x00010003 #CS for SPI
#1913 1 0x00010003 #data_type1
#1914 4 0x00010003 #data_type2
#1915 -1 0x00010003 #rel_sns_idx
#1916 1 0x00010003 #sens_default
#1917 0xD0 0x00010003 #flags
#1982 0 0x00010003 #device_select
#1987 0x2 0x00010003 #vdd
#1988 0x2 0x00010003 #vddio
# SSI SMGR Cfg 1 BMI160 gyro DRI/FIFO
#1919 0x0f4d0fd654c7eab5 0x00010003 #UUID
#1918 0xd646cb83ec0cd5a5 0x00010003 #UUID
#1920 150000 0x00010003 #off_to_idle
#1921 250000 0x00010003 #idle_to_ready
#1922 0x1001 0x00010003 #SPI_bus
#1923 1010 0x00010003 #reg_group_id
#1924 10 0x00010003 #cal_grp_id
#1925 117 0x00010003 #gpio1
#1926 0xFFFF 0x00010003 #gpio2
#1927 10 0x00010003 #sensor_id
#1928 0 0x00010003 #CS for SPI
#1929 3 0x00010003 #data_type1
#1930 4 0x00010003 #data_type2
#1931 -1 0x00010003 #rel_sns_idx
#1932 4 0x00010003 #sens_default
#1933 0xD0 0x00010003 #flags
#1983 0 0x00010003 #device_select
#1989 0x2 0x00010003 #vdd
#1990 0x2 0x00010003 #vddio
# DEVINFO MAG
2200 2 0x00010005 # set to 1 to enable
2201 1 0x00010005 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different mag sensors
# SSI SMGR Cfg 0: AKM09915 mag FIFO
2202 0x564d2b94fe80aef6 0x00010005 #UUID_HIGH
2203 0x90611b98d561168f 0x00010005 #UUID_LOW
2204 3000 0x00010005 #OFF_TO_IDLE
2205 10000 0x00010005 #IDLE_TO_READY
2206 119 0x00010005 #GPIO1
2207 1020 0x00010010 #REG_GROUP_ID
2208 0xFFFF 0x00010005 #CAL_PRI_GROUP_ID
2209 0x1001 0x00010005 #I2C_BUS
2210 0x1 0x00010005 #CS for SPI
2211 0 0x00010005 #SENSTIVITY
2212 0xD0 0x00010005 #FLAGS
2268 0x2 0x00010005 #vdd
2269 0x2 0x00010005 #vddio
### SSI SMGR Cfg 2: AKM09915 FIFO
##1935 0x90611b98d561168f 0x00010003 #UUID
##1934 0x564d2b94fe80aef6 0x00010003 #UUID
##1936 3000 0x00010003 #off_to_idle
##1937 10000 0x00010003 #idle_to_ready
##1938 0x1001 0x00010003 #SPI_bus
##1939 1020 0x00010003 #reg_group_id
##1940 0xFFFF 0x00010003 #cal_grp_id
##1941 119 0x00010003 #gpio1
##1942 0xFFFF 0x00010003 #gpio2
##1943 20 0x00010003 #sensor_id
##1944 0x1 0x00010003 #CS_for_SPI
##1945 2 0x00010003 #data_type1
##1946 0 0x00010003 #data_type2
##1947 0xFF 0x00010003 #rel_sns_idx
##1948 0 0x00010003 #sens_default
##1949 0xD0 0x00010003 #flags
##1984 0 0x00010003 #device_select
##1991 0x2 0x00010003 #vdd
##1992 0x2 0x00010003 #vddio
# DEVINFO PRESSURE
2400 2 0x00010005 # set to 1 to enable
2401 1 0x00010005 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different PRESSURE sensors
# SSI SMGR Cfg 0: BMP280 PRESSURE DRI/FIFO
2402 0x5c473990a806b072 0x00010005 #UUID_HIGH
2403 0x32c31ec17f1c0abd 0x00010005 #UUID_LOW
2404 5000 0x00010005 #OFF_TO_IDLE
2405 50000 0x00010005 #IDLE_TO_READY
2406 0xFFFF 0x00010005 #GPIO1
2407 0xFFFF 0x00010005 #REG_GROUP_ID
2408 0xFFFF 0x00010005 #CAL_PRI_GROUP_ID
2409 3 0x00010005 #I2C_BUS
2410 0x77 0x00010005 #i2c_address
2411 0 0x00010005 #SENSTIVITY
2412 0 0x00010005 #FLAGS
2468 0x2 0x00010005 #vdd
2469 0x2 0x00010005 #vddio
### SSI SMGR Cfg 3: BMP280 POLL
##1951 0x32c31ec17f1c0abd 0x00010003 #UUID
##1950 0x5c473990a806b072 0x00010003 #UUID
##1952 5000 0x00010003 #off_to_idle
##1953 50000 0x00010003 #idle_to_ready
##1954 3 0x00010003 #i2c_bus
##1955 0xFFFF 0x00010003 #reg_group_id
##1956 0xFFFF 0x00010003 #cal_grp_id
##1957 0xFFFF 0x00010003 #gpio1
##1958 0xFFFF 0x00010003 #gpio2
##1959 30 0x00010003 #sensor_id
##1960 0x77 0x00010003 #i2c_address
##1961 7 0x00010003 #data_type1
##1962 4 0x00010003 #data_type2
##1963 0xFF 0x00010003 #rel_sns_idx
##1964 0 0x00010003 #sens_default
##1965 0 0x00010003 #flags
##1985 0 0x00010003 #device_select
##1993 0x2 0x00010003 #vdd
##1994 0x2 0x00010003 #vddio
# DEVINFO PROX_LIGHT
2300 2 0x00010005 # set to 1 to enable
2301 1 0x00010022 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different PROX_LIGHT sensors
# SSI SMGR Cfg 0: CM36686 DRI/FIFO
2302 0x054d49ce3110a42d 0x00010005 #UUID_HIGH
2303 0x9f0d9942b6753994 0x00010005 #UUID_LOW
2304 5000 0x00010005 #OFF_TO_IDLE
2305 5000 0x00010005 #IDLE_TO_READY
2306 120 0x00010005 #GPIO1
2307 1040 0x00010005 #REG_GROUP_ID
2308 0xFFFF 0x00010005 #CAL_PRI_GROUP_ID
2309 3 0x00010005 #I2C_BUS
2310 0x60 0x00010005 #i2c_address
2311 0 0x00010005 #SENSTIVITY
2312 0x80 0x00010008 #FLAGS
2368 0x93 0x00010005 #vdd
2369 0x2 0x00010005 #vddio
# DEVINFO HALL
4700 2 0x00010020 # set to 1 to enable
4701 1 0x00010020 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different sensors
# SSI SMGR Cfg 0: dummy hall
4702 0x6cc8ccf62c304d2e 0x00010020 #UUID_HIGH
4703 0x962b50e59a8425d0 0x00010020 #UUID_LOW
4704 100 0x00010020 #OFF_TO_IDLE
4705 100 0x00010020 #IDLE_TO_READY
4706 122 0x00010020 #GPIO1
4707 0xFFFF 0x00010020 #REG_GROUP_ID
4708 0xFFFF 0x00010020 #CAL_PRI_GROUP_ID
4709 3 0x00010020 #I2C_BUS
4710 0x60 0x00010020 #i2c_address
4711 0 0x00010020 #SENSTIVITY
4712 0x80 0x00010020 #FLAGS
4768 0x2 0x00010020 #vdd
4769 0x2 0x00010020 #vddio
### SSI SMGR Cfg 4: CM36686 DRI
##1967 0x9f0d9942b6753994 0x00010003 #UUID
##1966 0x054d49ce3110a42d 0x00010003 #UUID
##1968 5000 0x00010003 #off_to_idle
##1969 5000 0x00010003 #idle_to_ready
##1970 3 0x00010003 #i2c_bus
##1971 1040 0x00010003 #reg_group_id
##1972 0xFFFF 0x00010003 #cal_grp_id
##1973 120 0x00010003 #gpio1
##1974 0xFFFF 0x00010003 #gpio2
##1975 40 0x00010003 #sensor_id
##1976 0x60 0x00010003 #i2c_address
##1977 5 0x00010003 #data_type1
##1978 6 0x00010003 #data_type2
##1979 0xFF 0x00010003 #rel_sns_idx
##1980 0 0x00010003 #sens_default
##1981 0x00 0x00010003 #flags
##1986 0 0x00010003 #device_select
##1995 0x93 0x00010003 #vdd
##1996 0x2 0x00010003 #vddio
# SSI SMGR Cfg 4: APDS9960 DRI
#1967 0x0f0287cfe19679b6 0x00010003 #UUID
#1966 0x6f497c047a7439f8 0x00010003 #UUID
#1968 5000 0x00010003 #off_to_idle
#1969 0 0x00010003 #idle_to_ready
#1970 3 0x00010003 #i2c_bus
#1971 1040 0x00010003 #reg_group_id
#1972 0xFFFF 0x00010003 #cal_grp_id
#1973 120 0x00010003 #gpio1
#1974 0xFFFF 0x00010003 #gpio2
#1975 40 0x00010003 #sensor_id
#1976 0x39 0x00010003 #i2c_address
#1977 5 0x00010003 #data_type1
#1978 6 0x00010003 #data_type2
#1979 0xFF 0x00010003 #rel_sns_idx
#1980 0 0x00010003 #sens_default
#1981 0x80 0x00010003 #flags
#1986 0 0x00010003 #device_select
#1995 0x93 0x00010003 #vdd
#1996 0x2 0x00010003 #vddio
# SSI SMGR Version
3600 1 0x00010003 #Maj Ver
3601 2 0x00010003 #Min Ver
# SSI SMGR Cfg 5: APDS9960 RGB DRI
#3603 0x0f0287cfe19679b6 0x00010003 #UUID
#3602 0x6f497c047a7439f8 0x00010003 #UUID
#3604 5000 0x00010003 #off_to_idle
#3605 0 0x00010003 #idle_to_ready
#3606 3 0x00010003 #i2c_bus
#3607 1040 0x00010003 #reg_group_id
#3608 0xFFFF 0x00010003 #cal_grp_id
#3609 120 0x00010003 #gpio1
#3610 0xFFFF 0x00010003 #gpio2
#3611 60 0x00010003 #sensor_id
#3612 0x39 0x00010003 #i2c_address
#3613 28 0x00010003 #data_type1
#3614 29 0x00010003 #data_type2
#3615 0xFF 0x00010003 #rel_sns_idx
#3616 0 0x00010003 #sens_default
#3617 0x80 0x00010003 #flags
#3682 0 0x00010003 #device_select
#3687 0x2 0x00010003 #vdd
#3688 0x2 0x00010003 #vddio
# SSI SMGR Cfg 6: SHTC1 Humidity Onchange
#3619 0xcc631478716da795 0x00010003 #UUID
#3618 0x40410cafc67cfbbe 0x00010003 #UUID
#3620 10000 0x00010003 #off_to_idle
#3621 10000 0x00010003 #idle_to_ready
#3622 3 0x00010003 #i2c_bus
#3623 1140 0x00010003 #reg_group_id
#3624 0xFFFF 0x00010003 #cal_grp_id
#3625 0xFFFF 0x00010003 #gpio1
#3626 0xFFFF 0x00010003 #gpio2
#3627 50 0x00010003 #sensor_id
#3628 0x70 0x00010003 #i2c_address
#3629 27 0x00010003 #data_type1
#3630 32 0x00010003 #data_type2
#3631 0xFF 0x00010003 #rel_sns_idx
#3632 0 0x00010003 #sens_default
#3633 0x80 0x00010003 #flags
#3683 0 0x00010003 #device_select
#3689 0x2 0x00010003 #vdd
#3690 0x2 0x00010003 #vddio
# SSI SMGR Cfg 7: UV HSVDDD002A Polling
#3635 0xe949401da5455ea3 0x00010003 #UUID
#3634 0x77476dfbc5e833fc 0x00010003 #UUID
#3636 10000 0x00010003 #off_to_idle
#3637 10000 0x00010003 #idle_to_ready
#3638 3 0x00010003 #i2c_bus
#3639 1120 0x00010003 #reg_group_id
#3640 0xFFFF 0x00010003 #cal_grp_id
#3641 0xFFFF 0x00010003 #gpio1
#3642 0xFFFF 0x00010003 #gpio2
#3643 100 0x00010003 #sensor_id
#3644 0x0D 0x00010003 #i2c_address
#3645 33 0x00010003 #data_type1
#3646 0 0x00010003 #data_type2
#3647 0xFF 0x00010003 #rel_sns_idx
#3648 0 0x00010003 #sens_default
#3649 0x0 0x00010003 #flags
#3684 0 0x00010003 #device_select
#3691 0x93 0x00010003 #vdd
#3692 0x2 0x00010003 #vddio
# SSI SMGR Cfg 8: Thermopile DTS201A Polling
#3651 0xd82328c4183d599c 0x00010003 #UUID
#3650 0x6a4123b302f33a76 0x00010003 #UUID
#3652 100000 0x00010003 #off_to_idle
#3653 100000 0x00010003 #idle_to_ready
#3654 3 0x00010003 #i2c_bus
#3655 1130 0x00010003 #reg_group_id
#3656 0xFFFF 0x00010003 #cal_grp_id
#3657 0xFFFF 0x00010003 #gpio1
#3658 0xFFFF 0x00010003 #gpio2
#3659 110 0x00010003 #sensor_id
#3660 0x1A 0x00010003 #i2c_address
#3661 36 0x00010003 #data_type1
#3662 0 0x00010003 #data_type2
#3663 0xFF 0x00010003 #rel_sns_idx
#3664 0 0x00010003 #sens_default
#3665 0x0 0x00010003 #flags
#3685 0 0x00010003 #device_select
#3693 0x2 0x00010003 #vdd
#3694 0x2 0x00010003 #vddio
# SSI SMGR Cfg 9: Hall Effect BU52053NVX DRI
#3667 0x5da5cb55d3c7bd84 0x00010003
#3666 0x7e412494d22ec81e 0x00010003 #UUID
#3668 100 0x00010003 #off_to_idle
#3669 100 0x00010003 #idle_to_ready
#3670 3 0x00010003 #i2c_bus
#3671 0xFFFF 0x00010003 #reg_group_id
#3672 0xFFFF 0x00010003 #cal_grp_id
#3673 124 0x00010003 #gpio1
#3674 0xFFFF 0x00010003 #gpio2
#3675 80 0x00010003 #sensor_id
#3676 0x20 0x00010003 #i2c_address, dummy
#3677 31 0x00010003 #data_type1
#3678 00 0x00010003 #data_type2
#3679 0xFF 0x00010003 #rel_sns_idx
#3680 0 0x00010003 #sens_default
#3681 0x80 0x00010003 #flags
#3686 5 0x00010003 #device_select
#3695 0x2 0x00010003 #vdd
#3696 0x2 0x00010003 #vddio
# SSI SMGR Version
5500 1 0x00010003 #Maj Ver
5501 2 0x00010003 #Min Ver
# SSI SMGR Cfg 10: Heart Rate ADPD142 DRI
#5503 0xa8ba2a809af25c80 0x00010003
#5502 0x3442ccc77ff3c117 0x00010003 #UUID
#5504 35000 0x00010003 #off_to_idle
#5505 5715 0x00010003 #idle_to_ready
#5506 3 0x00010003 #i2c_bus
#5507 0xFFFF 0x00010003 #reg_group_id
#5508 0xFFFF 0x00010003 #cal_grp_id
#5509 122 0x00010003 #gpio1
#5510 0xFFFF 0x00010003 #gpio2
#5511 90 0x00010003 #sensor_id
#5512 0x64 0x00010003 #i2c_address
#5513 35 0x00010003 #data_type1
#5514 0 0x00010003 #data_type2
#5515 0xFF 0x00010003 #rel_sns_idx
#5516 0 0x00010003 #sens_default
#5517 0x80 0x00010003 #flags
#5582 0 0x00010003 #device_select
#5587 0x93 0x00010003 #vdd
#5588 0x2 0x00010003 #vddio
#
# SSI GPIO configuration
#-----------------------------
2700 1 0x00010003 #maj ver
2701 0 0x00010003 # min ver
2706 80 0x00010003 # RESET pin
#
# SSC GPIO CFG (inactive)
#-----------------------------
6300 1 0x00010001 # version
6301 0x0104 0x00010001 # gpio num
6302 2 0x00010001 # active func sel
6303 1 0x00010001 # active dir
6304 2 0x00010001 # active pull
6305 3 0x00010001 # active drive
6306 2 0x00010001 # inactive func sel
6307 1 0x00010001 # inactive dir
6308 2 0x00010001 # inactive pull
6309 3 0x00010001 # inactive drive
6310 1 0x00010001 # version
6311 0x0105 0x00010001 # gpio num
6312 2 0x00010001 # active func sel
6313 1 0x00010001 # active dir
6314 2 0x00010001 # active pull
6315 3 0x00010001 # active drive
6316 2 0x00010001 # inactive func sel
6317 1 0x00010001 # inactive dir
6318 2 0x00010001 # inactive pull
6319 3 0x00010001 # inactive drive
6320 1 0x00010001 # version
6321 0x0106 0x00010001 # gpio num
6322 2 0x00010001 # active func sel
6323 1 0x00010001 # active dir
6324 2 0x00010001 # active pull
6325 3 0x00010001 # active drive
6326 2 0x00010001 # inactive func sel
6327 1 0x00010001 # inactive dir
6328 2 0x00010001 # inactive pull
6329 3 0x00010001 # inactive drive
6330 1 0x00010001 # version
6331 0x0107 0x00010001 # gpio num
6332 2 0x00010001 # active func sel
6333 0 0x00010001 # active dir
6334 2 0x00010001 # active pull
6335 3 0x00010001 # active drive
6336 2 0x00010001 # inactive func sel
6337 0 0x00010001 # inactive dir
6338 2 0x00010001 # inactive pull
6339 3 0x00010001 # inactive drive
6340 1 0x00010001 # version
6341 0x010C 0x00010001 # gpio num
6342 1 0x00010001 # active func sel
6343 1 0x00010001 # active dir
6344 2 0x00010001 # active pull
6345 3 0x00010001 # active drive
6346 1 0x00010001 # inactive func sel
6347 1 0x00010001 # inactive dir
6348 2 0x00010001 # inactive pull
6349 3 0x00010001 # inactive drive
6350 1 0x00010001 # version
6351 0x010D 0x00010001 # gpio num
6352 1 0x00010001 # active func sel
6353 0 0x00010001 # active dir
6354 2 0x00010001 # active pull
6355 3 0x00010001 # active drive
6356 1 0x00010001 # inactive func sel
6357 0 0x00010001 # inactive dir
6358 2 0x00010001 # inactive pull
6359 3 0x00010001 # inactive drive
#
# SSC GPIO CFG (active)
#-----------------------------
6360 1 0x00010001 # version
6361 0x0100 0x00010001 # gpio num
6362 1 0x00010001 # active func sel
6363 1 0x00010001 # active dir
6364 0 0x00010001 # active pull
6365 0 0x00010001 # active drive
6366 1 0x00010001 # inactive func sel
6367 1 0x00010001 # inactive dir
6368 2 0x00010001 # inactive pull
6369 0 0x00010001 # inactive drive
6370 1 0x00010001 # version
6371 0x0102 0x00010001 # gpio num
6372 1 0x00010001 # active func sel
6373 1 0x00010001 # active dir
6374 0 0x00010001 # active pull
6375 0 0x00010001 # active drive
6376 1 0x00010001 # inactive func sel
6377 1 0x00010001 # inactive dir
6378 2 0x00010001 # inactive pull
6379 0 0x00010001 # inactive drive
6380 1 0x00010001 # version
6381 0x0103 0x00010001 # gpio num
6382 1 0x00010001 # active func sel
6383 1 0x00010001 # active dir
6384 0 0x00010001 # active pull
6385 0 0x00010001 # active drive
6386 1 0x00010001 # inactive func sel
6387 1 0x00010001 # inactive dir
6388 2 0x00010001 # inactive pull
6389 0 0x00010001 # inactive drive
6390 1 0x00010001 # version
6391 0x0108 0x00010001 # gpio num
6392 1 0x00010001 # active func sel
6393 1 0x00010001 # active dir
6394 0 0x00010001 # active pull
6395 3 0x00010001 # active drive
6396 1 0x00010001 # inactive func sel
6397 1 0x00010001 # inactive dir
6398 2 0x00010001 # inactive pull
6399 3 0x00010001 # inactive drive
6400 1 0x00010001 # version
6401 0x0109 0x00010001 # gpio num
6402 1 0x00010001 # active func sel
6403 1 0x00010001 # active dir
6404 0 0x00010001 # active pull
6405 3 0x00010001 # active drive
6406 1 0x00010001 # inactive func sel
6407 1 0x00010001 # inactive dir
6408 2 0x00010001 # inactive pull
6409 3 0x00010001 # inactive drive
6410 1 0x00010001 # version
6411 0x010A 0x00010001 # gpio num
6412 1 0x00010001 # active func sel
6413 1 0x00010001 # active dir
6414 0 0x00010001 # active pull
6415 3 0x00010001 # active drive
6416 1 0x00010001 # inactive func sel
6417 1 0x00010001 # inactive dir
6418 2 0x00010001 # inactive pull
6419 3 0x00010001 # inactive drive
6420 1 0x00010001 # version
6421 0x010B 0x00010001 # gpio num
6422 1 0x00010001 # active func sel
6423 0 0x00010001 # active dir
6424 0 0x00010001 # active pull
6425 3 0x00010001 # active drive
6426 1 0x00010001 # inactive func sel
6427 0 0x00010001 # inactive dir
6428 2 0x00010001 # inactive pull
6429 3 0x00010001 # inactive drive
6430 1 0x00010001 # version
6431 0x010E 0x00010001 # gpio num
6432 1 0x00010001 # active func sel
6433 1 0x00010001 # active dir
6434 0 0x00010001 # active pull
6435 3 0x00010001 # active drive
6436 1 0x00010001 # inactive func sel
6437 1 0x00010001 # inactive dir
6438 2 0x00010001 # inactive pull
6439 3 0x00010001 # inactive drive
6440 1 0x00010001 # version
6441 0x010F 0x00010001 # gpio num
6442 1 0x00010001 # active func sel
6443 0 0x00010001 # active dir
6444 0 0x00010001 # active pull
6445 3 0x00010001 # active drive
6446 1 0x00010001 # inactive func sel
6447 0 0x00010001 # inactive dir
6448 2 0x00010001 # inactive pull
6449 3 0x00010001 # inactive drive
# Mag Cal config
#-----------------------------
3801 1 0x00010003
3804 0x000a0000 0x10001 #Sample Rate
# MAG small tilt
3841 0x00000005 0x00010019
3842 0x00000005 0x00010019
3843 0x3DA3D70A 0x00010019
3844 0x3F2B851F 0x00010019
3845 0x00000000 0x00010019
3846 0x3F000000 0x00010019
3847 0x3F19999A 0x00010019
3848 0x3F333333 0x00010019
3849 0x00000000 0x00010019
3850 0x41200000 0x00010019
3851 0x41400000 0x00010019
3852 0x415B3333 0x00010019
3853 0x3A6BEDFA 0x00010019
3854 0x3C04B5DD 0x00010019
3855 0x3E8F5C29 0x00010019
3856 0x3F0A3D71 0x00010019
3857 0x41600000 0x00010019
3858 0x3F4CCCCD 0x00010019
3859 0x3F99999A 0x00010019
3860 0x41900000 0x00010019
3861 0x3F000000 0x00010019
3862 0x3F000000 0x00010019
3863 0x3F000000 0x00010019
3864 0x3983126F 0x00010019
3865 0x3D4CCCCD 0x00010019
#APDS9960: ALS/Proxi registry
#100 0x14 0x00010003 #visible_ratio
#101 0x50 0x00010003 #ir_ratio
#102 0 0x00010003 #dc_offset
#103 0x64 0x00010003 #thresh_near
#104 0x50 0x00010003 #thresh_far
#105 0 0x00010003 #prx_crosstalk
#106 681 0x00010003 #als_factor
#107 0x01 0x00010003 #version_num
#108 0x68 0x00010003 #ID
#109 0x07 0x00010003 #als_change_pcnt
#110 0x47 0x00010003 #ppulse
#111 0 0x00010003 #poffset_ur
#112 0 0x00010003 #poffset_dl
#113 0x64 0x00010003 #cct_factor
#114 0x64 0x00010003 #rgb_c_factor
#115 0x64 0x00010003 #rgb_r_factor
#116 0x64 0x00010003 #rgb_g_factor
#117 0x64 0x00010003 #rgb_b_factor
# SSI SMGR Cfg 7: ADI SAR DRI
#3635 0x9b8cfaa89ed604b4 0x00010003 #UUID
#3634 0x7f4fd19c1953dda8 0x00010003 #UUID
#3636 1000000 0x00010003 #off_to_idle
#3637 0 0x00010003 #idle_to_ready
#3638 12 0x00010003 #i2c_bus
#3639 1090 0x00010003 #reg_group_id
#3640 0xFFFF 0x00010003 #cal_grp_id
#3641 79 0x00010003 #gpio1
#3642 0xFFFF 0x00010003 #gpio2
#3643 70 0x00010003 #sensor_id
#3644 0x2f 0x00010003 #i2c_address
#3645 30 0x00010003 #data_type1
#3646 0 0x00010003 #data_type2
#3647 0xFF 0x00010003 #rel_sns_idx
#3648 0 0x00010003 #sens_default
#3649 0x80 0x00010003 #flags
#3684 0 0x00010003 #device_select
# SSI SMGR Cfg 8: ADI SAR 2 DRI
#3651 0x9b8cfaa89ed604b4 0x00010003 #UUID
#3650 0x7f4fd19c1953dda8 0x00010003 #UUID
#3652 1000000 0x00010003 #off_to_idle
#3653 0 0x00010003 #idle_to_ready
#3654 12 0x00010003 #i2c_bus
#3655 1091 0x00010003 #reg_group_id
#3656 0xFFFF 0x00010003 #cal_grp_id
#3657 95 0x00010003 #gpio1
#3658 0xFFFF 0x00010003 #gpio2
#3659 71 0x00010003 #sensor_id
#3660 0x2c 0x00010003 #i2c_address
#3661 30 0x00010003 #data_type1
#3662 0 0x00010003 #data_type2
#3663 0xFF 0x00010003 #rel_sns_idx
#3664 0 0x00010003 #sens_default
#3665 0x80 0x00010003 #flags
#3685 0 0x00010003 #device_select
#3693 0x2 0x00010003 #vdd
#3694 0x2 0x00010003 #vddio
# SAR Registry
# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR (Group Id: 1090)
4800 3 0x00010003 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages)
4801 0x0700 0x00010003 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset)
4802 0x2700 0x00010003 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high)
4803 0x0700 0x00010003 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset)
4804 0x2700 0x00010003 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high)
4805 0x0600 0x00010003 #SNS_REG_DRIVER_SAR_x_E2_BIAS (STAGE2_AFE_offset)
4806 0x2700 0x00010003 #SNS_REG_DRIVER_SAR_x_E2_THRESHOLD (STAGE2_offset_high)
4825 0x2700 0x00010003 #STAGE0_offset_low
4826 0x337B 0x00010003 #STAGE0_connection_6_0
4827 0x3CCC 0x00010003 #STAGE0_connection_12_7
4828 0x2700 0x00010003 #STAGE1_offset_low
4829 0x3333 0x00010003 #STAGE1_connection_6_0
4830 0x3DEC 0x00010003 #STAGE1_connection_12_7
4831 0x2700 0x00010003 #STAGE2_offset_low
4832 0x3B33 0x00010003 #STAGE2_connection_6_0
4833 0x3CCD 0x00010003 #STAGE2_connection_12_7
4861 0x3230 0x00010003 #comp_control_0
4862 0x0419 0x00010003 #comp_control_1
4863 0x0832 0x00010003 #comp_control_2
# SAR 2 Registry
# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR_2 (Group Id: 1091)
4900 2 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages)
4901 0x3600 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset)
4902 0x0000 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high)
4903 0x3E00 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset)
4904 0x0400 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) # Used to be 0x4000 but that didn't work out
4925 0x0000 0x00010001 #STAGE0_offset_low
4926 0x3FFB 0x00010001 #STAGE0_connection_6_0
4927 0x2FCF 0x00010001 #STAGE0_connection_12_7
4928 0x0400 0x00010001 #STAGE1_offset_low # Used to be 0x4000 but that didn't work out
4929 0x3FF3 0x00010001 #STAGE1_connection_6_0
4930 0x2FEF 0x00010001 #STAGE1_connection_12_7
4961 0x3230 0x00010001 #comp_control_0
4962 0x0419 0x00010001 #comp_control_1
4963 0x0832 0x00010001 #comp_control_2

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
sensors.ssc.so

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.

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