]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm8650: Add description of MCLK pins
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Thu, 4 Dec 2025 04:15:03 +0000 (06:15 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 3 Jan 2026 14:50:44 +0000 (08:50 -0600)
Add fixed MCLK pin descriptions for all pins with such supported
function.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251204041505.131891-3-vladimir.zapolskiy@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8650.dtsi

index 06eedd2cd7824eb6ae260b3ef48fa0a14f812ae6..e528e9948faf4328802523eb10af277ca796e92c 100644 (file)
 
                        wakeup-parent = <&pdc>;
 
+                       cam0_default: cam0-default-state {
+                               pins = "gpio100";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam0_sleep: cam0-sleep-state {
+                               pins = "gpio100";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
+                       cam1_default: cam1-default-state {
+                               pins = "gpio101";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam1_sleep: cam1-sleep-state {
+                               pins = "gpio101";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
+                       cam2_default: cam2-default-state {
+                               pins = "gpio102";
+                               function = "cam_aon_mclk2";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam2_sleep: cam2-sleep-state {
+                               pins = "gpio102";
+                               function = "cam_aon_mclk2";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
+                       cam3_default: cam3-default-state {
+                               pins = "gpio103";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam3_sleep: cam3-sleep-state {
+                               pins = "gpio103";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
+                       cam4_default: cam4-default-state {
+                               pins = "gpio104";
+                               function = "cam_aon_mclk4";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam4_sleep: cam4-sleep-state {
+                               pins = "gpio104";
+                               function = "cam_aon_mclk4";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
+                       cam5_default: cam5-default-state {
+                               pins = "gpio105";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam5_sleep: cam5-sleep-state {
+                               pins = "gpio105";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
+                       cam6_default: cam6-default-state {
+                               pins = "gpio108";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam6_sleep: cam6-sleep-state {
+                               pins = "gpio108";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
+                       cam7_default: cam7-default-state {
+                               pins = "gpio106";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       cam7_sleep: cam7-sleep-state {
+                               pins = "gpio106";
+                               function = "cam_mclk";
+                               drive-strength = <2>;
+                               bias-pull-down;
+                       };
+
                        cci0_0_default: cci0-0-default-state {
                                sda-pins {
                                        pins = "gpio113";