public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime@cerno.tech>
To: Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <mripard@kernel.org>
Cc: Maxime Ripard <maxime@cerno.tech>, linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] ARM: dts: sunxi: Add missing dmas properties to TCON
Date: Thu, 19 Dec 2019 10:15:37 +0100	[thread overview]
Message-ID: <20191219091539.948530-3-maxime@cerno.tech> (raw)
In-Reply-To: <20191219091539.948530-1-maxime@cerno.tech>

The TCON binding mandates a dmas phandle to the DMAengine channel used for
that controller. However, since it's not used in the driver, some device
trees have been missing it. Let's add it.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
 arch/arm/boot/dts/sun5i.dtsi         | 1 +
 arch/arm/boot/dts/sun6i-a31.dtsi     | 2 ++
 arch/arm/boot/dts/sun8i-a23-a33.dtsi | 1 +
 3 files changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index 6befa236ba99..9f0b645fd45e 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -275,6 +275,7 @@
 			compatible = "allwinner,sun5i-a13-tcon";
 			reg = <0x01c0c000 0x1000>;
 			interrupts = <44>;
+			dmas = <&dma SUN4I_DMA_DEDICATED 14>;
 			resets = <&ccu RST_LCD>;
 			reset-names = "lcd";
 			clocks = <&ccu CLK_AHB_LCD>,
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 2cf34ae1c17b..4d622ec48b24 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -285,6 +285,7 @@
 			compatible = "allwinner,sun6i-a31-tcon";
 			reg = <0x01c0c000 0x1000>;
 			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
+			dmas = <&dma 11>;
 			resets = <&ccu RST_AHB1_LCD0>;
 			reset-names = "lcd";
 			clocks = <&ccu CLK_AHB1_LCD0>,
@@ -334,6 +335,7 @@
 			compatible = "allwinner,sun6i-a31-tcon";
 			reg = <0x01c0d000 0x1000>;
 			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
+			dmas = <&dma 12>;
 			resets = <&ccu RST_AHB1_LCD1>;
 			reset-names = "lcd";
 			clocks = <&ccu CLK_AHB1_LCD1>,
diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
index f292f96ab39b..70ec3493061b 100644
--- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
@@ -182,6 +182,7 @@
 			/* compatible gets set in SoC specific dtsi file */
 			reg = <0x01c0c000 0x1000>;
 			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
+			dmas = <&dma 12>;
 			clocks = <&ccu CLK_BUS_LCD>,
 				 <&ccu CLK_LCD_CH0>;
 			clock-names = "ahb",
-- 
2.23.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-12-19  9:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-19  9:15 [PATCH 1/5] ARM: dts: sun9i: Make sure the USB PHY resources are in the same order Maxime Ripard
2019-12-19  9:15 ` [PATCH 2/5] ARM: dts: sun8i: v3s: Remove redundant assigned-clocks Maxime Ripard
2019-12-19 15:17   ` Chen-Yu Tsai
2019-12-19  9:15 ` Maxime Ripard [this message]
2019-12-19 15:19   ` [PATCH 3/5] ARM: dts: sunxi: Add missing dmas properties to TCON Chen-Yu Tsai
2019-12-19  9:15 ` [PATCH 4/5] ARM: dts: sun8i: nanopi-duo2: Fix GPIO regulator state array Maxime Ripard
2019-12-19 15:19   ` Chen-Yu Tsai
2019-12-20  8:01     ` Maxime Ripard
2019-12-19  9:15 ` [PATCH 5/5] ARM: dts: sun9i: Remove useless reset and clock names Maxime Ripard
2019-12-19 15:19   ` Chen-Yu Tsai
2019-12-19 15:16 ` [PATCH 1/5] ARM: dts: sun9i: Make sure the USB PHY resources are in the same order Chen-Yu Tsai

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=20191219091539.948530-3-maxime@cerno.tech \
    --to=maxime@cerno.tech \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mripard@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: 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