From: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
To: Han Xu <han.xu-3arQi8VN3Tc@public.gmane.org>
Cc: shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
"A.S. Dong" <aisheng.dong-3arQi8VN3Tc@public.gmane.org>,
dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
richard-/L3Ra7n9ekc@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org,
"LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org"
<LW-AvR2QvxeiV7DiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v5 2/3] ARM: dts: imx7: add GPMI NAND and APBH DMA
Date: Thu, 08 Jun 2017 15:23:05 -0700 [thread overview]
Message-ID: <956085c409415e76adcf4b429d8dc0b5@agner.ch> (raw)
In-Reply-To: <9d66efda-d7c1-89a2-e163-c86056e08fb1-3arQi8VN3Tc@public.gmane.org>
On 2017-06-07 08:33, Han Xu wrote:
> On 06/06/2017 01:30 AM, Stefan Agner wrote:
>> Add i.MX 7 APBH DMA and GPMI NAND modules.
>>
>> Signed-off-by: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
>> ---
>> arch/arm/boot/dts/imx7s.dtsi | 32 ++++++++++++++++++++++++++++++++
>> 1 file changed, 32 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
>> index c4f12fd..d71acd8 100644
>> --- a/arch/arm/boot/dts/imx7s.dtsi
>> +++ b/arch/arm/boot/dts/imx7s.dtsi
>> @@ -995,5 +995,37 @@
>> status = "disabled";
>> };
>> };
>> +
>> + dma_apbh: dma-apbh@33000000 {
>> + compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
>> + reg = <0x33000000 0x2000>;
>> + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
>> + interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
>> + #dma-cells = <1>;
>> + dma-channels = <4>;
>> + clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
>> + clock-names = "dma_apbh_bch", "dma_apbh_io";
>
> please remove the clock names, I am good with all other changes.
Oh missed that, will do and send v6.
--
Stefan
>> + };
>> +
>> + gpmi: gpmi-nand@33002000{
>> + compatible = "fsl,imx7d-gpmi-nand";
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
>> + reg-names = "gpmi-nand", "bch";
>> + interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
>> + interrupt-names = "bch";
>> + clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
>> + <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
>> + clock-names = "gpmi_io", "gpmi_bch_apb";
>> + dmas = <&dma_apbh 0>;
>> + dma-names = "rx-tx";
>> + status = "disabled";
>> + assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
>> + assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
>> + };
>> };
>> };
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-06-08 22:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 6:30 [PATCH v5 0/3] ARM: dts: imx7: add NAND support Stefan Agner
[not found] ` <cover.b62c3a17bd60de48d8fb2ade6dde4f2bc60aaf3c.1496730576.git-series.stefan-XLVq0VzYD2Y@public.gmane.org>
2017-06-06 6:30 ` [PATCH v5 1/3] clk: imx7d: create clocks behind rawnand clock gate Stefan Agner
2017-06-06 16:33 ` Fabio Estevam
2017-06-06 6:30 ` [PATCH v5 2/3] ARM: dts: imx7: add GPMI NAND and APBH DMA Stefan Agner
[not found] ` <151ddece1e1427d0b69c4ff11b86a69b6a035d0d.1496730576.git-series.stefan-XLVq0VzYD2Y@public.gmane.org>
2017-06-06 16:34 ` Fabio Estevam
2017-06-07 15:33 ` Han Xu
[not found] ` <9d66efda-d7c1-89a2-e163-c86056e08fb1-3arQi8VN3Tc@public.gmane.org>
2017-06-08 22:23 ` Stefan Agner [this message]
2017-06-06 6:30 ` [PATCH v5 3/3] ARM: dts: imx7-colibri: add NAND support Stefan Agner
[not found] ` <c740386a55dc28db37f250eccc11687c1b111554.1496730576.git-series.stefan-XLVq0VzYD2Y@public.gmane.org>
2017-06-06 16:35 ` Fabio Estevam
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=956085c409415e76adcf4b429d8dc0b5@agner.ch \
--to=stefan-xlvq0vzyd2y@public.gmane.org \
--cc=LW-AvR2QvxeiV7DiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org \
--cc=aisheng.dong-3arQi8VN3Tc@public.gmane.org \
--cc=boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=han.xu-3arQi8VN3Tc@public.gmane.org \
--cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=richard-/L3Ra7n9ekc@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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).