From: Tobias Schramm <t.schramm@manjaro.org> To: "Jernej Škrabec" <jernej.skrabec@gmail.com>, devicetree@vger.kernel.org Cc: Rob Herring <robh+dt@kernel.org>, Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Tobias Schramm <t.schramm@manjaro.org> Subject: [PATCH v2 2/7] ARM: dts: sun8i: v3s: add DMA properties to peripherals supporting DMA Date: Fri, 14 May 2021 01:30:19 +0200 [thread overview] Message-ID: <20210513233024.2076725-3-t.schramm@manjaro.org> (raw) In-Reply-To: <20210513233024.2076725-1-t.schramm@manjaro.org> This commit adds DMA properties to all peripherals supporting DMA on the Allwinner V3s, enabling accelerated data transfer to them. Signed-off-by: Tobias Schramm <t.schramm@manjaro.org> --- arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index f0296ab46137..3eaa8703e2ac 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -285,6 +285,8 @@ crypto@1c15000 { interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; clock-names = "ahb", "mod"; + dmas = <&dma 16>, <&dma 16>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_CE>; reset-names = "ahb"; }; @@ -446,6 +448,8 @@ uart0: serial@1c28000 { reg-shift = <2>; reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART0>; + dmas = <&dma 6>, <&dma 6>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_UART0>; status = "disabled"; }; @@ -457,6 +461,8 @@ uart1: serial@1c28400 { reg-shift = <2>; reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART1>; + dmas = <&dma 7>, <&dma 7>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_UART1>; status = "disabled"; }; @@ -468,6 +474,8 @@ uart2: serial@1c28800 { reg-shift = <2>; reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART2>; + dmas = <&dma 8>, <&dma 8>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_UART2>; pinctrl-0 = <&uart2_pins>; pinctrl-names = "default"; @@ -547,6 +555,8 @@ spi0: spi@1c68000 { interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; clock-names = "ahb", "mod"; + dmas = <&dma 23>, <&dma 23>; + dma-names = "rx", "tx"; pinctrl-names = "default"; pinctrl-0 = <&spi0_pins>; resets = <&ccu RST_BUS_SPI0>; -- 2.31.1
WARNING: multiple messages have this Message-ID (diff)
From: Tobias Schramm <t.schramm@manjaro.org> To: "Jernej Škrabec" <jernej.skrabec@gmail.com>, devicetree@vger.kernel.org Cc: Rob Herring <robh+dt@kernel.org>, Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Tobias Schramm <t.schramm@manjaro.org> Subject: [PATCH v2 2/7] ARM: dts: sun8i: v3s: add DMA properties to peripherals supporting DMA Date: Fri, 14 May 2021 01:30:19 +0200 [thread overview] Message-ID: <20210513233024.2076725-3-t.schramm@manjaro.org> (raw) In-Reply-To: <20210513233024.2076725-1-t.schramm@manjaro.org> This commit adds DMA properties to all peripherals supporting DMA on the Allwinner V3s, enabling accelerated data transfer to them. Signed-off-by: Tobias Schramm <t.schramm@manjaro.org> --- arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index f0296ab46137..3eaa8703e2ac 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -285,6 +285,8 @@ crypto@1c15000 { interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; clock-names = "ahb", "mod"; + dmas = <&dma 16>, <&dma 16>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_CE>; reset-names = "ahb"; }; @@ -446,6 +448,8 @@ uart0: serial@1c28000 { reg-shift = <2>; reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART0>; + dmas = <&dma 6>, <&dma 6>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_UART0>; status = "disabled"; }; @@ -457,6 +461,8 @@ uart1: serial@1c28400 { reg-shift = <2>; reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART1>; + dmas = <&dma 7>, <&dma 7>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_UART1>; status = "disabled"; }; @@ -468,6 +474,8 @@ uart2: serial@1c28800 { reg-shift = <2>; reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART2>; + dmas = <&dma 8>, <&dma 8>; + dma-names = "rx", "tx"; resets = <&ccu RST_BUS_UART2>; pinctrl-0 = <&uart2_pins>; pinctrl-names = "default"; @@ -547,6 +555,8 @@ spi0: spi@1c68000 { interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; clock-names = "ahb", "mod"; + dmas = <&dma 23>, <&dma 23>; + dma-names = "rx", "tx"; pinctrl-names = "default"; pinctrl-0 = <&spi0_pins>; resets = <&ccu RST_BUS_SPI0>; -- 2.31.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-05-13 23:28 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-13 23:30 [PATCH v2 0/7] Add missing peripherals to Allwinner V3s/V3 device trees Tobias Schramm 2021-05-13 23:30 ` Tobias Schramm 2021-05-13 23:30 ` [PATCH v2 1/7] ARM: dts: sun8i: v3s: add DMA controller to v3s dts Tobias Schramm 2021-05-13 23:30 ` Tobias Schramm 2021-05-14 7:07 ` Andre Przywara 2021-05-14 7:07 ` Andre Przywara 2021-05-13 23:30 ` Tobias Schramm [this message] 2021-05-13 23:30 ` [PATCH v2 2/7] ARM: dts: sun8i: v3s: add DMA properties to peripherals supporting DMA Tobias Schramm 2021-05-14 7:07 ` Andre Przywara 2021-05-14 7:07 ` Andre Przywara 2021-05-13 23:30 ` [PATCH v2 3/7] ARM: dts: sun8i: v3s: add analog codec and frontend to v3s dts Tobias Schramm 2021-05-13 23:30 ` Tobias Schramm 2021-05-13 23:30 ` [PATCH v2 4/7] ASoC: dt-bindings: sun8i-a23-codec-analog: add compatible for Allwinner V3 Tobias Schramm 2021-05-13 23:30 ` Tobias Schramm 2021-05-14 13:06 ` Rob Herring 2021-05-14 13:06 ` Rob Herring 2021-05-13 23:30 ` [PATCH v2 5/7] ARM: dts: sun8i: V3: add codec analog frontend to V3 dts Tobias Schramm 2021-05-13 23:30 ` Tobias Schramm 2021-05-13 23:30 ` [PATCH v2 6/7] dt-bindings: sound: sun4i-i2s: add Allwinner V3 I2S compatible Tobias Schramm 2021-05-13 23:30 ` Tobias Schramm 2021-05-13 23:30 ` [PATCH v2 7/7] ARM: dts: sun8i: V3: add I2S interface to V3 dts Tobias Schramm 2021-05-13 23:30 ` Tobias Schramm
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=20210513233024.2076725-3-t.schramm@manjaro.org \ --to=t.schramm@manjaro.org \ --cc=devicetree@vger.kernel.org \ --cc=jernej.skrabec@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@lists.linux.dev \ --cc=mripard@kernel.org \ --cc=robh+dt@kernel.org \ --cc=wens@csie.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.