* [PATCH 3/5] ARM: dts: am33xx: Add interrupts and memory resources for MMC
@ 2013-06-26 1:24 Joel A Fernandes
2013-06-26 16:33 ` Balaji T K
0 siblings, 1 reply; 2+ messages in thread
From: Joel A Fernandes @ 2013-06-26 1:24 UTC (permalink / raw)
To: Tony Lindgren, Sekhar Nori, Matt Porter, Grant Likely,
Rob Herring, Vinod Koul, Mark Brown, Benoit Cousson, Russell King,
Rob Landley, Andrew Morton, Jason Kridner, Koen Kooi, Balaji TK,
Chris Ball
Cc: Linux DaVinci Kernel List, Arnd Bergmann,
Linux Documentation List, Devicetree Discuss, Linux MMC List,
Linux Kernel Mailing List, Linux SPI Devel List, Linux OMAP List,
Linux ARM Kernel List
From: Joel A Fernandes <agnel.joel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
HWMOD irq entries for MMC were removed. We provide the same from DT for MMC.
This fixes issue where memory resource could not be found during probe.
Also, added the reg-offset property to account for the offset from start.
Signed-off-by: Joel A Fernandes <agnel.joel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 119f8a9..e0a5741 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -237,6 +237,10 @@
dmas = <&edma 24
&edma 25>;
dma-names = "tx", "rx";
+ interrupts = <64>;
+ interrupt-parent = <&intc>;
+ reg = <0x48060000 0x1000>;
+ reg-offset = <0x100>;
status = "disabled";
};
@@ -247,6 +251,10 @@
dmas = <&edma 2
&edma 3>;
dma-names = "tx", "rx";
+ interrupts = <24>;
+ interrupt-parent = <&intc>;
+ reg = <0x481d8000 0x1000>;
+ reg-offset = <0x100>;
status = "disabled";
};
@@ -254,6 +262,10 @@
compatible = "ti,omap3-hsmmc";
ti,hwmods = "mmc3";
ti,needs-special-reset;
+ interrupts = <25>;
+ interrupt-parent = <&intc>;
+ reg = <0x47810000 0x1000>;
+ reg-offset = <0x100>;
status = "disabled";
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/5] ARM: dts: am33xx: Add interrupts and memory resources for MMC
2013-06-26 1:24 [PATCH 3/5] ARM: dts: am33xx: Add interrupts and memory resources for MMC Joel A Fernandes
@ 2013-06-26 16:33 ` Balaji T K
0 siblings, 0 replies; 2+ messages in thread
From: Balaji T K @ 2013-06-26 16:33 UTC (permalink / raw)
To: Joel A Fernandes
Cc: Mark Brown, Tony Lindgren, Sekhar Nori, Koen Kooi, Grant Likely,
Russell King, Vinod Koul, Linux Documentation List, Chris Ball,
Arnd Bergmann, Devicetree Discuss, Rob Herring, Jason Kridner,
Linux OMAP List, Linux ARM Kernel List, Linux DaVinci Kernel List,
Benoit Cousson, Linux MMC List, Linux Kernel Mailing List,
Rob Landley, Linux SPI Devel List <spi-dev
Hi Joel,
On Wednesday 26 June 2013 06:54 AM, Joel A Fernandes wrote:
> From: Joel A Fernandes <agnel.joel@gmail.com>
>
> HWMOD irq entries for MMC were removed. We provide the same from DT for MMC.
>
> This fixes issue where memory resource could not be found during probe.
> Also, added the reg-offset property to account for the offset from start.
>
> Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
> ---
> arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 119f8a9..e0a5741 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -237,6 +237,10 @@
> dmas = <&edma 24
> &edma 25>;
> dma-names = "tx", "rx";
> + interrupts = <64>;
> + interrupt-parent = <&intc>;
> + reg = <0x48060000 0x1000>;
> + reg-offset = <0x100>;
> status = "disabled";
> };
>
> @@ -247,6 +251,10 @@
> dmas = <&edma 2
> &edma 3>;
> dma-names = "tx", "rx";
> + interrupts = <24>;
s/24/28
> + interrupt-parent = <&intc>;
> + reg = <0x481d8000 0x1000>;
> + reg-offset = <0x100>;
> status = "disabled";
> };
>
> @@ -254,6 +262,10 @@
> compatible = "ti,omap3-hsmmc";
compatible should be ti,omap4-hsmmc since omap4 hsmmc IP is re-used in am33xx
and reg-offset property is not needed.
combine this patch with 2/5 ARM: dts: add AM33XX MMC support and please add
your signed-off to that patch.
> ti,hwmods = "mmc3";
> ti,needs-special-reset;
> + interrupts = <25>;
s/25/29
> + interrupt-parent = <&intc>;
> + reg = <0x47810000 0x1000>;
> + reg-offset = <0x100>;
> status = "disabled";
> };
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-26 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 1:24 [PATCH 3/5] ARM: dts: am33xx: Add interrupts and memory resources for MMC Joel A Fernandes
2013-06-26 16:33 ` Balaji T K
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).