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 12/23] ARM: dts: qcom: apq8064: drop amba device node
Date: Fri, 30 Sep 2022 21:52:25 +0300 [thread overview]
Message-ID: <20220930185236.867655-13-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 and sdcc bam nodes according to node addresses.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 131 +++++++++++++---------------
1 file changed, 62 insertions(+), 69 deletions(-)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index b6f1ef50fb1e..34d3fce17351 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -1085,15 +1085,22 @@ sata0: sata@29000000 {
ports-implemented = <0x1>;
};
- /* Temporary fixed regulator */
- sdcc1bam: dma-controller@12402000{
- compatible = "qcom,bam-v1.3.0";
- reg = <0x12402000 0x8000>;
- interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&gcc SDC1_H_CLK>;
- clock-names = "bam_clk";
- #dma-cells = <1>;
- qcom,ee = <0>;
+ sdcc3: mmc@12180000 {
+ compatible = "arm,pl18x", "arm,primecell";
+ arm,primecell-periphid = <0x00051180>;
+ status = "disabled";
+ reg = <0x12180000 0x2000>;
+ 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;
+ dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
+ dma-names = "tx", "rx";
};
sdcc3bam: dma-controller@12182000{
@@ -1106,6 +1113,25 @@ sdcc3bam: dma-controller@12182000{
qcom,ee = <0>;
};
+ sdcc4: mmc@121c0000 {
+ compatible = "arm,pl18x", "arm,primecell";
+ arm,primecell-periphid = <0x00051180>;
+ status = "disabled";
+ reg = <0x121c0000 0x2000>;
+ interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "cmd_irq";
+ clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
+ clock-names = "mclk", "apb_pclk";
+ bus-width = <4>;
+ cap-sd-highspeed;
+ cap-mmc-highspeed;
+ max-frequency = <48000000>;
+ dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
+ dma-names = "tx", "rx";
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdc4_gpios>;
+ };
+
sdcc4bam: dma-controller@121c2000{
compatible = "qcom,bam-v1.3.0";
reg = <0x121c2000 0x8000>;
@@ -1116,67 +1142,34 @@ sdcc4bam: dma-controller@121c2000{
qcom,ee = <0>;
};
- amba {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges;
- sdcc1: mmc@12400000 {
- status = "disabled";
- compatible = "arm,pl18x", "arm,primecell";
- pinctrl-names = "default";
- pinctrl-0 = <&sdcc1_pins>;
- arm,primecell-periphid = <0x00051180>;
- reg = <0x12400000 0x2000>;
- 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;
- dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
- dma-names = "tx", "rx";
- };
-
- sdcc3: mmc@12180000 {
- compatible = "arm,pl18x", "arm,primecell";
- arm,primecell-periphid = <0x00051180>;
- status = "disabled";
- reg = <0x12180000 0x2000>;
- 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;
- dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
- dma-names = "tx", "rx";
- };
+ sdcc1: mmc@12400000 {
+ status = "disabled";
+ compatible = "arm,pl18x", "arm,primecell";
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdcc1_pins>;
+ arm,primecell-periphid = <0x00051180>;
+ reg = <0x12400000 0x2000>;
+ 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;
+ dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
+ dma-names = "tx", "rx";
+ };
- sdcc4: mmc@121c0000 {
- compatible = "arm,pl18x", "arm,primecell";
- arm,primecell-periphid = <0x00051180>;
- status = "disabled";
- reg = <0x121c0000 0x2000>;
- interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "cmd_irq";
- clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
- clock-names = "mclk", "apb_pclk";
- bus-width = <4>;
- cap-sd-highspeed;
- cap-mmc-highspeed;
- max-frequency = <48000000>;
- dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
- dma-names = "tx", "rx";
- pinctrl-names = "default";
- pinctrl-0 = <&sdc4_gpios>;
- };
+ sdcc1bam: dma-controller@12402000{
+ compatible = "qcom,bam-v1.3.0";
+ reg = <0x12402000 0x8000>;
+ interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&gcc SDC1_H_CLK>;
+ clock-names = "bam_clk";
+ #dma-cells = <1>;
+ qcom,ee = <0>;
};
tcsr: syscon@1a400000 {
--
2.35.1
next prev 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 ` [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 ` Dmitry Baryshkov [this message]
2022-10-03 16:22 ` [PATCH 12/23] ARM: dts: qcom: apq8064: drop amba device node 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-13-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).