]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sdm670: add camera mclk pins
authorRichard Acayan <mailingradian@gmail.com>
Tue, 31 Mar 2026 19:44:36 +0000 (15:44 -0400)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:15:47 +0000 (14:15 -0500)
The camera subsystem is added for the SoC common devicetree, but the
mclk pins should also be common across the SoC. Add the mclk pins for
the cameras.

Suggested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/5135823c-f2e4-4873-9e3a-9d190cac0113@oss.qualcomm.com
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
Reviewed-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Link: https://lore.kernel.org/r/20260331194437.41041-3-mailingradian@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm670.dtsi

index 1613c66f92b3f986e23b52a415a445e528e16045..e13ced9479b7c63357d31d3ce8bb9469767a50f6 100644 (file)
                        gpio-ranges = <&tlmm 0 0 151>;
                        wakeup-parent = <&pdc>;
 
+                       cam_mclk0_default: cam-mclk0-default-state {
+                               pins = "gpio13";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam_mclk1_default: cam-mclk1-default-state {
+                               pins = "gpio14";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam_mclk2_default: cam-mclk2-default-state {
+                               pins = "gpio15";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam_mclk3_default: cam-mclk3-default-state {
+                               pins = "gpio16";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
                        cci0_default: cci0-default-state {
                                pins = "gpio17", "gpio18";
                                function = "cci_i2c";