Merge "msm: camera: sensor: Add PHY support for cliffs" into camera-kernel.lnx.7.0
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

incheckning
083ac0c2f4
@@ -11,6 +11,7 @@
|
||||
#include "include/cam_csiphy_2_1_2_hwreg.h"
|
||||
#include "include/cam_csiphy_2_1_3_hwreg.h"
|
||||
#include "include/cam_csiphy_2_2_0_hwreg.h"
|
||||
#include "include/cam_csiphy_2_2_1_hwreg.h"
|
||||
#include "include/cam_csiphy_2_3_0_hwreg.h"
|
||||
|
||||
/* Clock divide factor for CPHY spec v1.0 */
|
||||
@@ -332,6 +333,11 @@ int32_t cam_csiphy_parse_dt_info(struct platform_device *pdev,
|
||||
csiphy_dev->hw_version = CSIPHY_VERSION_V220;
|
||||
csiphy_dev->is_divisor_32_comp = true;
|
||||
csiphy_dev->clk_lane = 0;
|
||||
} else if (of_device_is_compatible(soc_info->dev->of_node, "qcom,csiphy-v2.2.1")) {
|
||||
csiphy_dev->ctrl_reg = &ctrl_reg_2_2_1;
|
||||
csiphy_dev->hw_version = CSIPHY_VERSION_V221;
|
||||
csiphy_dev->is_divisor_32_comp = true;
|
||||
csiphy_dev->clk_lane = 0;
|
||||
} else if (of_device_is_compatible(soc_info->dev->of_node, "qcom,csiphy-v2.3.0")) {
|
||||
csiphy_dev->ctrl_reg = &ctrl_reg_2_3_0;
|
||||
csiphy_dev->hw_version = CSIPHY_VERSION_V230;
|
||||
|
@@ -36,6 +36,7 @@
|
||||
#define CSIPHY_VERSION_V212 0x212
|
||||
#define CSIPHY_VERSION_V213 0x213
|
||||
#define CSIPHY_VERSION_V220 0x220
|
||||
#define CSIPHY_VERSION_V221 0x221
|
||||
#define CSIPHY_VERSION_V230 0x230
|
||||
|
||||
/**
|
||||
|
Filskillnaden har hållits tillbaka eftersom den är för stor
Load Diff
Referens i nytt ärende
Block a user