* [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs @ 2017-03-22 12:03 Huibin Hong 2017-03-22 12:49 ` Heiko Stübner 0 siblings, 1 reply; 3+ messages in thread From: Huibin Hong @ 2017-03-22 12:03 UTC (permalink / raw) To: robh+dt, mark.rutland, catalin.marinas, will.deacon, heiko Cc: devicetree, felipe.balbi, Huibin Hong, johnyoun, linux-kernel, jh80.chung, linux-rockchip, linux-arm-kernel, andy.yan, jic23, wxt Add dmac bus and dmac peri dts nodes for peripherals, such as I2S, SPI, UART and so on. Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index a635adc..2a0422f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -189,6 +189,35 @@ }; }; + amba { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + dmac_peri: dma-controller@ff250000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x0 0xff250000 0x0 0x4000>; + interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + clocks = <&cru ACLK_DMAC_PERI>; + clock-names = "apb_pclk"; + arm,pl330-broken-no-flushp; + }; + + dmac_bus: dma-controller@ff600000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x0 0xff600000 0x0 0x4000>; + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + clocks = <&cru ACLK_DMAC_BUS>; + clock-names = "apb_pclk"; + arm,pl330-broken-no-flushp; + }; + }; + arm-pmu { compatible = "arm,armv8-pmuv3"; interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, -- 2.0.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs 2017-03-22 12:03 [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs Huibin Hong @ 2017-03-22 12:49 ` Heiko Stübner 2017-03-22 12:52 ` hhb 0 siblings, 1 reply; 3+ messages in thread From: Heiko Stübner @ 2017-03-22 12:49 UTC (permalink / raw) To: Huibin Hong Cc: mark.rutland, devicetree, felipe.balbi, johnyoun, catalin.marinas, will.deacon, linux-kernel, jh80.chung, linux-rockchip, robh+dt, linux-arm-kernel, andy.yan, jic23, wxt Hi, Am Mittwoch, 22. März 2017, 20:03:14 CET schrieb Huibin Hong: > Add dmac bus and dmac peri dts nodes for peripherals, > such as I2S, SPI, UART and so on. > > Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> I applied that patch already in [0], did something change? [0] https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?id=4b4c0db538fa6e3f31bc40ddc17c1d5facb49d36 > --- > arch/arm64/boot/dts/rockchip/rk3368.dtsi | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi > b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index a635adc..2a0422f 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi > @@ -189,6 +189,35 @@ > }; > }; > > + amba { > + compatible = "simple-bus"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + dmac_peri: dma-controller@ff250000 { > + compatible = "arm,pl330", "arm,primecell"; > + reg = <0x0 0xff250000 0x0 0x4000>; > + interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; > + #dma-cells = <1>; > + clocks = <&cru ACLK_DMAC_PERI>; > + clock-names = "apb_pclk"; > + arm,pl330-broken-no-flushp; > + }; > + > + dmac_bus: dma-controller@ff600000 { > + compatible = "arm,pl330", "arm,primecell"; > + reg = <0x0 0xff600000 0x0 0x4000>; > + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; > + #dma-cells = <1>; > + clocks = <&cru ACLK_DMAC_BUS>; > + clock-names = "apb_pclk"; > + arm,pl330-broken-no-flushp; > + }; > + }; > + > arm-pmu { > compatible = "arm,armv8-pmuv3"; > interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs 2017-03-22 12:49 ` Heiko Stübner @ 2017-03-22 12:52 ` hhb 0 siblings, 0 replies; 3+ messages in thread From: hhb @ 2017-03-22 12:52 UTC (permalink / raw) To: HeikoStübner, 洪慧斌 Cc: robh+dt, mark.rutland, catalin.marinas, will.deacon, Caesar Wang, 闫孝军, felipe.balbi, jic23, jh80.chung, johnyoun, devicetree, linux-arm-kernel, linux-rockchip, linux-kernel [-- Attachment #1: Type: text/plain, Size: 4980 bytes --] Hi Heiko My new patch is the same as yours, please ignore it, thanks. hhb 祝工作愉快! 洪慧斌 honghuibin 底层平台中心 福州瑞芯微电子股份有限公司 / Fuzhou Rockchip Electronics Co., Ltd.Fuzhou Rockchip Electronics Co., Ltd 总部地址:福建省福州市铜盘路软件大道89号软件园A区21号楼 深圳地址:南山区科技园科技中一路万利达大厦21层 Address: No. 21 Building, A District, No.89,software Boulevard Fuzhou,Fujian,PRC (Fuzhou Headquarters) 邮编:350003 手机:15980201710 电话:(86-0591)83991906/83991907-8604 传真:(86-0591)83951833 E-mail:hhb@rock-chips.com **************************************************************************** 保密提示: 本邮件及其附件含有机密信息来自福州瑞芯微电子有限公司,仅发送给本邮件所指特定收件人。若非该特定收件人, 请勿复制、 使用或披露本邮件的任何内容。若误收本邮件,请从系统中永久性删除本邮件及所有附件,并以回复邮件 或其他方式即刻告知发件人。福州瑞芯微电子有限公司拥有本邮件信息的著作权及解释权,禁止任何未经授权许可的 侵权行为。 IMPORTANT NOTICE: This email is from Fuzhou Rockchip Electronics Co., Ltd .The contents of this email and any attachments may contain information that is privileged, confidential and/or exempt from disclosure under applicable law and relevant NDA. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information is STRICTLY PROHIBITED. Please immediately contact the sender as soon as possible and destroy the material in its entirety in any format. Thank you. **************************************************************************** From: HeikoStübnerDate: 2017-03-22 20:49To: Huibin HongCC: robh+dt; mark.rutland; catalin.marinas; will.deacon; wxt; andy.yan; felipe.balbi; jic23; jh80.chung; johnyoun; devicetree; linux-arm-kernel; linux-rockchip; linux-kernelSubject: Re: [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCsHi, Am Mittwoch, 22. März 2017, 20:03:14 CET schrieb Huibin Hong: > Add dmac bus and dmac peri dts nodes for peripherals, > such as I2S, SPI, UART and so on. > > Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> I applied that patch already in [0], did something change? [0] https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?id=4b4c0db538fa6e3f31bc40ddc17c1d5facb49d36 > --- > arch/arm64/boot/dts/rockchip/rk3368.dtsi | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi > b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index a635adc..2a0422f 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi > @@ -189,6 +189,35 @@ > }; > }; > > + amba { > + compatible = "simple-bus"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + dmac_peri: dma-controller@ff250000 { > + compatible = "arm,pl330", "arm,primecell"; > + reg = <0x0 0xff250000 0x0 0x4000>; > + interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; > + #dma-cells = <1>; > + clocks = <&cru ACLK_DMAC_PERI>; > + clock-names = "apb_pclk"; > + arm,pl330-broken-no-flushp; > + }; > + > + dmac_bus: dma-controller@ff600000 { > + compatible = "arm,pl330", "arm,primecell"; > + reg = <0x0 0xff600000 0x0 0x4000>; > + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; > + #dma-cells = <1>; > + clocks = <&cru ACLK_DMAC_BUS>; > + clock-names = "apb_pclk"; > + arm,pl330-broken-no-flushp; > + }; > + }; > + > arm-pmu { > compatible = "arm,armv8-pmuv3"; > interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, [-- Attachment #2: Type: text/html, Size: 10931 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-22 12:52 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-03-22 12:03 [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs Huibin Hong 2017-03-22 12:49 ` Heiko Stübner 2017-03-22 12:52 ` hhb
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).