]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: kodiak: Add LPASS I2S2 pinctrl definitions
authorVal Packett <val@packett.cool>
Mon, 23 Mar 2026 09:40:47 +0000 (06:40 -0300)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Mar 2026 14:40:58 +0000 (09:40 -0500)
Add the pinctrl definitions to configure gpio10-gpio13 of the lpass_tlmm
for I2S output.

Signed-off-by: Val Packett <val@packett.cool>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260323095247.92890-1-val@packett.cool
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/kodiak.dtsi

index b3aecd17721e824261c14326b2ad314f58bc37dd..215e59ebdf61f8f1ff6687b9345775ef6c032951 100644 (file)
                                };
                        };
 
+                       lpass_i2s2_active: i2s2-active-state {
+                               clk-pins {
+                                       pins = "gpio10";
+                                       function = "i2s2_clk";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                                       output-high;
+                               };
+
+                               ws-pins {
+                                       pins = "gpio11";
+                                       function = "i2s2_ws";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                                       output-high;
+                               };
+
+                               data-pins {
+                                       pins = "gpio12", "gpio13";
+                                       function = "i2s2_data";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                                       output-high;
+                               };
+                       };
+
+                       lpass_i2s2_sleep: i2s2-sleep-state {
+                               clk-pins {
+                                       pins = "gpio10";
+                                       function = "i2s2_clk";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+
+                               ws-pins {
+                                       pins = "gpio11";
+                                       function = "i2s2_ws";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+
+                               data-pins {
+                                       pins = "gpio12", "gpio13";
+                                       function = "i2s2_data";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+                       };
+
                        lpass_rx_swr_clk: rx-swr-clk-state {
                                pins = "gpio3";
                                function = "swr_rx_clk";