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: 10779155 X-Patchwork-Delegate: horms@verge.net.au 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 453A391E for ; Thu, 24 Jan 2019 15:12:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34F8B3107B for ; Thu, 24 Jan 2019 15:12:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 330E03108E; Thu, 24 Jan 2019 15:12:00 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64C0F30F65 for ; Thu, 24 Jan 2019 15:11:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727848AbfAXPL6 (ORCPT ); Thu, 24 Jan 2019 10:11:58 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:39003 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727566AbfAXPL6 (ORCPT ); Thu, 24 Jan 2019 10:11:58 -0500 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 Cc: linux-renesas-soc@vger.kernel.org, Olof Johansson , Kevin Hilman , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman 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 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.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: 10779157 X-Patchwork-Delegate: horms@verge.net.au 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 82DD691E for ; Thu, 24 Jan 2019 15:12:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 736CF31076 for ; Thu, 24 Jan 2019 15:12:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71D8C31087; Thu, 24 Jan 2019 15:12:01 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2D5C31093 for ; Thu, 24 Jan 2019 15:12:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727933AbfAXPMA (ORCPT ); Thu, 24 Jan 2019 10:12:00 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:39019 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727566AbfAXPMA (ORCPT ); Thu, 24 Jan 2019 10:12:00 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Geert Uytterhoeven , Simon Horman 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: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.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: 10779161 X-Patchwork-Delegate: horms@verge.net.au 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 BD08091E for ; Thu, 24 Jan 2019 15:12:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACCA82EE3C for ; Thu, 24 Jan 2019 15:12:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAA693109C; Thu, 24 Jan 2019 15:12:04 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57CA42EE3C for ; Thu, 24 Jan 2019 15:12:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727996AbfAXPME (ORCPT ); Thu, 24 Jan 2019 10:12:04 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:39030 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727566AbfAXPME (ORCPT ); Thu, 24 Jan 2019 10:12:04 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Geert Uytterhoeven , Simon Horman 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: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.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";