OSDN Git Service

arm64: dts: qcom: sdm845-*: Fix up comments
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 7 Nov 2022 14:55:16 +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 /* */.
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-7-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sdm845-db845c.dts
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts

index 3a407af..02dcf75 100644 (file)
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
 
-               // TODO: make it possible to drive same GPIO from two clients
-               // gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>;
-               // enable-active-high;
+               /*
+                * TODO: make it possible to drive same GPIO from two clients
+                * gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>;
+                * enable-active-high;
+                */
        };
 
        pcie0_1p05v: pcie-0-1p05v-regulator {
                regulator-min-microvolt = <1050000>;
                regulator-max-microvolt = <1050000>;
 
-               // TODO: make it possible to drive same GPIO from two clients
-               // gpio = <&tlmm 90 GPIO_ACTIVE_HIGH>;
-               // enable-active-high;
+               /*
+                * TODO: make it possible to drive same GPIO from two clients
+                * gpio = <&tlmm 90 GPIO_ACTIVE_HIGH>;
+                * enable-active-high;
+                */
        };
 
        cam0_dvdd_1v2: reg_cam0_dvdd_1v2 {
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <500000>;
 
-               // TODO: make it possible to drive same GPIO from two clients
-               // gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>;
-               // enable-active-high;
+               /*
+                * TODO: make it possible to drive same GPIO from two clients
+                * gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>;
+                * enable-active-high;
+                */
        };
 
        vbat: vbat-regulator {
                compatible = "ovti,ov8856";
                reg = <0x10>;
 
-               // CAM0_RST_N
+               /* CAM0_RST_N */
                reset-gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
                pinctrl-names = "default";
                pinctrl-0 = <&cam0_default>;
                clock-names = "xvclk";
                clock-frequency = <19200000>;
 
-               /* The &vreg_s4a_1p8 trace is powered on as a,
+               /*
+                * The &vreg_s4a_1p8 trace is powered on as a,
                 * so it is represented by a fixed regulator.
                 *
                 * The 2.8V vdda-supply and 1.2V vddd-supply regulators
        camera@60 {
                compatible = "ovti,ov7251";
 
-               // I2C address as per ov7251.txt linux documentation
+               /* I2C address as per ov7251.txt linux documentation */
                reg = <0x60>;
 
-               // CAM3_RST_N
+               /* CAM3_RST_N */
                enable-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&cam3_default>;
                clock-names = "xclk";
                clock-frequency = <24000000>;
 
-               /* The &vreg_s4a_1p8 trace always powered on.
+               /*
+                * The &vreg_s4a_1p8 trace always powered on.
                 *
                 * The 2.8V vdda-supply regulator is enabled when the
                 * vreg_s4a_1p8 trace is pulled high.
                port {
                        ov7251_ep: endpoint {
                                data-lanes = <0 1>;
-//                             remote-endpoint = <&csiphy3_ep>;
+/*                             remote-endpoint = <&csiphy3_ep>; */
                        };
                };
        };
index 7e9a66c..42cf4dd 100644 (file)
@@ -50,7 +50,8 @@
        };
 
        reserved-memory {
-               /* The rmtfs_mem needs to be guarded due to "XPU limitations"
+               /*
+                * The rmtfs_mem needs to be guarded due to "XPU limitations"
                 * it is otherwise possible for an allocation adjacent to the
                 * rmtfs_mem region to trigger an XPU violation, causing a crash.
                 */
        status = "okay";
 };
 
-/* Modem/wifi*/
+/* Modem/wifi */
 &mss_pil {
        status = "okay";
        firmware-name = "qcom/sdm845/oneplus6/mba.mbn", "qcom/sdm845/oneplus6/modem.mbn";
index f93d748..b712834 100644 (file)
@@ -43,7 +43,7 @@
                #size-cells = <2>;
                ranges;
 
-               // Firmware initialized the display at 1280p instead of 1440p
+               /* Firmware initialized the display at 1280p instead of 1440p */
                framebuffer0: framebuffer@80400000 {
                        compatible = "simple-framebuffer";
                        reg = <0 0x80400000 0 (1920 * 1280 * 4)>;