devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH 05/23] ARM: dts: qcom: apq8064-ifc6410: pull SDCC pwrseq node up one level
Date: Fri, 30 Sep 2022 21:52:18 +0300	[thread overview]
Message-ID: <20220930185236.867655-6-dmitry.baryshkov@linaro.org> (raw)
In-Reply-To: <20220930185236.867655-1-dmitry.baryshkov@linaro.org>

There are no need to add additional simple-bus nodes just to populate
a single pwrseq device. Pull it up one level into /. While we are at it
also fix node name replacing underscore with dash.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 610fb8d652c3..96307550523a 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -22,17 +22,6 @@ chosen {
 		stdout-path = "serial0:115200n8";
 	};
 
-	pwrseq {
-		compatible = "simple-bus";
-
-		sdcc4_pwrseq: sdcc4_pwrseq {
-			pinctrl-names = "default";
-			pinctrl-0 = <&wlan_default_gpios>;
-			compatible = "mmc-pwrseq-simple";
-			reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
-		};
-	};
-
 	leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -57,6 +46,13 @@ hdmi_con: endpoint {
 		};
 	};
 
+	sdcc4_pwrseq: pwrseq-sdcc4 {
+		pinctrl-names = "default";
+		pinctrl-0 = <&wlan_default_gpios>;
+		compatible = "mmc-pwrseq-simple";
+		reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
+	};
+
 	ext_3p3v: regulator-ext-3p3v {
 		compatible = "regulator-fixed";
 		regulator-min-microvolt = <3300000>;
-- 
2.35.1


  parent reply	other threads:[~2022-09-30 18:52 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-30 18:52 [PATCH 00/23] ARM: dts: qcom: rework DT for apq8064, msm8960 and msm8660 Dmitry Baryshkov
2022-09-30 18:52 ` [PATCH 01/23] ARM: dts: qcom: apq8064: disable HDMI nodes by default Dmitry Baryshkov
2022-10-03 16:14   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 02/23] ARM: dts: qcom: apq8064-ifc6410: use labels to patch device tree Dmitry Baryshkov
2022-10-03 16:29   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 03/23] ARM: dts: qcom: apq8064-ifc6410: pull ext-3p3v regulator from soc node Dmitry Baryshkov
2022-10-03 16:14   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 04/23] ARM: dts: qcom: apq8064-ifc6410: fix user1 LED node name Dmitry Baryshkov
2022-10-03 16:33   ` Neil Armstrong
2022-09-30 18:52 ` Dmitry Baryshkov [this message]
2022-10-03 16:34   ` [PATCH 05/23] ARM: dts: qcom: apq8064-ifc6410: pull SDCC pwrseq node up one level Neil Armstrong
2022-09-30 18:52 ` [PATCH 06/23] ARM: dts: qcom: apq8064-flo: use labels to patch device tree Dmitry Baryshkov
2022-10-03 16:30   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 07/23] ARM: dts: qcom: apq8064-nexus7-flo: fix node name for ext 3p3v regulator Dmitry Baryshkov
2022-10-03 16:16   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 08/23] ARM: dts: qcom: apq8064-cm-qs600: use labels to patch device tree Dmitry Baryshkov
2022-10-03 16:33   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 09/23] ARM: dts: qcom: apq8064-cm-qs600: pull 3p3v regulator from soc node Dmitry Baryshkov
2022-10-03 16:16   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 10/23] ARM: dts: qcom: apq8064-cm-qs600: pull SDCC pwrseq node up one level Dmitry Baryshkov
2022-10-03 16:20   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 11/23] ARM: dts: qcom: apq8064-sony-xperia-lagan-yuga: use labels to patch device tree Dmitry Baryshkov
2022-10-03 16:35   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 12/23] ARM: dts: qcom: apq8064: drop amba device node Dmitry Baryshkov
2022-10-03 16:22   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 13/23] ARM: dts: qcom: apq8064: drop unit ids from PMIC nodes Dmitry Baryshkov
2022-10-03 16:22   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 14/23] ARM: dts: qcom: apq8064: drop qcom, prefix from SSBI node name Dmitry Baryshkov
2022-10-03 16:24   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 15/23] ARM: dts: qcom: apq8064: fix the riva-pil node id Dmitry Baryshkov
2022-10-03 16:24   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 16/23] ARM: dts: qcom: msm8960: drop unit ids from PMIC nodes Dmitry Baryshkov
2022-10-03 16:24   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 17/23] ARM: dts: qcom: msm8960: drop qcom, prefix from SSBI node name Dmitry Baryshkov
2022-10-03 16:25   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 18/23] ARM: dts: qcom: msm8960-cdp: drop unit ids from regulator node Dmitry Baryshkov
2022-10-03 16:25   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 19/23] ARM: dts: qcom: msm8960: drop amba device node Dmitry Baryshkov
2022-10-03 16:26   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 20/23] ARM: dts: qcom: msm8660: move pm8058 LED devices to the main DT file Dmitry Baryshkov
2022-10-03 16:35   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 21/23] ARM: dts: qcom: apq8060-dragonboard: use labels to patch device tree Dmitry Baryshkov
2022-10-03 16:36   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 22/23] ARM: dts: qcom: msm8660: drop unit ids from PMIC nodes Dmitry Baryshkov
2022-10-03 16:27   ` Neil Armstrong
2022-09-30 18:52 ` [PATCH 23/23] ARM: dts: qcom: msm8660: drop qcom, prefix from SSBI node name Dmitry Baryshkov
2022-10-03 16:27   ` Neil Armstrong
2022-10-18  3:05 ` [PATCH 00/23] ARM: dts: qcom: rework DT for apq8064, msm8960 and msm8660 Bjorn Andersson

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=20220930185236.867655-6-dmitry.baryshkov@linaro.org \
    --to=dmitry.baryshkov@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=linux-arm-msm@vger.kernel.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).