Add Glymur CAMSS driver#1229
Conversation
This reverts commit ced87bf. Following old CSIPHY Architecture for the GLYMUR. Co-developed-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Prashant Shrotriya <pshrotri@qti.qualcomm.com>
Add CAMSS_GLYMUR enum, Glymur compatible and Glymur camss driver private data, the private data just include some basic information for now, later changes will enumerate with csiphy, tpg, csid and vfe resources. Co-developed-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Prashant Shrotriya <pshrotri@qti.qualcomm.com>
Glymur uses the same CSIPHY hardware version as x1e80100. The only difference between the two platforms is the number of CSIPHY instances: x1e80100 has four, while Glymur has three. Co-developed-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Prashant Shrotriya <pshrotri@qti.qualcomm.com>
Extend vfe_src_pad_code() and vfe_bpl_align() for Glymur Co-developed-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Prashant Shrotriya <pshrotri@qti.qualcomm.com>
Enumerate csiphy, csid and vfe resources for Glymur. Co-developed-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com> Signed-off-by: Prashant Shrotriya <pshrotri@qti.qualcomm.com>
|
We need to first post, then add FROMLIST tag. |
| { 266666667, 400000000 } }, | ||
| .reg = { "csiphy0" }, | ||
| .interrupt = { "csiphy0" }, | ||
| .csiphy = { |
There was a problem hiding this comment.
Check if this is needed for old csiphy arch. Check Hamoa upstream patches.
| .version = CAMSS_GLYMUR, | ||
| .pd_name = "top", | ||
| .csiphy_res = csiphy_res_glymur, | ||
| .tpg_res = tpg_res_x1e80100, |
There was a problem hiding this comment.
are we adding TPG also?
PR #1229 — validate-patchPR: #1229
Final Summary
Recommendation: Add appropriate commit prefixes (FROMLIST:/QCLINUX:/PENDING:) and lore links (if applicable) before merging. The current state violates kernel contribution guidelines for patch attribution and traceability.
|
PR #1229 — checker-log-analyzerPR: #1229
Detailed report: Full report
|
|
No need to revert change, just add .legacy_phy = true, in camss_resources, then you can use old csiphy code. |
Revert "FROMLIST: media: qcom: camss: Add support for PHY API devices"
media: qcom: camss: Add Glymur compatible
media: qcom: camss: Add CSIPHY support for Glymur
media: qcom: camss: enable vfe for Glymur
media: qcom: camss: Enumerate resources for Glymur