arm64: dts: qcom: sdm845: add pinctrl nodes for quat i2s
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 12 Mar 2020 14:30:23 +0000 (14:30 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 15 Mar 2020 05:15:25 +0000 (22:15 -0700)
Add pinctrl nodes required for QUAT I2S

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200312143024.11059-5-srinivas.kandagatla@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 14770fe..fe35d37 100644 (file)
                                        function = "qup15";
                                };
                        };
+
+                       quat_mi2s_sleep: quat_mi2s_sleep {
+                               mux {
+                                       pins = "gpio58", "gpio59";
+                                       function = "gpio";
+                               };
+
+                               config {
+                                       pins = "gpio58", "gpio59";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+                       };
+
+                       quat_mi2s_active: quat_mi2s_active {
+                               mux {
+                                       pins = "gpio58", "gpio59";
+                                       function = "qua_mi2s";
+                               };
+
+                               config {
+                                       pins = "gpio58", "gpio59";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                                       output-high;
+                               };
+                       };
+
+                       quat_mi2s_sd0_sleep: quat_mi2s_sd0_sleep {
+                               mux {
+                                       pins = "gpio60";
+                                       function = "gpio";
+                               };
+
+                               config {
+                                       pins = "gpio60";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+                       };
+
+                       quat_mi2s_sd0_active: quat_mi2s_sd0_active {
+                               mux {
+                                       pins = "gpio60";
+                                       function = "qua_mi2s";
+                               };
+
+                               config {
+                                       pins = "gpio60";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                               };
+                       };
+
+                       quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep {
+                               mux {
+                                       pins = "gpio61";
+                                       function = "gpio";
+                               };
+
+                               config {
+                                       pins = "gpio61";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+                       };
+
+                       quat_mi2s_sd1_active: quat_mi2s_sd1_active {
+                               mux {
+                                       pins = "gpio61";
+                                       function = "qua_mi2s";
+                               };
+
+                               config {
+                                       pins = "gpio61";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                               };
+                       };
+
+                       quat_mi2s_sd2_sleep: quat_mi2s_sd2_sleep {
+                               mux {
+                                       pins = "gpio62";
+                                       function = "gpio";
+                               };
+
+                               config {
+                                       pins = "gpio62";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+                       };
+
+                       quat_mi2s_sd2_active: quat_mi2s_sd2_active {
+                               mux {
+                                       pins = "gpio62";
+                                       function = "qua_mi2s";
+                               };
+
+                               config {
+                                       pins = "gpio62";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                               };
+                       };
+
+                       quat_mi2s_sd3_sleep: quat_mi2s_sd3_sleep {
+                               mux {
+                                       pins = "gpio63";
+                                       function = "gpio";
+                               };
+
+                               config {
+                                       pins = "gpio63";
+                                       drive-strength = <2>;
+                                       bias-pull-down;
+                                       input-enable;
+                               };
+                       };
+
+                       quat_mi2s_sd3_active: quat_mi2s_sd3_active {
+                               mux {
+                                       pins = "gpio63";
+                                       function = "qua_mi2s";
+                               };
+
+                               config {
+                                       pins = "gpio63";
+                                       drive-strength = <8>;
+                                       bias-disable;
+                               };
+                       };
                };
 
                mss_pil: remoteproc@4080000 {