Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5749238ybc; Wed, 27 Nov 2019 08:52:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwIT/r11qiA5tOB2R0LYOJGMgDTT3YUVCIH9X1XGnXN/y5KqC7K1gQ2pEhU+WSvYVZkq3IV X-Received: by 2002:a05:6402:6cf:: with SMTP id n15mr32941642edy.269.1574873547040; Wed, 27 Nov 2019 08:52:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574873547; cv=none; d=google.com; s=arc-20160816; b=rp/SWlOV5ngDpW7SV43+zixBT0MzQOESF/VOPTZyorSzSiE4B+JG6FlpwR+wKlGyes gOijI22CvnxFRJmwOGabhswlBbp049RN/MDNU2i4g4XEZdubMzw9GqVFVzJfrvzOGLs5 p9AQksES6Hh4gjIp8tYsNij9NoxNgLvMQQnnQqwyEw9Y5HNqwgA/xJsEXC7P0E0JlrNL yYBmeklJj5Z2BzXHNOFqkzUxF7ghV8QsQNQOtifPNeqTtj3S2oTpBXVwyw7mMrkmGnbE Clv4SX3JJUdrSs/vs9/m2HbAOJNCNzUeQC69c4ZeJ8uzOsADzk7nLP+21KXYLffB2B5V PPhQ== 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=WPAubu++VR8O6106th8bWP/AWSwIAFfPhimbYu2lKj8=; b=IS/rdhMQzpTT09ig+PzzyTKtNXjJLVpoo+qOn2pZuC/pkI53WUH1Bye47Crk6xB7g1 PyEoXcb50IrD7EYkR2Um1jpwfjDyOdc5o7WUj9kMA8C4HbNUe03jWYQvWpgrx+aWIhIU sjuvtODKFZH19waPTGul+8Wuogrm5hK2OtZBJNGcGl0lAUsE8+5+tOjZ8fQlOGUGmDkk A/6rgQhU7sM0eq2967RbeYpuBCk1sWnZf8ja/p7X7oTV8rDsJu3krlct5SB6ibiwqGKJ eLxF88o9Ov8r5k9cdeRQy8C3Bcyp6GuhKycnsjgpYB3JTBZEDdTmhn2hR6AbToYvt4V4 ugWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=ofwlf+CJ; 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 i13si9514257ejc.76.2019.11.27.08.52.03; Wed, 27 Nov 2019 08:52:27 -0800 (PST) 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=ofwlf+CJ; 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 S1727120AbfK0Qsf (ORCPT + 99 others); Wed, 27 Nov 2019 11:48:35 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:59360 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726909AbfK0Qsf (ORCPT ); Wed, 27 Nov 2019 11:48:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1574873308; 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=WPAubu++VR8O6106th8bWP/AWSwIAFfPhimbYu2lKj8=; b=ofwlf+CJ1IlMQ0kLgrEb5zIN+k5LEWMMXVW7CDDK6/UvlhOVDn4vIPaa4OEEJBgUcrPRQt tfPMnf6Rc6uZDoyPBxSBGcFypUH++SNy+OnqywHzxcIps/ayXd47v/9h546A1tYFwExVH7 V/wRePs5XvizjR21CFR2uDLmz4jvEiQ= Date: Wed, 27 Nov 2019 17:48:18 +0100 From: Paul Cercueil Subject: Re: [PATCH v4 5/6] MIPS: X1000: Add pdma controller DT node. To: Zhou Yanjie Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, jhogan@kernel.org, mripard@kernel.org, shawnguo@kernel.org, mark.rutland@arm.com, syq@debian.org, ralf@linux-mips.org, heiko@sntech.de, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, krzk@kernel.org, geert+renesas@glider.be, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Message-Id: <1574873298.3.0@crapouillou.net> In-Reply-To: <1574787974-58040-6-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> <1574787974-58040-6-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., nov. 27, 2019 at 01:06, Zhou Yanjie a=20 =E9crit : > Add the appropriate DT node to probe the pdma controller driver > using the devicetree. >=20 > Signed-off-by: Zhou Yanjie > --- >=20 > Notes: > v4: > New patch. >=20 > arch/mips/boot/dts/ingenic/x1000.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) >=20 > diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi=20 > b/arch/mips/boot/dts/ingenic/x1000.dtsi > index 9e55edd..edfa70d 100644 > --- a/arch/mips/boot/dts/ingenic/x1000.dtsi > +++ b/arch/mips/boot/dts/ingenic/x1000.dtsi > @@ -1,5 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0 > #include > +#include You're not using any macro from that include file, so there's no need=20 to have it here. Cheers, -Paul >=20 > / { > #address-cells =3D <1>; > @@ -173,4 +174,16 @@ >=20 > status =3D "disabled"; > }; > + > + pdma: dma-controller@13420000 { > + compatible =3D "ingenic,x1000-dma"; > + reg =3D <0x13420000 0x400 > + 0x13421000 0x40>; > + #dma-cells =3D <2>; > + > + interrupt-parent =3D <&intc>; > + interrupts =3D <10>; > + > + clocks =3D <&cgu X1000_CLK_PDMA>; > + }; > }; > -- > 2.7.4 >=20 >=20 =