Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1821554ybg; Thu, 24 Oct 2019 00:08:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFao/otGKHWjo6b41qwUt7t+KZXWlaRC7xJzOF3S4LVOUeCj0adZVApWsFIVTA/ZXvT4uo X-Received: by 2002:a17:906:f2d4:: with SMTP id gz20mr2339293ejb.215.1571900917128; Thu, 24 Oct 2019 00:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571900917; cv=none; d=google.com; s=arc-20160816; b=f0pPH+tWFfCOlK4RaApMD9802wh9OrvYn0HnoVmL5BDa1/+aJ4Uj7U1sUeU2rlFQTn KZlMbuzk0sz5sZdTAa8ClkkRb9iH0m2Z/U2CBSPyPHj4KIVJcLTIxtZgrdlde/JOL9zX qHCmRgHyVAxv614BmW5x8O4LLrvtJ18o4Ev0ArjlG0Ljpjvyb2nOhQ48xkCJxCj4YVT6 15/CLA0pOd3EE7/YV7o8cWIb0IasAqVpbyKT7t7x2idqx2yzKQnz4oeLjrYaxU8X+deb c2NKK0UI6BGB2p84Bel4EUVqN2gjirkB3CmmXG4MYo7trQHk8keG9jHB9oUZR9S98YO9 w0rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=TRZB4Hmo5/AC64REY0JMNENCt0f2esO31XyLdZy2uFQ=; b=q6bgt8fip+6Vk4XywHhsXvI8WxFe7bEOIc6qvYaw5gyy1B7DAUMo2Z3CC9Sg1ACgna iOTv6N32h8nvkqGpqH3/Y3B0WyOlTuGxefpNHauTDJNZ1u7KxfTyi6Npu9TwHA2TZ8Ia 3vrgXIzkh/Yhi2lDHxxfLKXiwWjvjJ7HDrBoidiZt7WMb9o08xjiy8Z/gcMtgIgjK85S tq8US8B+AmiMd6rzBqOEzRXPqqLG7NkmHMtdaMWumnxSN/oVFcp26Fx1gfcXzUEXiG29 3UkEmZfhIoH0LHT+P0G8J9UI4FqXmOxtr2yAvgm553hZMqylukdN2JnFKfZTttKE6Jke t+YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=JYXpuEAA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si15138125edy.441.2019.10.24.00.07.34; Thu, 24 Oct 2019 00:08:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=JYXpuEAA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407038AbfJWQIe (ORCPT + 99 others); Wed, 23 Oct 2019 12:08:34 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:55278 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407029AbfJWQIc (ORCPT ); Wed, 23 Oct 2019 12:08:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1571846907; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TRZB4Hmo5/AC64REY0JMNENCt0f2esO31XyLdZy2uFQ=; b=JYXpuEAAsoua8tBu2BljyqX08TmjmJrKr9tmjqGwvlUXK+4INzM7BKtakhifYk9LGFTzjo 8Vsh3TYUCWV6UK5pMpQtPq7n4kkA9/MPpx7u8AFEN8XgDRiRQ0fWvf/FTOTK3ho3gOYWGE P+i8TVlHeb8OrSciyk8RaH53ka7KHw0= Date: Wed, 23 Oct 2019 18:08:21 +0200 From: Paul Cercueil Subject: Re: [PATCH RESEND 2/2] dmaengine: JZ4780: Add support for the X1000. To: Zhou Yanjie Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, vkoul@kernel.org, mark.rutland@arm.com, Zubair.Kakakhel@imgtec.com, dan.j.williams@intel.com Message-Id: <1571846901.3.0@crapouillou.net> In-Reply-To: <1571814137-46002-3-git-send-email-zhouyanjie@zoho.com> References: <1571799903-44561-1-git-send-email-zhouyanjie@zoho.com> <1571814137-46002-1-git-send-email-zhouyanjie@zoho.com> <1571814137-46002-3-git-send-email-zhouyanjie@zoho.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zhou, Le mer., oct. 23, 2019 at 15:02, Zhou Yanjie a=20 =E9crit : > Add support for probing the dma-jz4780 driver on the X1000 Soc. >=20 > Signed-off-by: Zhou Yanjie > --- > drivers/dma/dma-jz4780.c | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c > index cafb1cc0..f809a6e 100644 > --- a/drivers/dma/dma-jz4780.c > +++ b/drivers/dma/dma-jz4780.c > @@ -1019,11 +1019,18 @@ static const struct jz4780_dma_soc_data=20 > jz4780_dma_soc_data =3D { > .flags =3D JZ_SOC_DATA_ALLOW_LEGACY_DT | JZ_SOC_DATA_PROGRAMMABLE_DMA, > }; >=20 > +static const struct jz4780_dma_soc_data x1000_dma_soc_data =3D { > + .nb_channels =3D 8, > + .transfer_ord_max =3D 7, > + .flags =3D JZ_SOC_DATA_ALLOW_LEGACY_DT | JZ_SOC_DATA_PROGRAMMABLE_DMA, Please don't use JZ_SOC_DATA_ALLOW_LEGACY_DT for new bindings. With that flag removed: Reviewed-by: Paul Cercueil > +}; > + > static const struct of_device_id jz4780_dma_dt_match[] =3D { > { .compatible =3D "ingenic,jz4740-dma", .data =3D &jz4740_dma_soc_data=20 > }, > { .compatible =3D "ingenic,jz4725b-dma", .data =3D=20 > &jz4725b_dma_soc_data }, > { .compatible =3D "ingenic,jz4770-dma", .data =3D &jz4770_dma_soc_data=20 > }, > { .compatible =3D "ingenic,jz4780-dma", .data =3D &jz4780_dma_soc_data=20 > }, > + { .compatible =3D "ingenic,x1000-dma", .data =3D &x1000_dma_soc_data }, > {}, > }; > MODULE_DEVICE_TABLE(of, jz4780_dma_dt_match); > -- > 2.7.4 >=20 >=20 =