All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@somainline.org>
To: ~postmarketos/upstreaming@lists.sr.ht
Cc: martin.botka@somainline.org,
	angelogioacchino.delregno@somainline.org,
	marijn.suijten@somainline.org, jamipkettunen@somainline.org,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 20/23] ARM: dts: qcom-msm8974*: Clean up old GPIO declarations
Date: Fri, 15 Apr 2022 13:56:30 +0200	[thread overview]
Message-ID: <20220415115633.575010-21-konrad.dybcio@somainline.org> (raw)
In-Reply-To: <20220415115633.575010-1-konrad.dybcio@somainline.org>

Remove unneeded level of nesting, as it does not match the current DTS
style.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 .../qcom-msm8974-lge-nexus5-hammerhead.dts    | 21 +++-----
 .../dts/qcom-msm8974-sony-xperia-rhine.dtsi   | 13 ++---
 .../boot/dts/qcom-msm8974pro-samsung-klte.dts | 53 +++++++------------
 3 files changed, 33 insertions(+), 54 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
index 7e4e723f1dc3..52b3f055e834 100644
--- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
@@ -573,12 +573,10 @@ cmd-data {
 	};
 
 	mpu6515_pin: mpu6515 {
-		irq {
-			pins = "gpio73";
-			function = "gpio";
-			bias-disable;
-			input-enable;
-		};
+		pins = "gpio73";
+		function = "gpio";
+		bias-disable;
+		input-enable;
 	};
 
 	touch_pin: touch {
@@ -601,13 +599,10 @@ reset {
 	};
 
 	panel_pin: panel {
-		te {
-			pins = "gpio12";
-			function = "mdp_vsync";
-
-			drive-strength = <2>;
-			bias-disable;
-		};
+		pins = "gpio12";
+		function = "mdp_vsync";
+		drive-strength = <2>;
+		bias-disable;
 	};
 
 	bt_pin: bt {
diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi
index c2e423d2a21e..1120972ae4d2 100644
--- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi
@@ -375,14 +375,11 @@ &smbb {
 
 &tlmm {
 	ts_int_pin: touch-int {
-		pin {
-			pins = "gpio61";
-			function = "gpio";
-
-			drive-strength = <2>;
-			bias-disable;
-			input-enable;
-		};
+		pins = "gpio61";
+		function = "gpio";
+		drive-strength = <2>;
+		bias-disable;
+		input-enable;
 	};
 
 	sdc1_on: sdc1-on {
diff --git a/arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts
index f230a657d0f3..7c7ad9e7baa6 100644
--- a/arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts
+++ b/arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts
@@ -780,50 +780,37 @@ cmd-data {
 	};
 
 	i2c_touchkey_pins: i2c-touchkey {
-		mux {
-			pins = "gpio95", "gpio96";
-			function = "gpio";
-			input-enable;
-			bias-pull-up;
-		};
+		pins = "gpio95", "gpio96";
+		function = "gpio";
+		input-enable;
+		bias-pull-up;
 	};
 
 	i2c_led_gpioex_pins: i2c-led-gpioex {
-		mux {
-			pins = "gpio120", "gpio121";
-			function = "gpio";
-			input-enable;
-			bias-pull-down;
-		};
+		pins = "gpio120", "gpio121";
+		function = "gpio";
+		input-enable;
+		bias-pull-down;
 	};
 
 	gpioex_pin: gpioex {
-		res {
-			pins = "gpio145";
-			function = "gpio";
-
-			bias-pull-up;
-			drive-strength = <2>;
-		};
+		pins = "gpio145";
+		function = "gpio";
+		bias-pull-up;
+		drive-strength = <2>;
 	};
 
 	wifi_pin: wifi {
-		int {
-			pins = "gpio92";
-			function = "gpio";
-
-			input-enable;
-			bias-pull-down;
-		};
+		pins = "gpio92";
+		function = "gpio";
+		input-enable;
+		bias-pull-down;
 	};
 
 	panel_te_pin: panel {
-		te {
-			pins = "gpio12";
-			function = "mdp_vsync";
-
-			drive-strength = <2>;
-			bias-disable;
-		};
+		pins = "gpio12";
+		function = "mdp_vsync";
+		drive-strength = <2>;
+		bias-disable;
 	};
 };
-- 
2.35.2


  parent reply	other threads:[~2022-04-15 11:58 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220415115633.575010-1-konrad.dybcio@somainline.org>
2022-04-15 11:56 ` [PATCH 01/23] ARM: dts: qcom-*-sony*: Mention SONY board names in DT filenames Konrad Dybcio
2022-04-15 11:56   ` Konrad Dybcio
2022-04-21 14:26   ` Bjorn Andersson
2022-04-21 14:26     ` Bjorn Andersson
2022-04-15 11:56 ` [PATCH 02/23] ARM: dts: qcom-msm8974: Remove properties that are always overriden Konrad Dybcio
2022-04-18 12:33   ` Krzysztof Kozlowski
2022-04-15 11:56 ` [PATCH 03/23] ARM: dts: qcom-msm8974*: Fix UART naming Konrad Dybcio
2022-04-15 11:56 ` [PATCH 04/23] ARM: dts: qcom-msm8974*: Fix I2C labels Konrad Dybcio
2022-04-18 12:34   ` Krzysztof Kozlowski
2022-04-15 11:56 ` [PATCH 05/23] ARM: dts: qcom-msm8974: Fix up mdss nodes Konrad Dybcio
2022-04-15 11:56 ` [PATCH 06/23] ARM: dts: qcom-msm8974: Fix up SDHCI nodes Konrad Dybcio
2022-04-15 11:56 ` [PATCH 07/23] ARM: dts: qcom-msm8974*: Rename msmgpio to tlmm Konrad Dybcio
2022-04-15 11:56 ` [PATCH 08/23] ARM: dts: qcom-apq8074-dragonboard: Use &labels Konrad Dybcio
2022-04-15 11:56 ` [PATCH 09/23] ARM: dts: qcom-msm8974-fp2: " Konrad Dybcio
2022-04-18 12:36   ` Krzysztof Kozlowski
2022-04-15 11:56 ` [PATCH 10/23] ARM: dts: qcom-msm8974-lge-nexus5: " Konrad Dybcio
2022-04-15 11:56 ` [PATCH 11/23] ARM: dts: qcom-msm8974-klte: " Konrad Dybcio
2022-04-15 11:56 ` [PATCH 12/23] ARM: dts: qcom-msm8974-{"hon","am"}ami: Commonize and modernize the DTs Konrad Dybcio
2022-04-15 11:56 ` [PATCH 13/23] ARM: dts: qcom-msm8974-castor: Use &labels Konrad Dybcio
2022-04-15 11:56 ` [PATCH 14/23] ARM: dts: qcom-msm8974pro: " Konrad Dybcio
2022-04-15 11:56 ` [PATCH 15/23] ARM: dts: qcom-msm8974pro-*: Use the 8974pro name in DT filenames Konrad Dybcio
2022-04-15 11:56   ` Konrad Dybcio
2022-04-15 11:56 ` [PATCH 16/23] ARM: dts: qcom-msm8974: Convert ADSP to a MMIO device Konrad Dybcio
2022-04-15 11:56 ` [PATCH 17/23] ARM: dts: qcom-msm8974: Sort and clean up nodes Konrad Dybcio
2022-04-15 11:56 ` [PATCH 18/23] ARM: dts: qcom-msm8974*: Enable IMEM unconditionally Konrad Dybcio
2022-04-15 11:56 ` [PATCH 19/23] ARM: dts: qcom-msm8974*: Consolidate I2C/UART/SDHCI Konrad Dybcio
2022-04-15 11:56 ` Konrad Dybcio [this message]
2022-04-15 11:56 ` [PATCH 21/23] ARM: dts: qcom-msm8974-rhine: Add NFC and enable I2C hosts Konrad Dybcio
2022-04-15 11:56 ` [PATCH 22/23] ARM: dts: qcom-msm8974-rhine: Add pstore node Konrad Dybcio
2022-04-15 11:56 ` [PATCH 23/23] ARM: dts: qcom-msm8974*: Remove unnecessary include 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=20220415115633.575010-21-konrad.dybcio@somainline.org \
    --to=konrad.dybcio@somainline.org \
    --cc=agross@kernel.org \
    --cc=angelogioacchino.delregno@somainline.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jamipkettunen@somainline.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marijn.suijten@somainline.org \
    --cc=martin.botka@somainline.org \
    --cc=robh+dt@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.