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 9ebc506810f65d655761b6f5c23d10529cc0869a..ef5b39ba123831c08f51b71fb874a934fdb6091c 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 a6a7d870f5866b8c3665ea602e6ea9a64b135266..8c07eca900d3f8edcf6b47a6d3e9f3a684cf312e 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 31214570be4bfc1c78d57b96b2ce7aed94276e04..d1e8cf2f50c0d9e3d020a9c4326fa96640012416 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 db9e448d0a64bbe4005fc3b8f8d4a3bbf5aebdb5..33dfcf318a81bebb3e619c7c6696d64f08d25066 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 f0ee5ed7cf818b1ed9257c7d1b6087e29d918f0c..d4984b3af8023a0288574162f51112deafeee373 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 399326b8f99e42eb059ba804d92b2130dcdca714..166bed05996ffb34a72bf7b35385678c655cc185 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 c938d6715ca6097561bbdf853f0b4e7d91474670..2ca8e977fc2a9753ed8b271525e3c746013d2d70 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>;