-
Notifications
You must be signed in to change notification settings - Fork 193
QCLINUX: arm64: dts: qcom: Add IMX577 DTSI changes to Support CAM1 #815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: qcom-6.18.y
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -175,6 +175,84 @@ | |
| status = "ok"; | ||
| }; | ||
|
|
||
| eeprom_cam1: qcom,eeprom1 { | ||
| cell-index = <12>; | ||
| compatible = "qcom,eeprom"; | ||
| cam_vio-supply = <&vreg_l18b_1p8>; | ||
| regulator-names = "cam_vio"; | ||
| power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; | ||
| rgltr-cntrl-support; | ||
| pwm-switch; | ||
| rgltr-min-voltage = <1800000>; | ||
| rgltr-max-voltage = <1800000>; | ||
| rgltr-load-current = <120000>; | ||
| gpio-no-mux = <0>; | ||
| pinctrl-names = "cam_default", "cam_suspend"; | ||
| pinctrl-0 = <&cam_sensor_mclk1_active | ||
| &cam_sensor_active_rst1>; | ||
| pinctrl-1 = <&cam_sensor_mclk1_suspend | ||
| &cam_sensor_suspend_rst1>; | ||
| gpios = <&tlmm 65 0>, | ||
| <&tlmm 21 0>, | ||
| <&pm7250b_gpios 3 0>; | ||
| gpio-reset = <1>; | ||
| gpio-custom1 = <2>; | ||
| gpio-req-tbl-num = <0 1 2>; | ||
| gpio-req-tbl-flags = <1 0 0>; | ||
| gpio-req-tbl-label = "CAMIF_MCLK1", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
| "CAM_RESET1", | ||
| "CAM_CUSTOM1"; | ||
| sensor-position = <1>; | ||
| sensor-mode = <0>; | ||
| cci-master = <1>; | ||
| status = "ok"; | ||
| clocks = <&camcc CAM_CC_MCLK1_CLK>; | ||
| clock-names = "cam_clk"; | ||
| clock-cntl-level = "nominal"; | ||
| clock-rates = <24000000>; | ||
| }; | ||
|
|
||
| /*cam1-imx577*/ | ||
| qcom,cam-sensor12 { | ||
| cell-index = <12>; | ||
| compatible = "qcom,cam-sensor"; | ||
| csiphy-sd-index = <1>; | ||
| eeprom-src = <&eeprom_cam1>; | ||
| sensor-position-roll = <0>; | ||
| sensor-position-pitch = <0>; | ||
| sensor-position-yaw = <180>; | ||
| cam_vio-supply = <&vreg_l18b_1p8>; | ||
| regulator-names = "cam_vio"; | ||
| power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; | ||
| rgltr-cntrl-support; | ||
| pwm-switch; | ||
| rgltr-min-voltage = <1800000>; | ||
| rgltr-max-voltage = <1800000>; | ||
| rgltr-load-current = <120000>; | ||
| gpio-no-mux = <0>; | ||
| pinctrl-names = "cam_default", "cam_suspend"; | ||
| pinctrl-0 = <&cam_sensor_mclk1_active | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please align it properly
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
| &cam_sensor_active_rst1>; | ||
| pinctrl-1 = <&cam_sensor_mclk1_suspend | ||
| &cam_sensor_suspend_rst1>; | ||
| gpios = <&tlmm 65 0>, | ||
| <&tlmm 21 0>, | ||
| <&pm7250b_gpios 3 0>; | ||
| gpio-reset = <1>; | ||
| gpio-custom1 = <2>; | ||
| gpio-req-tbl-num = <0 1 2>; | ||
| gpio-req-tbl-flags = <1 0 0>; | ||
| gpio-req-tbl-label = "CAMIF_MCLK1", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
| "CAM_RESET1", | ||
| "CAM_CUSTOM1"; | ||
| sensor-mode = <0>; | ||
| cci-master = <1>; | ||
| status = "ok"; | ||
| clocks = <&camcc CAM_CC_MCLK1_CLK>; | ||
| clock-names = "cam_clk"; | ||
| clock-cntl-level = "nominal"; | ||
| clock-rates = <24000000>; | ||
| }; | ||
| }; | ||
|
|
||
| &cam_cci1 { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please align it properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done