From patchwork Thu Jan 24 15:11:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10779163 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 ECB3191E for ; Thu, 24 Jan 2019 15:12:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAD4831097 for ; Thu, 24 Jan 2019 15:12:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D964431080; Thu, 24 Jan 2019 15:12: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 6D81C31099 for ; Thu, 24 Jan 2019 15:12:05 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=+ccWsGpKwtz69OkTbg1mw2cOETJfQb8LM8Fiqad6Fbk=; b=Gx2 2KCuuq/HTDTI7hrIIycva7Hy5Kq1VFZ1RHS+dHvlbT+m3Q3dQ+TZjruArNk5LxTJSnUDz8keYrPo5 d3QxqT9fd5riVm8Pm2lp7gByyCL1hvGrj9Qr7uaU+vjnhVlqlnAr8OL7dAVJPLEg9KXT5dGJz4a3B qzlVxJd2S0FbBkd4S38hH5f7jr8ul7Wz34uPPJIFWDvQkerj65whkJhEfdD+THREyb/9gFCLZMtjX GdmysR0wZBPOfnaKt18Gzp3EZun4nRVUp5Qv1uXNB6ulE8zYmLcwsCGjABBFUp64lYQuo6nBzP2oK BTjdsd3M7uk/kRaRzBnUiA2JCWyDvtA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmgfj-0000AB-DA; Thu, 24 Jan 2019 15:12:03 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmgfg-00009e-63 for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 15:12:02 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 1E5A925B769; Fri, 25 Jan 2019 02:11:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1548342716; bh=4mcnUUvAhGKR3MnntaA01oAco2nxFEtKi5r6Z5fVDeU=; h=From:To:Cc:Subject:Date:From; b=j5ZbslkHxf5kJks8zVpLCaXB4i/MyAIH6RdsR+JtwMQZvAL3L1xjtPmUb56zDBgsm 8+3QD0lVJqKcrqh+YwkelJqyxiAvyEUCHVC8ih0QEsU7DPLIR98TA+WT5iQcuD/zJY pV0y/J5f6RzQ340TDFCDprfW8zq3C4F/wEID/AiI= Received: by reginn.horms.nl (Postfix, from userid 7100) id 499EA940471; Thu, 24 Jan 2019 16:11:54 +0100 (CET) From: Simon Horman To: arm@kernel.org Subject: [GIT PULL] Second Round of Renesas ARM Based SoC Fixes for v5.0 Date: Thu, 24 Jan 2019 16:11:52 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_071200_425631_DAFF2E09 X-CRM114-Status: GOOD ( 10.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Kevin Hilman , Magnus Damm , linux-renesas-soc@vger.kernel.org, Olof Johansson , Simon Horman , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM based SoC fixes for v5.0. This pull request is based on the previous round of such requests, tagged as renesas-fixes-for-v5.0, which you have already accepted. The following changes since commit a64597227d0de5610407fcc95dc835745a53f5d0: soc: renesas: r8a774c0-sysc: Fix initialization order of 3DG-{A,B} (2019-01-07 14:51:51 +0100) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-fixes2-for-v5.0 for you to fetch changes up to 05c8478abd485507c25aa565afab604af8d8fe46: arm64: dts: renesas: r8a77965: Enable DMA for SCIF2 (2019-01-17 14:22:23 +0100) ---------------------------------------------------------------- Second Round of Renesas ARM Based SoC Fixes for v5.0 Enable DMA for SCIF2 on R-Car M3-W (r8a7796) and M3-n (r8a77965), and (RZ/G2M) r8a774a1 SoCs. This is was omitted from patches enabling DMA for other SCIF devices on the same SoCs due to missing documentation. However, it is regarded as a fix as arguably those patches claim to add this feature. Per-SoC patches are provided to ease backporting of this fix as the kernel version to be fixed is different for each SoC. ---------------------------------------------------------------- Geert Uytterhoeven (3): arm64: dts: renesas: r8a774a1: Enable DMA for SCIF2 arm64: dts: renesas: r8a7796: Enable DMA for SCIF2 arm64: dts: renesas: r8a77965: Enable DMA for SCIF2 arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 3 +++ arch/arm64/boot/dts/renesas/r8a7796.dtsi | 3 +++ arch/arm64/boot/dts/renesas/r8a77965.dtsi | 3 +++ 3 files changed, 9 insertions(+) From patchwork Thu Jan 24 15:11:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10779165 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 037C791E for ; Thu, 24 Jan 2019 15:12:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E562C30C29 for ; Thu, 24 Jan 2019 15:12:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E03A43106C; Thu, 24 Jan 2019 15:12:21 +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 8CD9F31091 for ; Thu, 24 Jan 2019 15:12:21 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=kHMBCG3rMj5y/LVUSA4sGYAQgPXsAFbr4AtOVxtsAzI=; b=Awv/vgdcjKvynVvJ2ilGZjpV4t yjuxwyIRASZFBSnSWLviAyM/R4sVItuaYAXML5pN6aj3QdiSpm42tPLkSvLoveZFa+0qUe2z5M2cS eRnys7nMjWGtKcPfygij11m87E6h2wS0euL5RRJASFzExuiDCFcZ58U89qs0z5k5lYoputEChX3QB 8ynBJfdASulmD0pHdtQs+828MRrYPyTEVbIPNWmFoHoldgLi+onTznGnxrSh4KFpsbxH54gFR8Fvs VHQMHg+u6jw3oM6jscUkLqu7tPaBd4N1HKd64A66tt+SCanPx0FMjTKlbHnTE5KrdxxV3kIca20Gi +EN95eIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmgfy-0000UE-B1; Thu, 24 Jan 2019 15:12:18 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmgfi-00009z-LG for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 15:12:04 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 555A625B791; Fri, 25 Jan 2019 02:11:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1548342718; bh=mitPlp1ASZQdgKXGtfFT8Hw3gx/QEFYmvokk7I0hpvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pZQ6E/G7Y8+UcacdQGVkp1lsNzk9fUd3MOEGqBr0HThoZfBnCM8v+zy2ir71XVGzW HTFUFyEJ1Q42/XjYHW6xSNHYO57APHXzcgMpzJ2MRTKBx8FxZ1C1S6BwmIusdBtzTC xEcqx2tswJ8m8cSokZ/K/LGcHr2L/UMeUkVR7gU8= Received: by reginn.horms.nl (Postfix, from userid 7100) id 83883940421; Thu, 24 Jan 2019 16:11:56 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: renesas: r8a7796: Enable DMA for SCIF2 Date: Thu, 24 Jan 2019 16:11:53 +0100 Message-Id: <97f26702bc95b5c3a72671d5c6675e4d6ee0a2f4.1548165440.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_071202_844173_2A034D14 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Magnus Damm , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 From: Geert Uytterhoeven SCIF2 on R-Car M3-W can be used with both DMAC1 and DMAC2. Fixes: dbcae5ea4bd27409 ("arm64: dts: r8a7796: Enable SCIF DMA") Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index afedbf5728ec..0648d12778ed 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -1262,6 +1262,9 @@ <&cpg CPG_CORE R8A7796_CLK_S3D1>, <&scif_clk>; clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x13>, <&dmac1 0x12>, + <&dmac2 0x13>, <&dmac2 0x12>; + dma-names = "tx", "rx", "tx", "rx"; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; resets = <&cpg 310>; status = "disabled"; From patchwork Thu Jan 24 15:11:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10779181 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 3354613B4 for ; Thu, 24 Jan 2019 15:12:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21E1A310E0 for ; Thu, 24 Jan 2019 15:12:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FD30310D4; Thu, 24 Jan 2019 15:12:53 +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 B70383110F for ; Thu, 24 Jan 2019 15:12:52 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=pSApRqLemnRPkCMjefap+AvPoHPMV1a4nJzTPwEg0wI=; b=qGmGqsv3pHeZoGyhfOCGf8N48a 1xihDcpf4W1ZCzeJN3MlHcXCtQq+ej+iLsgH9q7ATV/5BgdZhaItujMy9+5i8xeiL4K3YDcKKYADu ADb67Y4mQj7ireEEdfYsQNB48N7zZPvBgUciCu5usMBEIYEBIwb29LhSutuqh6/o2As9NGhlfR4uf 8H5iAqfPlGUpGBrJM0CYzAKfdWEheTl8+qa5Ypa4CpAKly6rYlYQjV/dAMqjcvKPJbsNU7Sllty69 HgqJdq/GhDNkr8XmBks8AYCU9FJEULMBqkKHJsfaMp2vhKLBcQ2fK5JW6TPsZV/KpjzsNQkrj4U/b 7OYMTjhw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmggU-00010D-NE; Thu, 24 Jan 2019 15:12:50 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmgfo-00009z-Ih for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 15:12:12 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 7259F25BECA; Fri, 25 Jan 2019 02:11:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1548342718; bh=rEaeMIZIXAoUg6EBBTyLBlRuzU30ookQOF9Siip9nlM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B/81wz7YRGNvpbcMEMPA/mrfQBTqxAjQjyaMp6WLKpq2BPjSU9JE6tc1HPDs4WwwU x/sekAdN54nCdL2Eb9DMU2UaBlccbL5OXICOpngMM+uFYyMwoTKomVXuE6OJzWooSp En97/fdZ7mx3XYcktC8yhl6SYa3rkc0epkzuf4js= Received: by reginn.horms.nl (Postfix, from userid 7100) id 8DFD6940793; Thu, 24 Jan 2019 16:11:56 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: renesas: r8a77965: Enable DMA for SCIF2 Date: Thu, 24 Jan 2019 16:11:54 +0100 Message-Id: <05c8478abd485507c25aa565afab604af8d8fe46.1548165440.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_071209_211379_431C01C5 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Magnus Damm , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 From: Geert Uytterhoeven SCIF2 on R-Car M3-N can be used with both DMAC1 and DMAC2. Fixes: 0ea5b2fd38db56aa ("arm64: dts: renesas: r8a77965: Add SCIF device nodes") Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 6dc9b1fef830..4b3730f640ef 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -1068,6 +1068,9 @@ <&cpg CPG_CORE R8A77965_CLK_S3D1>, <&scif_clk>; clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x13>, <&dmac1 0x12>, + <&dmac2 0x13>, <&dmac2 0x12>; + dma-names = "tx", "rx", "tx", "rx"; power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; resets = <&cpg 310>; status = "disabled";