]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: qcom: apq8016-sbc: Replace spaces with tabs
authorStephan Gerhold <stephan@gerhold.net>
Fri, 5 Jun 2020 18:59:16 +0000 (20:59 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 21 Jun 2020 06:47:04 +0000 (23:47 -0700)
apq8016-sbc.dtsi uses spaces on some lines instead of tabs.
Make this consistent by converting them to tabs.

Also remove some redundant comments from the DAI link definitions
- this is already visible from the comment block before the "sound"
node or the device node entries itself.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200605185916.318494-4-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

index 8a4b790aa7ff1f8a6697e68c1eaec97c4cea2743..364014c9663229eefc9eff90bda37bc48d23fe9a 100644 (file)
 
                */
 
-                sound: sound {
-                        compatible = "qcom,apq8016-sbc-sndcard";
-                        reg = <0x07702000 0x4>, <0x07702004 0x4>;
-                        reg-names = "mic-iomux", "spkr-iomux";
-
-                        status = "okay";
-                        pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
-                        pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
-                        pinctrl-names = "default", "sleep";
-                        qcom,model = "DB410c";
-                        qcom,audio-routing =
-                                "AMIC2", "MIC BIAS Internal2",
-                                "AMIC3", "MIC BIAS External1";
+               sound: sound {
+                       compatible = "qcom,apq8016-sbc-sndcard";
+                       reg = <0x07702000 0x4>, <0x07702004 0x4>;
+                       reg-names = "mic-iomux", "spkr-iomux";
+
+                       status = "okay";
+                       pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
+                       pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
+                       pinctrl-names = "default", "sleep";
+                       qcom,model = "DB410c";
+                       qcom,audio-routing =
+                               "AMIC2", "MIC BIAS Internal2",
+                               "AMIC3", "MIC BIAS External1";
+
                        external-dai-link@0 {
                                link-name = "ADV7533";
-                               cpu { /* QUAT */
+                               cpu {
                                        sound-dai = <&lpass MI2S_QUATERNARY>;
                                };
                                codec {
                                };
                        };
 
-                        internal-codec-playback-dai-link@0 {            /* I2S - Internal codec */
-                                link-name = "WCD";
-                                cpu { /* PRIMARY */
-                                        sound-dai = <&lpass MI2S_PRIMARY>;
-                                };
-                                codec {
-                                        sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
-                                };
-                        };
-
-                        internal-codec-capture-dai-link@0 {             /* I2S - Internal codec */
-                                link-name = "WCD-Capture";
-                                cpu { /* PRIMARY */
-                                        sound-dai = <&lpass MI2S_TERTIARY>;
-                                };
-                                codec {
-                                        sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
-                                };
-                        };
-                };
+                       internal-codec-playback-dai-link@0 {
+                               link-name = "WCD";
+                               cpu {
+                                       sound-dai = <&lpass MI2S_PRIMARY>;
+                               };
+                               codec {
+                                       sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
+                               };
+                       };
+
+                       internal-codec-capture-dai-link@0 {
+                               link-name = "WCD-Capture";
+                               cpu {
+                                       sound-dai = <&lpass MI2S_TERTIARY>;
+                               };
+                               codec {
+                                       sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
+                               };
+                       };
+               };
 
                spmi@200f000 {
                        pm8916@0 {
 };
 
 &wcd_codec {
-        status = "okay";
-        clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
-        clock-names = "mclk";
+       status = "okay";
+       clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
+       clock-names = "mclk";
        qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
        qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
 };