== Camera Sensor module XML详解:
cameraId 与 slot id 一一对应 (即:dtsi中相对应的sensor的 cell-index )
moduleName 模组厂名称
sensorName sensor 名称
actuatorName 马达名称
oisName ois 名称
eepromName eeprom 名称
flashName flash名称(pmic gpio 接口型号)
chromatixName 效果文件名称(模组名字与sensor名字)
position 模组位置
laneAssign mipi lane 匹配关系(sensor lane与平台lane的匹配关系 0x3120)
isComboMode 是否使用combo模式
focalLength 焦距
fNumber 光圈
minFocusDistance 近焦
maxFocusDistance 远焦
horizontalViewAngle 水平视角
verticalViewAngle 垂直视角
maxRollDegree 翻滚角(90/270)
maxYawDegree 偏航角(0前180后)
maxPitchDegree 俯仰角(0)
::对于重合的参数,xml配置的优先级高于dts
== Camera Sensor XML 详解:
<slaveInfo> 从设备
sensorName sensor型号
slaveAddress i2c write address(8位的地址)
regAddrType 地址类型
regDataType 数据类型
sensorIdRegAddr sensor id 寄存器地址
sensorId sensor id 值
sensorIdMask 0xFFFFFFFF
i2cFrequencyMode FAST_PLUS i2c 操作频率
<powerUpsequence>
configType VANA/VDIG/VIO/MCLK/RESET 上电控制节点
configValue 0 电压/电平/时钟状态
delayMs 0 延时
…
</powerUpsequence>
<powerDownSequence>
configType VANA/VDIG/VIO/MCLK/RESET 下电控制节点
configValue 0 电压/电平/时钟状态
delayMs 0 延时
…
</powerDownSequence>
</slaveInfo>
<regAddrInfo>