Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1603199

Re: [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs

From Heiko Stuebner <heiko@sntech.de>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs
Date 2017-03-17 12:10 +0100
Message-ID <tlXVE-5ur-13@gated-at.bofh.it> (permalink)
References <tgSaf-7JR-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Freitag, 3. März 2017, 17:49:09 CET schrieb Huibin Hong:
> Addd 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>

applied for 4.12, with the changes described below

> ---
>  arch/arm64/boot/dts/rockchip/rk3368.dtsi | 31
> +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index a635adc..c9be1b2 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> @@ -204,6 +204,37 @@
>  				     <&cpu_b2>, <&cpu_b3>;
>  	};
> 
> +	amba {

moved "amba" above "arm-pmu", please mind the alphabetical ordering in the 
future.

> +		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;
> +			peripherals-req-type-burst;

dropped peripherals-req-type-burst, as it is not part of mainline (yet?).
Please send a patch readding that if it gets submitted and accepted at some 
point.


Heiko

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] arm64: dts: rockchip: add dmac nodes for rk3368 SoCs Heiko Stuebner <heiko@sntech.de> - 2017-03-17 12:10 +0100

csiph-web