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 <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: David Heidelberg <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Richard Acayan <[email protected]>
---
 arch/arm64/boot/dts/qcom/sdm670.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi 
b/arch/arm64/boot/dts/qcom/sdm670.dtsi
index 3eb4eaf7b8d7..f21e60a6a2ef 100644
--- a/arch/arm64/boot/dts/qcom/sdm670.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi
@@ -1196,6 +1196,34 @@ tlmm: pinctrl@3400000 {
                        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";
-- 
2.52.0


Reply via email to