Commit 10816289 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sdm845-*: Fix up comments



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: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107145522.6706-7-konrad.dybcio@linaro.org
parent b47fac7a
Loading
Loading
Loading
Loading
+23 −15
Original line number Diff line number Diff line
@@ -120,9 +120,11 @@
		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 {
@@ -133,9 +135,11 @@
		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 {
@@ -195,9 +199,11 @@
		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 {
@@ -1196,7 +1202,7 @@
		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>;
@@ -1205,7 +1211,8 @@
		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
@@ -1233,10 +1240,10 @@
	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>;
@@ -1245,7 +1252,8 @@
		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.
@@ -1261,7 +1269,7 @@
		port {
			ov7251_ep: endpoint {
				data-lanes = <0 1>;
//				remote-endpoint = <&csiphy3_ep>;
/*				remote-endpoint = <&csiphy3_ep>; */
			};
		};
	};
+3 −2
Original line number Diff line number Diff line
@@ -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.
		 */
+1 −1
Original line number Diff line number Diff line
@@ -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)>;