From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: linux-arm-msm@vger.kernel.org, andersson@kernel.org,
agross@kernel.org, krzysztof.kozlowski@linaro.org
Cc: patches@linaro.org, Konrad Dybcio <konrad.dybcio@linaro.org>,
Konrad Dybcio <konrad.dybcio@somainline.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 06/11] arm64: dts: qcom: sdm845-*: Fix up comments
Date: Mon, 7 Nov 2022 15:55:16 +0100 [thread overview]
Message-ID: <20221107145522.6706-7-konrad.dybcio@linaro.org> (raw)
In-Reply-To: <20221107145522.6706-1-konrad.dybcio@linaro.org>
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>
---
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 38 +++++++++++--------
.../boot/dts/qcom/sdm845-oneplus-common.dtsi | 5 ++-
.../boot/dts/qcom/sdm850-samsung-w737.dts | 2 +-
3 files changed, 27 insertions(+), 18 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
index 8ba3188ac4c3..ea092e884b45 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
@@ -120,9 +120,11 @@ lt9611_3v3: lt9611-3v3 {
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 @@ 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 {
@@ -195,9 +199,11 @@ v5p0_hdmiout: v5p0-hdmiout-regulator {
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 {
@@ -1192,7 +1198,7 @@ camera@10 {
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>;
@@ -1201,7 +1207,8 @@ camera@10 {
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
@@ -1229,10 +1236,10 @@ &cci_i2c1 {
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>;
@@ -1241,7 +1248,8 @@ camera@60 {
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.
@@ -1257,7 +1265,7 @@ camera@60 {
port {
ov7251_ep: endpoint {
data-lanes = <0 1>;
-// remote-endpoint = <&csiphy3_ep>;
+/* remote-endpoint = <&csiphy3_ep>; */
};
};
};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index 5d99908d4628..a51ec7fb1746 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -50,7 +50,8 @@ key-vol-up {
};
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.
*/
@@ -433,7 +434,7 @@ &mdss {
status = "okay";
};
-/* Modem/wifi*/
+/* Modem/wifi */
&mss_pil {
status = "okay";
firmware-name = "qcom/sdm845/oneplus6/mba.mbn", "qcom/sdm845/oneplus6/modem.mbn";
diff --git a/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts b/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts
index f93d748e2c94..b712834a5d64 100644
--- a/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts
+++ b/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts
@@ -43,7 +43,7 @@ chosen {
#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)>;
--
2.38.1
next prev parent reply other threads:[~2022-11-07 14:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20221107145522.6706-1-konrad.dybcio@linaro.org>
2022-11-07 14:55 ` [PATCH 01/11] arm64: dts: qcom: msm/apq8x16-*: Fix up comments Konrad Dybcio
2022-11-07 14:55 ` [PATCH 02/11] arm64: dts: qcom: msm/apq8x96-*: " Konrad Dybcio
2022-11-07 14:55 ` [PATCH 03/11] arm64: dts: qcom: msm8953: " Konrad Dybcio
2022-11-07 14:55 ` [PATCH 04/11] arm64: dts: qcom: msm8998-*: " Konrad Dybcio
2022-11-07 14:55 ` [PATCH 05/11] arm64: dts: qcom: sc8280xp-x13s: " Konrad Dybcio
2022-11-07 14:55 ` Konrad Dybcio [this message]
2022-11-07 14:55 ` [PATCH 07/11] arm64: dts: qcom: ipq8074-*: " Konrad Dybcio
2022-11-07 14:55 ` [PATCH 08/11] arm64: dts: qcom: msm8992-*: " Konrad Dybcio
2022-11-07 23:35 ` Petr Vorel
2022-11-07 14:55 ` [PATCH 09/11] arm64: dts: qcom: msm8994-*: " Konrad Dybcio
2022-11-07 14:55 ` [PATCH 10/11] arm64: dts: qcom: qcs404-*: " Konrad Dybcio
2022-11-07 14:55 ` [PATCH 11/11] arm64: dts: qcom: pm6150/l/pm7325/pms405: " Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221107145522.6706-7-konrad.dybcio@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@linaro.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).