From patchwork Thu Jun 20 15:37:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinh Nguyen X-Patchwork-Id: 11007155 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C2F7924 for ; Thu, 20 Jun 2019 15:38:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CFEE285BD for ; Thu, 20 Jun 2019 15:38:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 50E76286FE; Thu, 20 Jun 2019 15:38:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0A51A286C8 for ; Thu, 20 Jun 2019 15:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Aj2AsPjdY9i5Vv/7odqZcm3Vnnk2ekCdRcW8iDsHqzw=; b=FCZ11vG3mWCDpa /aNaFYvswLiqJ8lA9tfKPqq5FWJWEZzhQ0rIB7rB6kO3duxrf4C/qrbgBxhTRvlAHYteYifl9He+E dT5ShPHxZtpj7qw1tDa57ZewnY5WnaaBx/X9hYJhJA+vO/vKYBQ00x3xyi+jQRmZnBl55TXkgngfs h2jd+zGeUq4UCVhc41ipMdpo/1Hs1RyQoQ5rcAUz5E98MvAAAA8MHcHEjS+pWfSzNZfa4JwNggwsw S/bVpVE8ey0nlIxOnRcseoz81wauyg9feyG0x5NMszGboC2NGp6i1sv8gwbHA9nzhAASAhuuArqXc 33AFaEwbU2mdUNB7E1nA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdz8Q-0006xs-Et; Thu, 20 Jun 2019 15:37:58 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdz8N-0006vK-Kl for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2019 15:37:56 +0000 Received: from localhost.localdomain (cpe-70-114-128-244.austin.res.rr.com [70.114.128.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 405DA20673; Thu, 20 Jun 2019 15:37:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561045073; bh=5S55eD9KThwVmvDK4f2MHwvW8jbRfVsr+zLTJS228J0=; h=From:To:Cc:Subject:Date:From; b=cCDs5tMDNnzi3+3r36shIabf+VzxQS2wMJF1zf8tjQckhI3pLn0/z5gkNKzUdKgBu iJfwsT98qZqP0Nu4fbhQgpc+CM9umjyXdAC4ESFVjyvLFeXsGEZKvD72Ls14NEcn2G 5Lo2jL7nSvIHe0MmsrRdxyprFdbpxfQbRi6tdGtY= From: Dinh Nguyen To: robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH 1/2] ARM: dts: socfpga: add reset properties for DMA Date: Thu, 20 Jun 2019 10:37:31 -0500 Message-Id: <20190620153732.26738-1-dinguyen@kernel.org> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190620_083755_704741_396082B4 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dinguyen@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add both the reset and reset-ocp properties for the DMA node on Arria10. Signed-off-by: Dinh Nguyen --- arch/arm/boot/dts/socfpga_arria10.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index 20af1543819a..26c157b91189 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi @@ -68,6 +68,8 @@ #dma-requests = <32>; clocks = <&l4_main_clk>; clock-names = "apb_pclk"; + resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>; + reset-names = "dma", "dma-ocp"; }; }; From patchwork Thu Jun 20 15:37:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinh Nguyen X-Patchwork-Id: 11007157 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0C69014DB for ; Thu, 20 Jun 2019 15:38:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F053020502 for ; Thu, 20 Jun 2019 15:38:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E457E286BE; Thu, 20 Jun 2019 15:38:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8E39E27861 for ; Thu, 20 Jun 2019 15:38:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RiX9vFkSX7k0rmN/a1W68NAVwzlUAIoebUlYDVkE+W8=; b=fz4iTZmWxKwbNW dfPGgZ4VjdDOvDRRuRXcXJw+IydKwef35F3aPN1d9nTFEJBaavp5mJ98RgUUm6gIcfU7Tktx3e3yh DUMszFgANuwxp2hZTjA5BoJfmsyhE5YPxdE9KZtyHOsN2RqF+DtKrrGPu0K+WWMDK/6j7nHTHiA5C rl0UwlKHFKa7gOPq6Fhl9j0JF+cXs2yHzzh5iXf1/Ltut3PGzSXUqiNIPSMcdkga49/vmdY7wr8HX WvOu0XRDIBc1Yi4tjicv82UcoYCcojrP/dyBoGnR3THWpQps+YcoidPBHe9aMPZmIvH5EhSr543LG iT+95aKhHnW2kc2zAacw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdz8h-000787-HB; Thu, 20 Jun 2019 15:38:15 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdz8N-0006wU-NP for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2019 15:37:56 +0000 Received: from localhost.localdomain (cpe-70-114-128-244.austin.res.rr.com [70.114.128.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0AF1B208CA; Thu, 20 Jun 2019 15:37:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561045074; bh=tzFoQg+XZWpuWpU/eNJJDW2zLVEyi2sxbQ7e/gymY9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H8kid3qep27TZNEAi1hjCilbnrVdIzX7fGHe4NhuveoCtCjvGIjBKteZMlz1cDb/F Z05ReQoonGuTp6an5RXOTtChe66J7nNz1eqoEt7tIKtY1vrZ9x0tBYyK37MJ8Xxo2F MhzfQhTAqTtQrhSMZvVRh7N5U6d/bVSpxFTGjF+E= From: Dinh Nguyen To: robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH 2/2] arm64: dts: agilex/stratix10: Add reset properties for DMA Date: Thu, 20 Jun 2019 10:37:32 -0500 Message-Id: <20190620153732.26738-2-dinguyen@kernel.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190620153732.26738-1-dinguyen@kernel.org> References: <20190620153732.26738-1-dinguyen@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190620_083755_776974_63677583 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dinguyen@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add both the reset and reset-ocp properties for the DMA node on the Stratix10 and Agilex platforms. Signed-off-by: Dinh Nguyen --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 ++ arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index a781e699a538..5db9ff05fc33 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -335,6 +335,8 @@ #dma-requests = <32>; clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; clock-names = "apb_pclk"; + resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>; + reset-names = "dma", "dma-ocp"; }; rst: rstmgr@ffd11000 { diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index e4ceb3a73c81..36abc25320a8 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -249,6 +249,8 @@ #dma-cells = <1>; #dma-channels = <8>; #dma-requests = <32>; + resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>; + reset-names = "dma", "dma-ocp"; }; rst: rstmgr@ffd11000 {