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 19/23] ARM: dts: qcom: msm8960: drop amba device node
Date: Fri, 30 Sep 2022 21:52:32 +0300	[thread overview]
Message-ID: <20220930185236.867655-20-dmitry.baryshkov@linaro.org> (raw)
In-Reply-To: <20220930185236.867655-1-dmitry.baryshkov@linaro.org>

The separate amba device node doesn't add anything significant to the
DT. The OF parsing code already creates ambda_device or platform_device
depending on the compatibility lists. Drop the amba node and reorder
sdcc nodes according to node addresses.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm/boot/dts/qcom-msm8960.dtsi | 68 +++++++++++++----------------
 1 file changed, 31 insertions(+), 37 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi
index 487ab9b8d23b..30abf53b062d 100644
--- a/arch/arm/boot/dts/qcom-msm8960.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8960.dtsi
@@ -297,44 +297,38 @@ rng@1a500000 {
 			clock-names = "core";
 		};
 
-		amba {
-			compatible = "simple-bus";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges;
-			sdcc1: mmc@12400000 {
-				status = "disabled";
-				compatible = "arm,pl18x", "arm,primecell";
-				arm,primecell-periphid = <0x00051180>;
-				reg = <0x12400000 0x8000>;
-				interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
-				interrupt-names = "cmd_irq";
-				clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
-				clock-names = "mclk", "apb_pclk";
-				bus-width = <8>;
-				max-frequency = <96000000>;
-				non-removable;
-				cap-sd-highspeed;
-				cap-mmc-highspeed;
-				vmmc-supply = <&vsdcc_fixed>;
-			};
+		sdcc3: mmc@12180000 {
+			compatible = "arm,pl18x", "arm,primecell";
+			arm,primecell-periphid = <0x00051180>;
+			status = "disabled";
+			reg = <0x12180000 0x8000>;
+			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "cmd_irq";
+			clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
+			clock-names = "mclk", "apb_pclk";
+			bus-width = <4>;
+			cap-sd-highspeed;
+			cap-mmc-highspeed;
+			max-frequency = <192000000>;
+			no-1-8-v;
+			vmmc-supply = <&vsdcc_fixed>;
+		};
 
-			sdcc3: mmc@12180000 {
-				compatible = "arm,pl18x", "arm,primecell";
-				arm,primecell-periphid = <0x00051180>;
-				status = "disabled";
-				reg = <0x12180000 0x8000>;
-				interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
-				interrupt-names = "cmd_irq";
-				clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
-				clock-names = "mclk", "apb_pclk";
-				bus-width = <4>;
-				cap-sd-highspeed;
-				cap-mmc-highspeed;
-				max-frequency = <192000000>;
-				no-1-8-v;
-				vmmc-supply = <&vsdcc_fixed>;
-			};
+		sdcc1: mmc@12400000 {
+			status = "disabled";
+			compatible = "arm,pl18x", "arm,primecell";
+			arm,primecell-periphid = <0x00051180>;
+			reg = <0x12400000 0x8000>;
+			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "cmd_irq";
+			clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
+			clock-names = "mclk", "apb_pclk";
+			bus-width = <8>;
+			max-frequency = <96000000>;
+			non-removable;
+			cap-sd-highspeed;
+			cap-mmc-highspeed;
+			vmmc-supply = <&vsdcc_fixed>;
 		};
 
 		tcsr: syscon@1a400000 {
-- 
2.35.1


  parent reply	other threads:[~2022-09-30 18:53 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 ` [PATCH 05/23] ARM: dts: qcom: apq8064-ifc6410: pull SDCC pwrseq node up one level Dmitry Baryshkov
2022-10-03 16:34   ` 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 ` Dmitry Baryshkov [this message]
2022-10-03 16:26   ` [PATCH 19/23] ARM: dts: qcom: msm8960: drop amba device node 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-20-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).