RE: Camera driver development » tc358746.patch
| oem/qcom/buildbins/build/linuxembedded/binary_yupik/com.qti.sensormodule.lab308_tc358746.cmake | ||
|---|---|---|
| 1 |
################################## |
|
| 2 |
# Generate camx binary file from XMLs |
|
| 3 |
set(CAMX_CURDIR ${CMAKE_CURRENT_SOURCE_DIR})
|
|
| 4 | ||
| 5 |
if (NOT DEFINED CAMX_CHICDK_PATH) |
|
| 6 |
set(CAMX_CHICDK_PATH ${CAMX_CURDIR})
|
|
| 7 |
endif () |
|
| 8 | ||
| 9 |
set (CAMX_LOCAL_BIN com.qti.sensormodule.lab308_tc358746_cam0.bin) |
|
| 10 | ||
| 11 |
set (CAMX_CHICDK_BIN_INPUTS |
|
| 12 |
${CAMX_CHICDK_PATH}/oem/qcom/sensor/tc358746/tc358746_sensor.xml
|
|
| 13 |
${CAMX_CHICDK_PATH}/oem/qcom/module/lab308_tc358746_module_cam0.xml
|
|
| 14 |
) |
|
| 15 | ||
| 16 |
set (CAMX_BINARY_XSD_PATH ${CAMX_CHICDK_PATH}/api/sensor)
|
|
| 17 | ||
| 18 |
include (${CAMX_CHICDK_PATH}/core/build/linuxembedded/binary_generic.cmake)
|
|
| oem/qcom/module/lab308_tc358746_module_cam0.xml | ||
|---|---|---|
| 1 |
<?xml version="1.0" encoding="utf-8" ?> |
|
| 2 |
<!--========================================================================--> |
|
| 3 |
<!-- Copyright (c) 2026 Lab 308, LLC --> |
|
| 4 |
<!-- All Rights Reserved. --> |
|
| 5 |
<!-- Confidential and Proprietary - Lab 308, LLC --> |
|
| 6 |
<!--========================================================================--> |
|
| 7 |
<cameraModuleData |
|
| 8 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
| 9 |
xsi:noNamespaceSchemaLocation="..\..\..\api\sensor\camxmoduleconfig.xsd"> |
|
| 10 |
<module_version major_revision="1" minor_revision="0" incr_revision="0"/> |
|
| 11 | ||
| 12 |
<!--Module group can contain either 1 module or 2 modules |
|
| 13 |
Dual camera, stereo camera use cases contain 2 modules in the group --> |
|
| 14 |
<moduleGroup> |
|
| 15 |
<!--Module configuration --> |
|
| 16 |
<moduleConfiguration description="Module configuration"> |
|
| 17 |
<!--CameraId is the id to which DTSI node is mapped. |
|
| 18 |
Typically CameraId is the slot Id for non combo mode. --> |
|
| 19 |
<cameraId>0</cameraId> |
|
| 20 |
<!--Name of the module integrator --> |
|
| 21 |
<moduleName>lab308</moduleName> |
|
| 22 |
<!--Name of the sensor in the image sensor module --> |
|
| 23 |
<sensorName>tc358746</sensorName> |
|
| 24 |
<!--Actuator name in the image sensor module |
|
| 25 |
This is an optional element. Skip this element if actuator is not present --> |
|
| 26 |
<actuatorName></actuatorName> |
|
| 27 |
<oisName></oisName> |
|
| 28 |
<!--EEPROM name in the image sensor module |
|
| 29 |
This is an optional element. Skip this element if EEPROM is not present --> |
|
| 30 |
<eepromName></eepromName> |
|
| 31 |
<flashName></flashName> |
|
| 32 |
<chromatixName>lab308_tc358746</chromatixName> |
|
| 33 |
<!--Position of the sensor module. |
|
| 34 |
Valid values are: REAR, FRONT, REAR_AUX, FRONT_AUX, EXTERNAL --> |
|
| 35 |
<position>EXTERNAL</position> |
|
| 36 |
<!--CSI Information --> |
|
| 37 |
<CSIInfo description="CSI Information"> |
|
| 38 |
<laneAssign>0x0</laneAssign> |
|
| 39 |
<isComboMode>0</isComboMode> |
|
| 40 |
</CSIInfo> |
|
| 41 |
<!--Lens information --> |
|
| 42 |
<lensInfo description="Lens Information"> |
|
| 43 |
<!--Focal length of the lens in millimeters. --> |
|
| 44 |
<focalLength>7</focalLength> |
|
| 45 |
<!--F-Number of the optical system. --> |
|
| 46 |
<fNumber>2.2</fNumber> |
|
| 47 |
<!--Minimum focus distance in meters. --> |
|
| 48 |
<minFocusDistance>0.1</minFocusDistance> |
|
| 49 |
<!--Total focus distance in meters. --> |
|
| 50 |
<maxFocusDistance>10.0</maxFocusDistance> |
|
| 51 |
<!--Horizontal view angle in degrees. --> |
|
| 52 |
<horizontalViewAngle>60</horizontalViewAngle> |
|
| 53 |
<!--Vertical view angle in degrees. --> |
|
| 54 |
<verticalViewAngle>45</verticalViewAngle> |
|
| 55 |
<!--Maximum Roll Degree. Valid values are: 0, 90, 180, 270, 360 --> |
|
| 56 |
<maxRollDegree>360</maxRollDegree> |
|
| 57 |
<!--Maximum Pitch Degree. Valid values are: 0 to 359 --> |
|
| 58 |
<maxPitchDegree>360</maxPitchDegree> |
|
| 59 |
<!--Maximum Yaw Degree. Valid values are: 0 to 359 --> |
|
| 60 |
<maxYawDegree>360</maxYawDegree> |
|
| 61 |
</lensInfo> |
|
| 62 |
<pdafName></pdafName> |
|
| 63 |
</moduleConfiguration> |
|
| 64 |
</moduleGroup> |
|
| 65 |
</cameraModuleData> |
|
| oem/qcom/multicamera/chimcxcameraconfig/configs/kodiak/kodiak_lab308_spc_v1.xml | ||
|---|---|---|
| 1 |
<?xml version="1.0" encoding="utf-8" ?> |
|
| 2 |
<Devices |
|
| 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
| 4 |
xsi:noNamespaceSchemaLocation="../../../tools/logicalcameragenerator/logicalcam.xsd"> |
|
| 5 |
<PhysicalDevice name="RearPhysicalCam0" slotId="0" cameraId="0" sensorName="tc358746"/> |
|
| 6 |
</Devices> |
|
| oem/qcom/sensor/tc358746/tc358746_sensor.xml | ||
|---|---|---|
| 1 | ||
| configs/product.mk | ||
|---|---|---|
| 137 | 137 |
PRODUCT_PACKAGES += cmk_ov9282_module_cam0a.bin |
| 138 | 138 |
PRODUCT_PACKAGES += cmk_ov9282_module_cam0b.bin |
| 139 | 139 |
PRODUCT_PACKAGES += cmk_ov9282_module_cam1.bin |
| 140 |
PRODUCT_PACKAGES += lab308_tc358746_cam0.bin |
|
| 140 | 141 |
PRODUCT_PACKAGES += com.qti.sensormodule.sunny_imx576.bin |
| 141 | 142 |
PRODUCT_PACKAGES += com.qti.sensormodule.sunny_s5k2x5sp.bin |
| 142 | 143 |
PRODUCT_PACKAGES += com.qti.sensormodule.lce_s5k5e9yx04.bin |
| oem/qcom/module/socid_sensorbin_map.xml | ||
|---|---|---|
| 1 |
<?xml version="1.0" encoding="utf-8" ?> |
|
| 2 |
<sensorBinSocIdMap |
|
| 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
| 4 |
xsi:noNamespaceSchemaLocation="..\..\..\api\sensor\camxsocidbinmap.xsd"> |
|
| 5 |
<module_version major_revision="1" minor_revision="0" incr_revision="0"/> |
|
| 6 |
<!--Sensor to SOC ID Mapping Table --> |
|
| 7 |
<!--sensorBinSocIdMap --> |
|
| 8 |
<socIdInfo> |
|
| 9 |
<!--SOC ID or list of SOC Ids comma seperated--> |
|
| 10 |
<socId>QCM6490</socId> |
|
| 11 |
<!--List of bin files associated to this socId --> |
|
| 12 |
<binName>lab308_tc358746_cam0</binName> |
|
| 13 |
</socIdInfo> |
|
| 14 |
<!-- /sensorBinSocIdMap --> |
|
| 15 |
</sensorBinSocIdMap> |
|
| 16 | ||