diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2022-11-07 15:55:12 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-11-07 19:26:37 -0600 |
commit | bd95b48a591cc0fd767b3c737b8d59cea5ff428d (patch) | |
tree | 10299f4e86e4c0ccad1e7ea09d37f0936038c7f3 /arch | |
parent | 4bb376f6cc715fb9182942df08d492965d5f0127 (diff) | |
download | lwn-bd95b48a591cc0fd767b3c737b8d59cea5ff428d.tar.gz lwn-bd95b48a591cc0fd767b3c737b8d59cea5ff428d.zip |
arm64: dts: qcom: msm/apq8x96-*: Fix up comments
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.
Also, fix up a single raw '2' to PM8994_GPIO_S4 while at it.
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-3-konrad.dybcio@linaro.org
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 14 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 |
2 files changed, 9 insertions, 8 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts index 1b0a01f1e237..fe6c415e8229 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts @@ -524,7 +524,7 @@ pins = "gpio5"; function = PMIC_GPIO_FUNC_NORMAL; output-low; - power-source = <2>; // PM8994_GPIO_S4, 1.8V + power-source = <PM8994_GPIO_S4>; /* 1.8V */ }; }; @@ -533,7 +533,7 @@ pins = "gpio19"; function = PMIC_GPIO_FUNC_NORMAL; output-low; - power-source = <PM8994_GPIO_S4>; // 1.8V + power-source = <PM8994_GPIO_S4>; /* 1.8V */ qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; bias-pull-down; }; @@ -544,7 +544,7 @@ pins = "gpio8"; function = PMIC_GPIO_FUNC_NORMAL; output-low; - power-source = <PM8994_GPIO_S4>; // 1.8V + power-source = <PM8994_GPIO_S4>; /* 1.8V */ qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; bias-pull-down; }; @@ -554,7 +554,7 @@ pinconf { pins = "gpio15"; function = "func1"; - power-source = <PM8994_GPIO_S4>; // 1.8V + power-source = <PM8994_GPIO_S4>; /* 1.8V */ }; }; @@ -566,7 +566,7 @@ drive-push-pull; bias-pull-up; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; - power-source = <PM8994_GPIO_S4>; // 1.8V + power-source = <PM8994_GPIO_S4>; /* 1.8V */ }; }; @@ -587,7 +587,7 @@ input-enable; bias-pull-down; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; - power-source = <PM8994_GPIO_S4>; // 1.8V + power-source = <PM8994_GPIO_S4>; /* 1.8V */ }; }; }; @@ -643,7 +643,7 @@ input-enable; bias-pull-down; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; - power-source = <PM8994_GPIO_S4>; // 1.8V + power-source = <PM8994_GPIO_S4>; /* 1.8V */ }; }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index ed27342045f7..747e1aac497f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. +/* + * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. */ #include <dt-bindings/interrupt-controller/arm-gic.h> |