Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6628670ybc; Thu, 28 Nov 2019 02:46:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwA/0dZukKxmRaVZvWXEjf3HV+li3tBWPvAtsVJoqcziKVUoAOh/DrRfY+dSAmjFGoMeU4u X-Received: by 2002:a05:6402:17c6:: with SMTP id s6mr32419923edy.22.1574937977501; Thu, 28 Nov 2019 02:46:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574937977; cv=pass; d=google.com; s=arc-20160816; b=NY5AyllE8ybTCAhGJEo+JNV6hW6jrqmmBxpdXfWz0Lwy+BSm+kfqxKhOgkcCRYR+fo /uRtFB2214+giKBUoiU3qDFj8SSGLRcpXqz/MF1gVIDGgxU9SwyjxiYGfdMLgytOWSxF eL/Wnt8yz20ciirP5tCQ28azbvEWeTDRoIhz6t9Kn0QRugXQ7estfJPhDdZ1KITv5BeT PKupr3uwEHEDeggVXwsVWH32T/7wEZcOuWqLoanGsh73ZY4GwMebWtndfn8szy8cNevB /MRbJLWGTeDl2/AiP1/B29Ey9SrfT2/8CW9woUpK0zVjVxNv8KbOwnSpjA2IMJLhbJ0p bdsg== 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=KNMab1ZXdB5UBvxQSnRm5OjTPZ0lTlMGVFskLJY0674=; b=JCA5yLi3CaPlRzoYf2WJdiULhNzbQL4U0QMqzAUb/Dt0GG1SFW+XZU91XhFT1bfnCd PA8D5nmk8ViI4X/hDC+tDEVl5RqQ2YGztwft+9Q1dAcIGmpZZNUdJX2QeX9KYr62WnQD jJaRT1Bs8nHcP9xwoztIcwW1adeh3y3diK2aT1nDk3jRvMGidfs1JS6LnivUXU/JQFfi 471/uWEdQPAHLKz7Fdgi7FO62fwJQ4Gt05wYWO3LE9ytFlpx4qL1g82qu8av0gL9AlCg H4fwSpJlUN+r8PKRY7mHxZzfFqn2uf/kxKokL/5L1SYOzSk6iGplJyH08HAILQUnm6oF AoZw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zoho.com header.s=zm2019 header.b=bm2BqqiA; 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 c6si11992688ejc.350.2019.11.28.02.45.53; Thu, 28 Nov 2019 02:46:17 -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=bm2BqqiA; 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 S1726917AbfK1KmH (ORCPT + 99 others); Thu, 28 Nov 2019 05:42:07 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25858 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbfK1KmG (ORCPT ); Thu, 28 Nov 2019 05:42:06 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574937529; cv=none; d=zohomail.com; s=zohoarc; b=g+iqaSEt9t6mEBYpze1YBxtSpVuBILtAHDtMhG+OQRHzDT0/LeUkqcMsYLYujDKJtbJu1/NcE/XRtFw/H5h1vPxCM2s2vOql0193BTvGS0vJ8K8j299+SPzOrqQ5/67c7IhGFi0d/tXWNjGObgbik12Ghh+3qBg+uqAm5nL49+g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574937529; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=KNMab1ZXdB5UBvxQSnRm5OjTPZ0lTlMGVFskLJY0674=; b=Xw5N8Q4KkKozwWgAqT3e9WXWmGiLoEfsTQo05XlO26E5hIVrJ3fX3sP8SjDj44b1DsolQUBUj2jI8RNc6oq/Plr1ya8qE6/EOAkMH92cnj8r3bTlbWvutTD36BieeZraCOqrUbNmmHS49mx4mTKsmBJm+TajFny++5zmQRbXNPM= 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=ruqVQva/XTauqwBJs5udeIgFBWXgPIWEaf3XV1zUsaELRhwRpIpW9Ww9wNImrfMmMQao48+/QiTI 5FMJWSJiJjaZ4RibuT8xTdqpYac8mG9WHiIluMXfeOFpVVtmv829 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574937529; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=KNMab1ZXdB5UBvxQSnRm5OjTPZ0lTlMGVFskLJY0674=; b=bm2BqqiAWYVk5gYVA0+fNy2AN3KALf2I3Ht7Pv5yrXHvmU73r4cQDEZAa/vE3oGg Lu8kwrJM+v2yvKeaDOtwSKCwRkrMt81ibaI4nA5vTk3w4lHFhJDCTxNmRTNWbPlKmo6 EtOmsKa9QThk16tXGLVTIDq8O7EgqsyBU8fhWP/E= Received: from zhouyanjie-virtual-machine.localdomain (182.148.156.27 [182.148.156.27]) by mx.zohomail.com with SMTPS id 1574937527094777.0253424488163; Thu, 28 Nov 2019 02:38:47 -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 Subject: [PATCH v5 05/10] MIPS: X1000: Add pdma controller DT node. Date: Thu, 28 Nov 2019 18:37:42 +0800 Message-Id: <1574937467-101907-6-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574937467-101907-1-git-send-email-zhouyanjie@zoho.com> References: <1574937467-101907-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. 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