Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7782729ybc; Fri, 29 Nov 2019 00:54:29 -0800 (PST) X-Google-Smtp-Source: APXvYqzmIitpiiScqNWaR1fyqDozKssSLrjFOwJ4jijZWLXGzC4i7ep24/6mgp38vgYAvNf9+gGQ X-Received: by 2002:aa7:ca4a:: with SMTP id j10mr43732412edt.54.1575017669281; Fri, 29 Nov 2019 00:54:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1575017669; cv=pass; d=google.com; s=arc-20160816; b=mQ3D5v/AOyJg352fJuFhkQq/djJVIZhjpH9mXbshs0I8FwB8DYS8spyOveXIH1SeLq tuR21N32AtQe2mxTf695El9osRNo+W859LYuZNa6THT5X5zX10hKlc1MoZncS/2lHd7I mR7epZQGloDF2bl62lJBv0qklouazxDS19gR1pRqXUq3PEVzdT6l5ExuLWxkJOFnOKSY 0uw88TYfvKhNeQtLomp1eBBqXJS1/0dObVetQH/ovh/2sP1Ey9WAdIdAgEL9+MFyMpwm XxFU7AscefopL8lYEcNrExuLSpMJkJ5XPHRRQQNeIFsRQIZAUQ8jwKbXmYCtHrA69jEg OiRw== 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=CWVkIKGWM1uCRb9ESC8xbmHPGthlsjybV4VJ6FVoO0U=; b=CN/L+OY+za0iZPiG1o/ZfDVASyA4gDt8hx6e1M+mlSIde18CMLpFxLiGDMr/3Rh8PF unGceWfTnQ/LvCJqR6uQc7R2A7oh9RjCMD4qnohCsRq/qr8QF9SEcpEoBlYauT69nTI3 U4McL5VcNg2OicPSbVZht5F4YnrRJhhEiUDB5gMmeGuGA67p9MQS9x3G6P9qzXYjeBFk 218g7BIvxIW88dUBfEcy1d7MOMvXCIMtEIJTeELwvccr1fkrbEiw9Edsj2ov/NgHot7q v0GZPZcXpKDY79PhZISv3/BcM1YZt1xIrjh0mMfm5u+gWIcjtOD8/HjvHfHbx2mN3UTU j9HA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zoho.com header.s=zm2019 header.b=UwqMMJ2W; 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 n8si2347040edq.276.2019.11.29.00.54.05; Fri, 29 Nov 2019 00:54:29 -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=UwqMMJ2W; 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 S1726793AbfK2Iwj (ORCPT + 99 others); Fri, 29 Nov 2019 03:52:39 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25879 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbfK2Iwj (ORCPT ); Fri, 29 Nov 2019 03:52:39 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1575017479; cv=none; d=zohomail.com; s=zohoarc; b=OeYaZf5Ai4mqYUx6O3aKZVncW+0gRvxPdF/yQGFi8Bl1QgOi34D4UHYEXHb3GKFe+Pbqu8G3zH6C6XPE2qtnDyEmqz2n/85dYq7OcsmVkViDyyBd0HK7L8wu0zjmH6Qc1JKxmTEWxuwwGkHxQp4g+ArfCV8ZtlAutlIrfh6eTVY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575017479; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=CWVkIKGWM1uCRb9ESC8xbmHPGthlsjybV4VJ6FVoO0U=; b=LuYOhBr1HYTQzgxsIbcyNlFkrUsk3lU67/tJ0xmXFDqMkPtViUm0pahdbvqsZvYVn23r3L7Wkyn5Y22sN6qBsjRCb6GVFAI2QKadPGuy/o20UULyQlcxSyb+0txPegXegnSmZvo5IduoLeVqPvzqjizJuBq/yDE3CIoqJKwHyZk= 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=Q3maPDNxH98D41j1QKfHHSWGzqJ5646FVCBoZ/xbW3mf9GjI+7Mo7qcXZL6LUxOUUBKvzfjV9j5P 6tdKWn+9+aKSfCmeTddQOOrxTQitYAn5WIjGgOepg+S/AEVEklUO DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1575017479; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=CWVkIKGWM1uCRb9ESC8xbmHPGthlsjybV4VJ6FVoO0U=; b=UwqMMJ2WHPsm2FCMFCiBVw/jvsaoT3M4MuUxrrtJpJHmtPxpU2beJfxpe/rOXPtS jQycqpo7sSDM7pHFlzViBWCy1DPOiUHhmYmMuhuEuPzavKeIH9bBbwYktNwBdKU8FfK edKaQJBkB6QLYQ//LNtvrdJV0HE69ree9cwghKI4= Received: from zhouyanjie-virtual-machine.localdomain (139.207.146.46 [139.207.146.46]) by mx.zohomail.com with SMTPS id 157501747653225.0066604018798; Fri, 29 Nov 2019 00:51:16 -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 v6 05/12] MIPS: X1000: Add pdma controller DT node. Date: Fri, 29 Nov 2019 16:48:46 +0800 Message-Id: <1575017333-29020-6-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1575017333-29020-1-git-send-email-zhouyanjie@zoho.com> References: <1575017333-29020-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. v4->v5: No change. v5->v6: No change. 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 13a6c9ff..c432828 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