From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH v3 08/10] dmaengine: sun6i: allow build on ARM64 platforms (sun50i) Date: Tue, 31 Jan 2017 09:02:36 +0530 Message-ID: <20170131033236.GH19244@localhost> References: <20170129023331.62106-1-icenowy@aosc.xyz> <20170129023331.62106-9-icenowy@aosc.xyz> <20170130164210.GD19244@localhost> <3729521485800635@web23g.yandex.ru> Reply-To: vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <3729521485800635-hGpGylqI9Klxpj1cXAZ9Bg@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Icenowy Zheng Cc: Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Mark Brown , Jaroslav Kysela , Andre Przywara , "linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org" , "linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org" List-Id: devicetree@vger.kernel.org On Tue, Jan 31, 2017 at 02:23:55AM +0800, Icenowy Zheng wrote: >=20 >=20 > 31.01.2017, 00:41, "Vinod Koul" : > > On Sun, Jan 29, 2017 at 10:33:29AM +0800, Icenowy Zheng wrote: > >> =C2=A0As 64-bit Allwinner H5 SoC has the same DMA engine with H3, the = DMA > >> =C2=A0driver should be allowed to be built for ARM64, in order to make= it work on H5. > >> > >> =C2=A0Signed-off-by: Icenowy Zheng > >> =C2=A0Acked-by: Maxime Ripard > >> =C2=A0Acked-by: Chen-Yu Tsai > >> =C2=A0--- > >> =C2=A0Patch introduced between v1 and v2, to satisfy the newly added H= 3/H5 audio > >> =C2=A0codec support. > >> > >> =C2=A0=C2=A0drivers/dma/Kconfig | 2 +- > >> =C2=A0=C2=A01 file changed, 1 insertion(+), 1 deletion(-) > >> > >> =C2=A0diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig > >> =C2=A0index 0d6a96ee9fc7..d01d59812cf3 100644 > >> =C2=A0--- a/drivers/dma/Kconfig > >> =C2=A0+++ b/drivers/dma/Kconfig > >> =C2=A0@@ -157,7 +157,7 @@ config DMA_SUN4I > >> > >> =C2=A0=C2=A0config DMA_SUN6I > >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0tristate "= Allwinner A31 SoCs DMA support" > >> =C2=A0- depends on MACH_SUN6I || MACH_SUN8I || COMPILE_TEST > >> =C2=A0+ depends on MACH_SUN6I || MACH_SUN8I || (ARM64 && ARCH_SUNXI) |= | COMPILE_TEST > > > > Do we really need ARM64 here? also looking at others I wonder why isn't > > this MACH_SUNXI...? >=20 > You mean directly place "ARCH_SUNXI" here? >=20 > SUN4I/SUN5I/SUN7I do not use DMA_SUN6I, they have different DMA > controllers. No my question was different.. We have MACH_SUNxx for 6I and 8I, so why do we have ARCH_SUNXI and if its a= n arch SUNXI, X means it can take any value... This schema looks pretty confusing while reading Also I had a question on usage of ARM64.. --=20 ~Vinod --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.