From 772f34de7bce985065eac304a3cedec12a26cd69 Mon Sep 17 00:00:00 2001 From: Deru Wang Date: Thu, 25 Mar 2021 11:37:22 +0800 Subject: [PATCH] ARM: dts: msm: add gpio cells property for auto sa*155 platform Add gpio cells property to define the number of cells in the gpio specifier. Change-Id: I068a1cee292afd9ef04d57772a9c3c345b5d7713 --- qcom/sa6155-audio.dtsi | 4 ++++ qcom/sa8155-audio.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/qcom/sa6155-audio.dtsi b/qcom/sa6155-audio.dtsi index a2aedec0d0ec..1da3130998b0 100644 --- a/qcom/sa6155-audio.dtsi +++ b/qcom/sa6155-audio.dtsi @@ -186,6 +186,7 @@ &ter_i2s_data1_active>; pinctrl-1 = <&ter_i2s_sck_sleep &ter_i2s_data0_sleep &ter_i2s_data1_sleep>; + #gpio-cells = <0>; dai_tert_tdm_rx_0: qcom,msm-dai-q6-tdm-tert-rx-0 { compatible = "qcom,msm-dai-q6-tdm"; qcom,msm-cpudai-tdm-dev-id = <36896>; @@ -282,6 +283,7 @@ pinctrl-1 = <&quat_tdm_sclk_sleep &quat_tdm_ws_sleep &quat_tdm_data0_sleep &quat_tdm_data1_sleep &quat_tdm_data2_sleep &quat_tdm_data3_sleep>; + #gpio-cells = <0>; dai_quat_tdm_rx_0: qcom,msm-dai-q6-tdm-quat-rx-0 { compatible = "qcom,msm-dai-q6-tdm"; qcom,msm-cpudai-tdm-dev-id = <36912>; @@ -376,6 +378,7 @@ &quin_tdm_data0_active &quin_tdm_data1_active>; pinctrl-1 = <&quin_tdm_sclk_sleep &quin_tdm_ws_sleep &quin_tdm_data0_sleep &quin_tdm_data1_sleep>; + #gpio-cells = <0>; dai_quin_tdm_rx_0: qcom,msm-dai-q6-tdm-quin-rx-0 { compatible = "qcom,msm-dai-q6-tdm"; qcom,msm-cpudai-tdm-dev-id = <36928>; @@ -464,6 +467,7 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&audio_internal_mclk2_active>; pinctrl-1 = <&audio_internal_mclk2_sleep>; + #gpio-cells = <0>; }; qcom,msm-dai-q6 { diff --git a/qcom/sa8155-audio.dtsi b/qcom/sa8155-audio.dtsi index 2a4d9777df24..e93ab89508e5 100644 --- a/qcom/sa8155-audio.dtsi +++ b/qcom/sa8155-audio.dtsi @@ -105,6 +105,7 @@ &sec_tdm_dout_active>; pinctrl-1 = <&sec_tdm_sleep &sec_tdm_din_sleep &sec_tdm_dout_sleep>; + #gpio-cells = <0>; dai_sec_tdm_rx_0: qcom,msm-dai-q6-tdm-sec-rx-0 { compatible = "qcom,msm-dai-q6-tdm"; qcom,msm-cpudai-tdm-dev-id = <36880>; @@ -191,6 +192,7 @@ &tert_tdm_dout_active>; pinctrl-1 = <&tert_tdm_sleep &tert_tdm_din_sleep &tert_tdm_dout_sleep>; + #gpio-cells = <0>; dai_tert_tdm_rx_0: qcom,msm-dai-q6-tdm-tert-rx-0 { compatible = "qcom,msm-dai-q6-tdm"; qcom,msm-cpudai-tdm-dev-id = <36896>; @@ -285,6 +287,7 @@ &quat_tdm_dout_active>; pinctrl-1 = <&quat_tdm_sleep &quat_tdm_din_sleep &quat_tdm_dout_sleep>; + #gpio-cells = <0>; dai_quat_tdm_rx_0: qcom,msm-dai-q6-tdm-quat-rx-0 { compatible = "qcom,msm-dai-q6-tdm"; qcom,msm-cpudai-tdm-dev-id = <36912>; @@ -379,6 +382,7 @@ &quin_tdm_dout_active>; pinctrl-1 = <&quin_tdm_sleep &quin_tdm_din_sleep &quin_tdm_dout_sleep>; + #gpio-cells = <0>; dai_quin_tdm_rx_0: qcom,msm-dai-q6-tdm-quin-rx-0 { compatible = "qcom,msm-dai-q6-tdm"; qcom,msm-cpudai-tdm-dev-id = <36928>;