<!--
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.

ModuleType:
    The description of this camera module.
	Valid map:
	1.main
	2.wide
	3.rtb
	4.video
	5.tele
	6.periscope
	7.portrait
	8.depth
	9.mono
	10.infrared
	11.macro
	12.fish-eye

Position:
    The position of the camera module.
	Valid values are: rear, front

SubNum:
	Use to identify multiple camera which have the same ModuleType. If only one, this value is 0, other wise config this value increase in sequence, such as 0、1、2...

SubAttribute:
	The porterty of the module which is to distinguish the two same ModuleType.If there is no same moduletype camera exist, this value can be omited.
	For example,if the project has two tele modules, One of them is 2x tele, and another one is 5x tele.

	we can config as:
    <CameraModuleConfig>
      <CameraId>2</CameraId>   //getCameraIdList LogicalDevice must make sure with xiaoyi/wangkai system team
      <ModuleType>main</ModuleType>
	  <Position>rear</Position>
	  <SubNum></SubNum>
	  <SubAttribute>2x</SubAttribute>
    </CameraModuleConfig>
    <CameraModuleConfig>
      <CameraId>3</CameraId>
      <ModuleType>main</ModuleType>
	  <Position>rear</Position>
	  <SubNum>1</SubNum>
	  <SubAttribute>5x</SubAttribute>
    </CameraModuleConfig>

Note: if there is no multiple cameras have the same ModuleType, SubNum and SubAttribute could be null
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*VARIABLES MARKED WITH ASTRICK (*) ARE MANDATORY.
-->


<CameraConfigurationRoot>
  <CameraModuleConfig>
	<CameraId>0</CameraId>
	<Position>rear</Position>
	<ModuleType>main</ModuleType>
	<SubNum></SubNum>
	<SubAttribute></SubAttribute>
	<ThermalPath>/sys/cam_thermal/cam_thermal_sensor0</ThermalPath>
	<ModuleMap>
		<MaterialInfo>02371788</MaterialInfo>
		<ModuleVersion>0</ModuleVersion>
		<ModuleName>imx09a</ModuleName>
	</ModuleMap>
  </CameraModuleConfig>
  <CameraModuleConfig>
	<CameraId>1</CameraId>
	<Position>front</Position>
	<ModuleType>main</ModuleType>
	<SubNum></SubNum>
	<SubAttribute></SubAttribute>
	<ThermalPath>/sys/cam_thermal/cam_thermal_sensor1</ThermalPath>
	<ModuleMap>
		<MaterialInfo>02371615</MaterialInfo>
		<ModuleVersion>0</ModuleVersion>
		<ModuleName>s5kjn1front</ModuleName>
	</ModuleMap>
  </CameraModuleConfig>
  <CameraModuleConfig>
	<CameraId>2</CameraId>
	<Position>rear</Position>
	<ModuleType>tele3x</ModuleType>
	<SubNum></SubNum>
	<SubAttribute>3x</SubAttribute>
	<ThermalPath>/sys/cam_thermal/cam_thermal_sensor2</ThermalPath>
	<ModuleMap>
		<MaterialInfo>02371787</MaterialInfo>
		<ModuleVersion>1</ModuleVersion>
		<ModuleName>imx06h</ModuleName>
	</ModuleMap>
  </CameraModuleConfig>
  <CameraModuleConfig>
	<CameraId>3</CameraId>
	<Position>rear</Position>
	<ModuleType>wide</ModuleType>
	<SubNum></SubNum>
	<SubAttribute></SubAttribute>
	<ThermalPath>/sys/cam_thermal/cam_thermal_sensor3</ThermalPath>
	<ModuleMap>
		<MaterialInfo>02371678</MaterialInfo>
		<ModuleVersion>0</ModuleVersion>
		<ModuleName>s5kjn1wide</ModuleName>
	</ModuleMap>
  </CameraModuleConfig>
  <CameraModuleConfig>
	<CameraId>4</CameraId>
	<Position>rear</Position>
	<ModuleType>tele3xexternal</ModuleType>
	<SubNum></SubNum>
	<SubAttribute>7x</SubAttribute>
	<ThermalPath>/sys/cam_thermal/cam_thermal_sensor4</ThermalPath>
	<ModuleMap>
		<MaterialInfo>02371787</MaterialInfo>
		<ModuleVersion>1</ModuleVersion>
		<ModuleName>imx06hultra</ModuleName>
	</ModuleMap>
  </CameraModuleConfig>
  <FlashInfo>
	<LedInfo key="121">
	  <IsDual>1</IsDual>
	  <CaliNum>22</CaliNum>
	  <MainDuty>31</MainDuty>  <!--1200mA-->
      <MaxDuty>6</MaxDuty>
	  <Torch>0</Torch> <!--use flashlight multi-gear -->
	  <CamTorch>130</CamTorch>
	  <PreFlash>130</PreFlash>
	  <Current>50,90,130,160,195,160,176,199,222,246,269,305,328,351,398,445,504,551,609,656,703,750,797,800,902,949,996,1055,1102,1149,1196,1200</Current>
      <StarTorch>98,294,490,686,882,1078,1274,1470,1666,1862,2058,2254,2450,2646,2842</StarTorch>
    </LedInfo>
	<LedInfo key="111">
    <IsDual>1</IsDual>
	  <CaliNum>22</CaliNum>
	  <MainDuty>31</MainDuty>  <!--1200mA-->
      <MaxDuty>6</MaxDuty>
	  <Torch>0</Torch> <!--use flashlight multi-gear -->
	  <CamTorch>130</CamTorch>
	  <PreFlash>130</PreFlash>
	  <Current>50,90,130,160,195,160,176,199,222,246,269,305,328,351,398,445,504,551,609,656,703,750,797,800,902,949,996,1055,1102,1149,1196,1200</Current>
      <StarTorch>98,294,490,686,882,1078,1274,1470,1666,1862,2058,2254,2450,2646,2842</StarTorch>
	</LedInfo>
  </FlashInfo>
  <BokehCombinations>
        <Combination>
            <Name>Bokeh</Name>
            <MasterSensorMode>DCG</MasterSensorMode>
            <SlaveSensorMode>binning</SlaveSensorMode>
        </Combination>
        <Combination>
            <Name>BokehFood2</Name>
            <MasterSensorMode>ROI</MasterSensorMode>
            <SlaveSensorMode>binning</SlaveSensorMode>
        </Combination>
        <Combination>
            <Name>BokehTele2</Name>
            <MasterSensorMode>ROI</MasterSensorMode>
            <SlaveSensorMode>binning</SlaveSensorMode>
        </Combination>
        <Combination>
            <Name>BokehTele2L</Name>
            <MasterSensorMode>DCG</MasterSensorMode>
            <SlaveSensorMode>binning</SlaveSensorMode>
        </Combination>
        <Combination>
            <Name>BokehTele3</Name>
            <MasterSensorMode>binning</MasterSensorMode>
            <SlaveSensorMode>binning</SlaveSensorMode>
            <MCSSControllerSensorId>2</MCSSControllerSensorId>
        </Combination>
        <Combination>
            <Name>BokehTele3L</Name>
            <MasterSensorMode>binning</MasterSensorMode>
            <SlaveSensorMode>binning</SlaveSensorMode>
            <MCSSControllerSensorId>2</MCSSControllerSensorId>
        </Combination>
        <Combination>
            <Name>BokehTele8</Name>
            <MasterSensorMode>ROI</MasterSensorMode>
            <SlaveSensorMode>ROI</SlaveSensorMode>
        </Combination>
  </BokehCombinations>
</CameraConfigurationRoot>

