Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4458389ybc; Tue, 26 Nov 2019 09:14:33 -0800 (PST) X-Google-Smtp-Source: APXvYqx4FqJqHSypfZXBkcXflgCyCRXaOnRXnQQmBGem52BYcbVflZagDN46ftU48W1PiBdxQGem X-Received: by 2002:a17:906:351b:: with SMTP id r27mr45143970eja.120.1574788472885; Tue, 26 Nov 2019 09:14:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574788472; cv=pass; d=google.com; s=arc-20160816; b=l6B9JeCus6ToJCRGNqPdWR79hNE0M7xxV7dRhui+AZW66+DNd8OWpGPGBwfSsYPfES xY1UlEFhtzYLr2IzdDinLFxcZ0jnSTycnndypWgptO17xl3ofy4P0Ca6k9XxmIaJ3LtB fPJ2+A+sOaxjTFW+LNurceeEjBBoodPEmLNMrbjaHJ7hoHTWekV1x4dlzKV7Ap405Gmi 7Ddh3/ret70ddWGOlWDFbPMwDeFmTPTgOQww+qq9bForOsF8gqfvPmCANqO3oMDZViLy 404vWaClCjEVypXXSq7S5Zg3KQ6VOZqF6MFLWc0zPkrBiyRcAf64JWMO0+dUyD8m6+pq JErQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:domainkey-signature; bh=NpFe2R5yfcuoPLJC02fMDmY5tfqV1t1IfsCwTKVYbY8=; b=DRI7uemMHhvjDJQfEjtP+XMQ2uaBUDMmdoxOi6owQXQnagrclLyCnGKb7DW/RVyy1/ DAhvFM2mDOSosUjOxiR7LMZBzZtHKiZL8uHuXdjmpJq9ruy332yppYDCKYEFJzWRYEwr 113rmCTOUVNy2vV0YrWIYnJiSu3jxuAMerRh1lDMs6gs0pN97WlS+HEsgmxBiwZ1btJe /zk81goYVxahsH30jwPQyznEBHW2e1z3Cbd2wsjmH+Pk5HPuZ4r5treBuYDMFb7+m8FQ 5MxYxXuMvWjXjigoyZSFF1o996kbC02nwGzVz377GJD8ixvGHGD0uP70VNjKI9QdByDq +/Lw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zoho.com header.s=zm2019 header.b=UeW6zbS3; arc=pass (i=1 spf=pass spfdomain=zoho.com dkim=pass dkdomain=zoho.com dmarc=pass fromdomain=zoho.com>); 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=zoho.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si7814930edx.271.2019.11.26.09.13.58; Tue, 26 Nov 2019 09:14:32 -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=pass header.i=@zoho.com header.s=zm2019 header.b=UeW6zbS3; arc=pass (i=1 spf=pass spfdomain=zoho.com dkim=pass dkdomain=zoho.com dmarc=pass fromdomain=zoho.com>); 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=zoho.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728747AbfKZRKI (ORCPT + 99 others); Tue, 26 Nov 2019 12:10:08 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25865 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727674AbfKZRKI (ORCPT ); Tue, 26 Nov 2019 12:10:08 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574788058; cv=none; d=zohomail.com; s=zohoarc; b=N7XIzwE20+dK1fOPG2DThH4GKCHKn2z3gTgcdbpLfE91FXcyOAGhjLp1P/pW5p7f+TF3zApWEZCS6exKGuKX8jwqgtAu8JLn+JUh8Aq7dBmmr9fmbkaprpTKa2Zx6AnVZkufAjzTZImzx4nmxw3KwTaEUc6/3VNOYWvq3xYETCE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574788058; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=NpFe2R5yfcuoPLJC02fMDmY5tfqV1t1IfsCwTKVYbY8=; b=mgLg6KKEC1Q0nie3Oe72yygqHJc5nGSpXmPX6ajTkHbg3kGmdXtQc/GlVdg8xzXyjoJ+1wrYkzQdCQ6czVeVI1do1YxyY/sFTYY+NZ3XfMg2KmaRFxNYhCBItAAxUkPv8TWpYflJr+gNWbxciqQLC04xXnigFTjHkiQLigCoOs0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=g42N+9ghrB6XyUJo5c4fm8+mdJX4naxyOKxqhASvnlVY4kt4LS3cFxHtUeAhQnpKMcyiiUs/Z/cT RPpxThhv7C2le/7UnYjDKC9aNvjmshieF/LAIQLch90yFZTAO9NM DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574788058; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=NpFe2R5yfcuoPLJC02fMDmY5tfqV1t1IfsCwTKVYbY8=; b=UeW6zbS3VUEY35duXONpV+XVkXhleNJ9I01J7qWCMEeCol9g2acU7I9U47SJgAzu 8CotAl5XMW17IzZV9c+c+DimLbouBQR8rWPDCx3qXBLFNidXsxD/qlvQb1v1SFkotQY AhX2keOhaVwjJ6BW02VrOO4yjxgXFk3RIb3SKrTQ= Received: from zhouyanjie-virtual-machine.localdomain (171.221.112.214 [171.221.112.214]) by mx.zohomail.com with SMTPS id 1574788058130843.0617838570272; Tue, 26 Nov 2019 09:07:38 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: 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, paul@crapouillou.net, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Subject: [PATCH v4 5/6] MIPS: X1000: Add pdma controller DT node. Date: Wed, 27 Nov 2019 01:06:13 +0800 Message-Id: <1574787974-58040-6-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the appropriate DT node to probe the pdma controller driver using the devicetree. Signed-off-by: Zhou Yanjie --- Notes: v4: New patch. arch/mips/boot/dts/ingenic/x1000.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi 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 / { #address-cells = <1>; @@ -173,4 +174,16 @@ status = "disabled"; }; + + pdma: dma-controller@13420000 { + compatible = "ingenic,x1000-dma"; + reg = <0x13420000 0x400 + 0x13421000 0x40>; + #dma-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <10>; + + clocks = <&cgu X1000_CLK_PDMA>; + }; }; -- 2.7.4