arm64: dts: qcom: msm/apq8x16-*: Fix up comments
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 7 Nov 2022 14:55:11 +0000 (15:55 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 8 Nov 2022 01:26:37 +0000 (19:26 -0600)
Switch '//' comments to C-style /* */ and fix up the contents of some.
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107145522.6706-2-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/apq8016-sbc.dts
arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts
arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 9ebc506..ef5b39b 100644 (file)
                function = "digital";
 
                output-low;
-               power-source = <PM8916_MPP_L5>; // 1.8V
+               power-source = <PM8916_MPP_L5>; /* 1.8V */
        };
 
        pm8916_mpps_leds: pm8916-mpps-state {
index a6a7d87..8c07eca 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
-// Copyright (C) 2021 Stephan Gerhold
+/*
+ * Copyright (C) 2021 Stephan Gerhold
+ */
 
 /dts-v1/;
 
index 3121457..d1e8cf2 100644 (file)
@@ -22,7 +22,7 @@
        };
 
        reserved-memory {
-               // wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000
+               /* wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000 */
                /delete-node/ wcnss@89300000;
 
                wcnss_mem: wcnss@8b600000 {
 
                rmi4-f01@1 {
                        reg = <0x1>;
-                       syna,nosleep-mode = <1>; // Allow sleeping
+                       syna,nosleep-mode = <1>; /* Allow sleeping */
                };
 
                rmi4-f12@12 {
                        reg = <0x12>;
-                       syna,sensor-type = <1>; // Touchscreen
+                       syna,sensor-type = <1>; /* Touchscreen */
                };
        };
 };
index db9e448..33dfcf3 100644 (file)
@@ -6,7 +6,7 @@
 &msmgpio {
 
        blsp1_uart1_default: blsp1-uart1-default-state {
-               //      TX, RX, CTS_N, RTS_N
+               /* TX, RX, CTS_N, RTS_N */
                pins = "gpio0", "gpio1", "gpio2", "gpio3";
                function = "blsp_uart1";
 
index f0ee5ed..d4984b3 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
-// Copyright (C) 2019 Stephan Gerhold
+/*
+ * Copyright (C) 2019 Stephan Gerhold
+ */
 
 /dts-v1/;
 
index 399326b..166bed0 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
-// Copyright (C) 2020 Stephan Gerhold
+/*
+ * Copyright (C) 2020 Stephan Gerhold
+ */
 
 /dts-v1/;
 
index c938d67..2ca8e97 100644 (file)
                        clock-names = "iface", "bus";
                        qcom,iommu-secure-id = <17>;
 
-                       // vfe:
+                       /* VFE */
                        iommu-ctx@3000 {
                                compatible = "qcom,msm-iommu-v1-sec";
                                reg = <0x3000 0x1000>;
                                interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
-                       // mdp_0:
+                       /* MDP_0 */
                        iommu-ctx@4000 {
                                compatible = "qcom,msm-iommu-v1-ns";
                                reg = <0x4000 0x1000>;
                                interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
-                       // venus_ns:
+                       /* VENUS_NS */
                        iommu-ctx@5000 {
                                compatible = "qcom,msm-iommu-v1-sec";
                                reg = <0x5000 0x1000>;
                        clock-names = "iface", "bus";
                        qcom,iommu-secure-id = <18>;
 
-                       // gfx3d_user:
+                       /* GFX3D_USER */
                        iommu-ctx@1000 {
                                compatible = "qcom,msm-iommu-v1-ns";
                                reg = <0x1000 0x1000>;
                                interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
-                       // gfx3d_priv:
+                       /* GFX3D_PRIV */
                        iommu-ctx@2000 {
                                compatible = "qcom,msm-iommu-v1-ns";
                                reg = <0x2000 0x1000>;