From patchwork Wed Nov 28 13:02:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702601 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 9FCF0109C for ; Wed, 28 Nov 2018 13:03:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F4662B37D for ; Wed, 28 Nov 2018 13:03:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 834EA2B390; Wed, 28 Nov 2018 13:03:48 +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=unavailable 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 6AB0F2B375 for ; Wed, 28 Nov 2018 13:03:47 +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=SfKgafq9DERppLxu1Ck3LysnURfjYyYcHY5Kke07f+0=; b=mM2 MAFu+M3URo0MvGR8MGDqi4vYjlT+rXcUCxaCuACO8VFFwDcYYvF5HLZTWePpk0oy3B49hSTB3VQSf znNB2r1r4O/+OUqx+xmHxrqIUCCuB0Kkx/EZ28XrOHRFpJOpSIHc+rFjTNRU4rY5vz4v22CxAgMeb uYW3TM8IOf4VcObLEFy73LFOQhaTBPu/1d3oweIIjVKqFUW65Yab71wnyRB6v5whFDihtZNyD+/Wy GUrAXLwXriag62O8fPWRrJTwJQyGcvwMFsuzL6YQ+d/sRQSNcvCevyto1Lkx1JDBctbUEPOOKAkw7 Mv/CmFW2BRpnHKHg7oC5bsju0JC34Jw==; 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 1gRzVB-0003Gi-PK; Wed, 28 Nov 2018 13:03:37 +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 1gRzV8-0003Eg-4j for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:03:36 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 955D625B7E0; Thu, 29 Nov 2018 00:03:20 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410200; bh=G3g2YV5M0yaE8brK1hMkO3sfpsx7LDu2a81GJYy9XV0=; h=From:To:Cc:Subject:Date:From; b=q0LgyEhPSUCY03yzacIqVNZiR3/HACsYGcnfH9WQ+9o+jsxxW3Y6Ej3xWdUOx1wpG sEW7i9rouxFgSpjvHZteyh/GJ+nEtuJKTeSKfCzRey6zTK79fzG2oc0xhB7Xqv4O/+ MRDKnhsqa3zrVPInR3GYEbu/OXwgohMJcvMit6D0= Received: by reginn.horms.nl (Postfix, from userid 7100) id 6E8F19404AF; Wed, 28 Nov 2018 14:03:18 +0100 (CET) From: Simon Horman To: arm@kernel.org Subject: [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.21 Date: Wed, 28 Nov 2018 14:02:12 +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-20181128_050334_326051_9E53E91F X-CRM114-Status: GOOD ( 13.20 ) 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 Renesas ARM based SoC DT updates for v4.21. I am sending out this pull-request at this time as there are a number of patches queued up in my arm (32) DT branch and I hope that this will ease the burden later on in the development cycle. I expect to send a follow-up pull-request for this branch at the usual pre-rc6 timing. Changes since v1: * Correct garbled Reviewed-by tag in "[PATCH 01/16] ARM: dts: r9a06g032: Add pinctrl node" The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm-dt-for-v4.21 for you to fetch changes up to 673df60a880f060e3e94920c7b5f7a9ed8aa65f2: ARM: dts: r9a06g032: Correct the GIC DT node name (2018-11-28 13:55:30 +0100) ---------------------------------------------------------------- Renesas ARM Based SoC DT Updates for v4.21 * RZ/N1D (r9a06g032) SoC: - Correct GIC DT node name - Enable pin controller * RZ/G1C (r8a77470) iWave g23S single board computer - Add QSPI flash support - Add pinctl support for EtherAVB - Enable CMT0 (Renesas R-Car Compare Match Timer) - Enable RWDT (Renesas Watchdog Timer) - Enable uSD and eMMC support * RZ/G1C (r8a77470) SoC: - Describe USB-DMAC and I2C devices in DT * R-Mobile A1 (r8a7740), Emma Mobile EV2 (emev2) and SH-Mobile AG5 (sh72a0) SoCs: - Include SoC name in DTSI * R-Car H2 (r8a7790) based lager, and R-Car M2-W (r8a7791) based koelsch and porter boards: - Disable unconnected LVDS encoders ---------------------------------------------------------------- Biju Das (6): ARM: dts: r8a77470: Add watchdog support to SoC dtsi ARM: dts: iwg23s-sbc: Enable watchdog support ARM: dts: r8a77470: Add USB-DMAC device nodes ARM: dts: r8a77470: Add CMT SoC specific support ARM: dts: iwg23s-sbc: Enable cmt0 ARM: dts: iwg23s-sbc: Add pinctl support for EtherAVB Fabrizio Castro (6): ARM: dts: r8a77470: Add I2C[0123] support ARM: dts: r8a77470: Add SDHI0 support ARM: dts: r8a77470: Add SDHI1 support ARM: dts: iwg23s-sbc: Add uSD and eMMC support ARM: dts: r8a77470: Add QSPI support ARM: dts: iwg23s-sbc: Add QSPI flash support Laurent Pinchart (1): ARM: dts: r8a779[01]: Disable unconnected LVDS encoders Magnus Damm (1): ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI Phil Edworthy (2): ARM: dts: r9a06g032: Add pinctrl node ARM: dts: r9a06g032: Correct the GIC DT node name arch/arm/boot/dts/emev2.dtsi | 2 +- arch/arm/boot/dts/r8a7740.dtsi | 2 +- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 119 ++++++++++++++++ arch/arm/boot/dts/r8a77470.dtsi | 222 +++++++++++++++++++++++++++++- arch/arm/boot/dts/r8a7790-lager.dts | 2 - arch/arm/boot/dts/r8a7791-koelsch.dts | 2 - arch/arm/boot/dts/r8a7791-porter.dts | 2 - arch/arm/boot/dts/r9a06g032.dtsi | 10 +- arch/arm/boot/dts/sh73a0.dtsi | 2 +- 9 files changed, 352 insertions(+), 11 deletions(-) From patchwork Wed Nov 28 13:03:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702629 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 C3F9313A4 for ; Wed, 28 Nov 2018 13:09:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B17AA2C335 for ; Wed, 28 Nov 2018 13:09:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A56582D1A6; Wed, 28 Nov 2018 13:09:48 +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=unavailable 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 A296E2C335 for ; Wed, 28 Nov 2018 13:09:47 +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=8+9mWxdQtIuYJ93S/M3irJYFfJ1//XvIDjGXKI7osNg=; b=f3J+vr+fSRWw+Bkedy9Eq7FZ2h +0WpoXENEwaPzm1F0W/5X9itaCULMyZ9c4DC2/mbB3THnAF/Ys+pOlbQbPfU/JFh3TnBI9zDC5R5R TDyFNISnFbQKW3eqi9bXjwvwzqwi3O2Sb4IRjvpKCxGyp1cdDkVrlfZNxNo3z01NoFWJKapw5btHY W5kRLBOJhF03WzWO1Lh6tGj+Wuw9/Gfxx02q5s7ScD1Lapkx8vrCJDQA97SOkjeyPtjsRZSYtzBZf LMhl8bPg8TSzPqgWFf0KXyxf6q0nOQpM0dg5gb6Ss/eVLF61jOfsO1tefRiVckndO7DvgSXK2NA9a Nf9FmDbA==; 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 1gRzb7-0001zv-RQ; Wed, 28 Nov 2018 13:09:45 +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 1gRzVP-0003Gc-JG for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:03:59 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 6383F25BE33; Thu, 29 Nov 2018 00:03:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410202; bh=ZMnDoCvOxDtcaOQqurBGnmXp8e6nX7G7mnolzOT8kGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F8JqAYK+6zVqVs40IBqZ2+PoEexqoGhrG/qlMEDLjOvdNtt6KRd0D4ddMyYo2O/+a WrmU2yRdqySvEhlht+ArzxPc6nhzm8Z00GgU7XnB/+JalkzD1mCUk1wVUKP2rCVd56 gaPEdw5ZxlTLS7Ep//dm3Fhj0jJym0HpCDbOt6/Y= Received: by reginn.horms.nl (Postfix, from userid 7100) id 5F5689402E1; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 02/16] ARM: dts: r8a77470: Add I2C[0123] support Date: Wed, 28 Nov 2018 14:03:04 +0100 Message-Id: <4f94af57237ad1c9c6328b468fd8fbbd19c2fb78.1543409901.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-20181128_050352_171195_BCA41233 X-CRM114-Status: GOOD ( 11.66 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , 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: Fabrizio Castro Add device tree nodes for the I2C[0123] controllers. Also, add the aliases node. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index 9ec78d3d0ca8..9611a936e1b8 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -14,6 +14,14 @@ #address-cells = <2>; #size-cells = <2>; + aliases { + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c4 = &i2c4; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -237,6 +245,62 @@ reg = <0 0xe6300000 0 0x20000>; }; + i2c0: i2c@e6508000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a77470", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6508000 0 0x40>; + interrupts = ; + clocks = <&cpg CPG_MOD 931>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 931>; + i2c-scl-internal-delay-ns = <6>; + status = "disabled"; + }; + + i2c1: i2c@e6518000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a77470", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6518000 0 0x40>; + interrupts = ; + clocks = <&cpg CPG_MOD 930>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 930>; + i2c-scl-internal-delay-ns = <6>; + status = "disabled"; + }; + + i2c2: i2c@e6530000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a77470", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6530000 0 0x40>; + interrupts = ; + clocks = <&cpg CPG_MOD 929>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 929>; + i2c-scl-internal-delay-ns = <6>; + status = "disabled"; + }; + + i2c3: i2c@e6540000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a77470", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6540000 0 0x40>; + interrupts = ; + clocks = <&cpg CPG_MOD 928>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 928>; + i2c-scl-internal-delay-ns = <6>; + status = "disabled"; + }; + i2c4: i2c@e6520000 { #address-cells = <1>; #size-cells = <0>; From patchwork Wed Nov 28 13:03:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702631 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 AE6DC18B8 for ; Wed, 28 Nov 2018 13:10:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BC772C9BF for ; Wed, 28 Nov 2018 13:10:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F8A82D200; Wed, 28 Nov 2018 13:10:09 +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 2F5AE2D226 for ; Wed, 28 Nov 2018 13:10:09 +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=9hFg8gnNieRtc+QjSsocZhFx4zlew3x65qGO2fD8ETA=; b=rqJc1w4dFD0GHUFsjZjwMgDYQ9 Ge/4sFTmmym7mCqqzjU0Gxk0LJiKTOyU2x2mj5+ZOdbsga0N1cB/gJDhpFXJlP6Fd/5BRkSQlRUCu z25xikGIHyoyWQbdThnQs0lMLg0YhSLCN/Cq+STXK0fnlKHxXjwW16gIj+lDVejmeG08vSTcJCT+l NsLjRwcogjNqV8ADjmBpMEXosMC2MKPnqUr/jaCTN6vfS75DDTZsVyrli/CHYuS8rHK3j10MCLWxg 5Ebl/0H2a03RY3OBO6Vlwh69WHVxFNonfSkdO6IeyBTkh411bagYJepTGc/hXuzgjFIBCZW88zhDp j5LUtSRw==; 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 1gRzbR-0002HX-0a; Wed, 28 Nov 2018 13:10:05 +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 1gRzVX-0003Gc-NM for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:04:04 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 7D71025BED1; Thu, 29 Nov 2018 00:03:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410202; bh=o1Sm0ut/O1YhV6xQBWFa1rboxFAOmDWLINgJ7dM1hfA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D6XZlcP1+HO3RfMCRWAp7iTRyqtb15yFiDpGODzTCruPcYwQ81aefU9svPZrHx//p XBODGlQMJLZzmSMcEqs25hhtJTTQ26xCvh/WbB+1l+4MSkWp5eAy42MKzLthGn45/6 D/8x10RJOBCO+cvJCCEg1H6wBh9wrB/9U34Az0so= Received: by reginn.horms.nl (Postfix, from userid 7100) id 728B1940504; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 03/16] ARM: dts: r8a77470: Add SDHI0 support Date: Wed, 28 Nov 2018 14:03:05 +0100 Message-Id: <15aa5a95e820e8183aa34535131e7c97789b8504.1543409901.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-20181128_050400_423846_4053A38B X-CRM114-Status: GOOD ( 14.22 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , 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: Fabrizio Castro RZ/G1C comes with two different types of IP for the SDHI interfaces, SDHI0 and SDHI2 share the same IP type, and such an IP is also compatible with the one found in R-Car Gen2. SDHI1 IP on the other hand is compatible with R-Car Gen3 with internal DMA. This patch completes the SDHI support of the R-Car Gen2 compatible IPs, including fixing the max-frequency definition of SDHI2, as it turns out there is a bug in Section 1.3.9 of the RZ/G1C Hardware User's Manual (Rev. 1.00 Oct. 2017). Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index 9611a936e1b8..ab2e0223f8a1 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -490,6 +490,21 @@ status = "disabled"; }; + sdhi0: sd@ee100000 { + compatible = "renesas,sdhi-r8a77470", + "renesas,rcar-gen2-sdhi"; + reg = <0 0xee100000 0 0x328>; + interrupts = ; + clocks = <&cpg CPG_MOD 314>; + dmas = <&dmac0 0xcd>, <&dmac0 0xce>, + <&dmac1 0xcd>, <&dmac1 0xce>; + dma-names = "tx", "rx", "tx", "rx"; + max-frequency = <156000000>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 314>; + status = "disabled"; + }; + sdhi2: sd@ee160000 { compatible = "renesas,sdhi-r8a77470", "renesas,rcar-gen2-sdhi"; @@ -499,7 +514,7 @@ dmas = <&dmac0 0xd3>, <&dmac0 0xd4>, <&dmac1 0xd3>, <&dmac1 0xd4>; dma-names = "tx", "rx", "tx", "rx"; - max-frequency = <97500000>; + max-frequency = <78000000>; power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; resets = <&cpg 312>; status = "disabled"; From patchwork Wed Nov 28 13:03:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702609 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 67215109C for ; Wed, 28 Nov 2018 13:04:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52BF32B948 for ; Wed, 28 Nov 2018 13:04:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4403B2B9A3; Wed, 28 Nov 2018 13:04:33 +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 C16622B948 for ; Wed, 28 Nov 2018 13:04:32 +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=oDjnGFYZFLTMDi0zJ9pylitgGup8C6Xpuf2Z29spuv8=; b=ZqSl1sxc/ijnwL/CaeQe4fy3Cu D1eEQLq+AHDxL/Q6ICRnNQb4gJ0/5/awXTkhLC47YhjoyVDbLPTQzj37Uje/Hb+5DZXOXxcQyhYhi C3fmuORRVtGPVL8DG6sFCCPWSue+BrwEL2cVUDDhQR2Mvg0cHzW9ywS8mGU50me3+da571c6Dp72b 6ah2qt27unDBIX5CJ40/2TV4szswsJyjjOYRjmI/+UiEUDQp+73dVxvGPlsm7WiXj3LxT5tQrB6lu KRLgGKztOLtEc+Xb+Q9UH8j45FcfhrebQ928Sw4k80RSat/WwfQI1SvxxrcP+XovunP2S0uFg1b5+ YNr5qEAw==; 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 1gRzVw-0004Gh-GH; Wed, 28 Nov 2018 13:04:24 +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 1gRzVd-0003Gc-2R for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:04:14 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 8F3CE25BEE1; Thu, 29 Nov 2018 00:03:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410202; bh=5/Y1FQguPqZaAgeTeaO6aTl+BrDKfr19d0stNpz67zo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h7/em7HhuCM9RfS0TI8CEvbfSFiOPRNxuAgVF8KdhZGfUO52vAyeJmdtR+L7rB/xp wDQBEUIbX+gMyTSTpc5cnqHzt8Oebd0uocwSBUJjRYIcKuS5zqlyPWpMkfeLVW7jLQ lb17xh9ZMSARxQgrCctuNEWk840eLYrlyseDzF/o= Received: by reginn.horms.nl (Postfix, from userid 7100) id 8700F940591; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 04/16] ARM: dts: r8a77470: Add SDHI1 support Date: Wed, 28 Nov 2018 14:03:06 +0100 Message-Id: <0485da788028ecd525291974c8efe2d072607476.1543409901.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-20181128_050405_788137_7CA2815B X-CRM114-Status: GOOD ( 12.73 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , 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: Fabrizio Castro Althought interface SDHI1 found on the RZ/G1C SoC (a.k.a. r8a77470) is compatible with the R-Car Gen3 ones, its OF compatibility is restricted to the SoC specific compatible string to avoid confusion, as from a more generic perspective the RZ/G1C is sharing the most similarities with the R-Car Gen2 family of SoCs, and there is a combination of R-Car Gen2 compatible SDHI IPs and R-Car Gen3 compatible SDHI IP on this specific chip. This patch adds the SoC specific part of SDHI1 support, and since SDHI1 comes with internal DMA, its DT node looks fairly different from SDHI0 and SDHI2. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index ab2e0223f8a1..6ac7f467065e 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -505,6 +505,17 @@ status = "disabled"; }; + sdhi1: sd@ee300000 { + compatible = "renesas,sdhi-mmc-r8a77470"; + reg = <0 0xee300000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 313>; + max-frequency = <156000000>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 313>; + status = "disabled"; + }; + sdhi2: sd@ee160000 { compatible = "renesas,sdhi-r8a77470", "renesas,rcar-gen2-sdhi"; From patchwork Wed Nov 28 13:03:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702613 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 DC37F109C for ; Wed, 28 Nov 2018 13:05:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAA892B9A3 for ; Wed, 28 Nov 2018 13:05:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF5F52B9AD; Wed, 28 Nov 2018 13:05:25 +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=unavailable 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 4D5582B9A3 for ; Wed, 28 Nov 2018 13:05:25 +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=r+cnZLizPcrW5GXdog6CQJ8uaHYg5BrqyK2z1MlZ8yE=; b=hdRVySSTq21OZ+Dptfaiuu6Ont gAQZN5auFDBqtN95BOkth6G7pUqTkuQtaHnUY3aNktCuarADNXY9k9vUn/Z6CV/GZDpZdCqhCWQMc GD52W26ZAEQVLHixTgJ25sXqaWhma3QGrnyS28NZdfjhj1L418g4h2PBkBCIGx5xA4+IyefMCCAOS gERbtd2+QsYkm2EpFs+i/sbbM4rGGc2/Jd/IqbPyPmSr9o46Gq55VD8lCUJ/KfFXlgxPaQhF7vT99 Li9xG4zyIS3lCPGE/tyDEhEEk3yJOGXUvtMS5SxjlnwIyMEtbTdEkOeC5wl5Pr/5ryFQYL8AGQPz1 X1feTmzQ==; 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 1gRzWq-000626-Sf; Wed, 28 Nov 2018 13:05:20 +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 1gRzW7-0003Gc-FJ for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:04:50 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 1B8D225BEE4; Thu, 29 Nov 2018 00:03:23 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410203; bh=eRsr7cWH/acPZ2qgG9aWnSmXbreggjxJUU0GqI4RigQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=koKC9OPyk1+RyDFRcdo0uXSCMibsMedMzRAe7FNGTBF/ZvLUnJYwX5t2gv4Lq0CtQ 035bhLHxj7dZUuJO901aUIVrRQIfCRQVvjWZifwavFqEGrlF/TtOgJDelWiOR3o18r Sxdhqr1vz9ABV19Jgtqy0LH7y861aA7MIm+srE0U= Received: by reginn.horms.nl (Postfix, from userid 7100) id 9B3F79407D2; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 05/16] ARM: dts: iwg23s-sbc: Add uSD and eMMC support Date: Wed, 28 Nov 2018 14:03:07 +0100 Message-Id: <9eb36b945b5c21d57c02a26cc629dd9484ced9aa.1543409901.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-20181128_050435_916192_5799348D X-CRM114-Status: GOOD ( 12.44 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , 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: Fabrizio Castro Add uSD card and eMMC support to the iwg23s single board computer powered by the RZ/G1C SoC (a.k.a. r8a77470). Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 76 +++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts index 22da819f186b..e5cfb50ddce3 100644 --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts @@ -6,6 +6,7 @@ */ /dts-v1/; +#include #include "r8a77470.dtsi" / { model = "iWave iW-RainboW-G23S single board computer based on RZ/G1C"; @@ -25,6 +26,37 @@ device_type = "memory"; reg = <0 0x40000000 0 0x20000000>; }; + + reg_1p8v: reg-1p8v { + compatible = "regulator-fixed"; + regulator-name = "fixed-1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + reg_3p3v: reg-3p3v { + compatible = "regulator-fixed"; + regulator-name = "fixed-3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + vccq_sdhi2: regulator-vccq-sdhi2 { + compatible = "regulator-gpio"; + + regulator-name = "SDHI2 VccQ"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; + gpios-states = <1>; + states = <3300000 1 + 1800000 0>; + }; }; &avb { @@ -46,10 +78,28 @@ }; &pfc { + mmc_pins_uhs: mmc_uhs { + groups = "mmc_data8", "mmc_ctrl"; + function = "mmc"; + power-source = <1800>; + }; + scif1_pins: scif1 { groups = "scif1_data_b"; function = "scif1"; }; + + sdhi2_pins: sd2 { + groups = "sdhi2_data4", "sdhi2_ctrl"; + function = "sdhi2"; + power-source = <3300>; + }; + + sdhi2_pins_uhs: sd2_uhs { + groups = "sdhi2_data4", "sdhi2_ctrl"; + function = "sdhi2"; + power-source = <1800>; + }; }; &scif1 { @@ -58,3 +108,29 @@ status = "okay"; }; + +&sdhi1 { + pinctrl-0 = <&mmc_pins_uhs>; + pinctrl-names = "state_uhs"; + + vmmc-supply = <®_3p3v>; + vqmmc-supply = <®_1p8v>; + bus-width = <8>; + mmc-hs200-1_8v; + non-removable; + fixed-emmc-driver-type = <1>; + status = "okay"; +}; + +&sdhi2 { + pinctrl-0 = <&sdhi2_pins>; + pinctrl-1 = <&sdhi2_pins_uhs>; + pinctrl-names = "default", "state_uhs"; + + vmmc-supply = <®_3p3v>; + vqmmc-supply = <&vccq_sdhi2>; + bus-width = <4>; + cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>; + sd-uhs-sdr50; + status = "okay"; +}; From patchwork Wed Nov 28 13:03:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702611 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 A55C413A4 for ; Wed, 28 Nov 2018 13:05:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94EAD2B9A3 for ; Wed, 28 Nov 2018 13:05:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 897802B9AD; Wed, 28 Nov 2018 13:05:13 +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 29C7A2B9A3 for ; Wed, 28 Nov 2018 13:05:13 +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=qn+n1FvsoldJO0xNRGODGveepRK/d6idWGzsXQyhsjU=; b=AMT8dJeuXh0f7BStI9waYqDgQZ 9JuBxWG6NIHQIxCw7iuTA1qj63V+gl8YpmK1gQ/qz9ghZ48oR9lL/VntiqUpH+7NOyEBH5aBTxr6g lNNW6QnbGJrSMLdhpwVADrWSOPZ/FI6HEhIGE3DTJDfdb2/wLcFlOnV9FhM3fHSGGcal6j6i8Fy9D rOg+5BHx4X2ZlkrD9NU1vjOQ3O/W+jjP2K/lr3EQgGjSpP7R+Lwp+lSm1k1d8f6ApLnpT50dusRFA J5MKDDeF4Uf2vkJ+L+svK2g3SbTIxptQ3WVRA+15zl13o0mxzSkYfMGIKrUnlyVudMdKaQ96Zv18a oPARBfIg==; 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 1gRzWb-0004tW-ON; Wed, 28 Nov 2018 13:05:05 +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 1gRzVn-0003Gc-1v for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:04:35 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 1377725BEE3; Thu, 29 Nov 2018 00:03:23 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410203; bh=zqnOzmjdkMjNWWOdVhaHIbT9aUCeqXqTwbB916UCY6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=htH2mTH4Y9wXzQrvkmN5RHmRuoIxWNtX2yhhsgeYiEP0Alcrxhz8hyl6acOacKqox +UHJ+yD/UHHCBQikXKOteMOtv/7nGkCuOmCHPOlpGw5wdD38Et6nzxZ5S8+rErxIAh lk1GAZeYkTeRrzQo2RFK9drWaS+WkjIJhOkkqXdM= Received: by reginn.horms.nl (Postfix, from userid 7100) id ABED194080C; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 06/16] ARM: dts: r8a779[01]: Disable unconnected LVDS encoders Date: Wed, 28 Nov 2018 14:03:08 +0100 Message-Id: <89862542fab10fed8a3c2f9c167622ef4287351d.1543409901.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-20181128_050415_376486_470F4933 X-CRM114-Status: GOOD ( 10.77 ) 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 , Laurent Pinchart , Magnus Damm , 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: Laurent Pinchart The LVDS0 encoder on Koelsh and Porter, and the LVDS1 encoder on Lager, are enabled in DT but have no device connected to their output. This result in spurious messages being printed to the kernel log such as rcar-du feb00000.display: no connector for encoder /soc/lvds@feb90000, skipping Fix it by disabling the encoders. Fixes: 15a1ff30d8f9 ("ARM: dts: r8a7790: Convert to new LVDS DT bindings") Fixes: e5c3f4707f39 ("ARM: dts: r8a7791: Convert to new LVDS DT bindings") Reported-by: Geert Uytterhoeven Signed-off-by: Laurent Pinchart Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7790-lager.dts | 2 -- arch/arm/boot/dts/r8a7791-koelsch.dts | 2 -- arch/arm/boot/dts/r8a7791-porter.dts | 2 -- 3 files changed, 6 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 50312e752e2f..7b9508e83d46 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -489,8 +489,6 @@ }; &lvds1 { - status = "okay"; - ports { port@1 { lvds_connector: endpoint { diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index ce22db01fbba..e6580aa0cea3 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -479,8 +479,6 @@ }; &lvds0 { - status = "okay"; - ports { port@1 { lvds_connector: endpoint { diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts index f02036e5de01..fefdf8238bbe 100644 --- a/arch/arm/boot/dts/r8a7791-porter.dts +++ b/arch/arm/boot/dts/r8a7791-porter.dts @@ -482,8 +482,6 @@ }; &lvds0 { - status = "okay"; - ports { port@1 { lvds_connector: endpoint { From patchwork Wed Nov 28 13:03:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702619 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 CE7A2109C for ; Wed, 28 Nov 2018 13:06:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC80B2B9A3 for ; Wed, 28 Nov 2018 13:06:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFDE62B9AD; Wed, 28 Nov 2018 13:06:34 +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 A20072B9A3 for ; Wed, 28 Nov 2018 13:06:33 +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=sA3VFOUmESgjGBJ2FS5z82w2JXV/P2ntCizdTE26th0=; b=i4dhwMlnvv6pnesBEMOb4tkcMD LgxqVkl1aaa7mYvtSMIOUObgpB9DS9gHdj6HYajoJAWPp0BtG4/gz5HpEgtOxxASiw/tfAMtFVNg+ gFiF6vggWtb/A7SMHyrNVg+yPc6J0CyiKq0lc0yalamFpf2p8mTff/hoeGULNop0JLf4L/TO+TgcL 3Y2tifgeJhP13I6dob/3k9n2Nbu57t4Fqx9tO60ow5HVg2CxCdCFwzQu1sz4koLcypQJyNb8Ohdj3 6iNb2+ei7Uca2Y0+SmidpO1GDcp5anFyjpkSj4AGiQ5CwJRlXZVp5J74ts2cvkRd8BLxKmPYtCAOs EcigVfJA==; 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 1gRzY0-0007Rh-L5; Wed, 28 Nov 2018 13:06:32 +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 1gRzWl-0003Gc-Gs for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:05:36 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id BD65525BEE9; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=LJmVlFDSTdvczZFM0MbUI0wPSsnwG3NnGtYXqbhGr+c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ohGQv/T+0FdwTP+COGOoIIUv2jPCXqYkDMvucZWL9hQXMiowcgHIDW09fBrajiwfl enLZUZL+WIcAnKOLOTUcs3s5T9hSWfKY9QgXu1Fatbvqv6K1ziVvj6ZjmVbr/ANCnP WJW9cp6Eoq4VGdCLW3otbPo/HqwByDNOfv7SBeo0= Received: by reginn.horms.nl (Postfix, from userid 7100) id C079B940826; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 07/16] ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI Date: Wed, 28 Nov 2018 14:03:09 +0100 Message-Id: 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-20181128_050516_380913_743E9BDB X-CRM114-Status: GOOD ( 10.28 ) 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: Magnus Damm , Magnus Damm , Magnus Damm , linux-arm-kernel@lists.infradead.org, Simon Horman 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: Magnus Damm Update the R-Mobile A1 (r8a7740), Emma Mobile EV2 (emev2) and SH-Mobile AG5 (sh72a0) DTSI to include product name. Signed-off-by: Magnus Damm [simon: squashed similar patches] Signed-off-by: Simon Horman --- arch/arm/boot/dts/emev2.dtsi | 2 +- arch/arm/boot/dts/r8a7740.dtsi | 2 +- arch/arm/boot/dts/sh73a0.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/emev2.dtsi b/arch/arm/boot/dts/emev2.dtsi index 373ea8720769..67d86012a85c 100644 --- a/arch/arm/boot/dts/emev2.dtsi +++ b/arch/arm/boot/dts/emev2.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Device Tree Source for the EMEV2 SoC + * Device Tree Source for the Emma Mobile EV2 SoC * * Copyright (C) 2012 Renesas Solutions Corp. */ diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi index 383cba68dbba..12ffe73bf2bc 100644 --- a/arch/arm/boot/dts/r8a7740.dtsi +++ b/arch/arm/boot/dts/r8a7740.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Device Tree Source for the r8a7740 SoC + * Device Tree Source for the R-Mobile A1 (R8A77400) SoC * * Copyright (C) 2012 Renesas Solutions Corp. */ diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi index e8f0a07c4564..33836990b102 100644 --- a/arch/arm/boot/dts/sh73a0.dtsi +++ b/arch/arm/boot/dts/sh73a0.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Device Tree Source for the SH73A0 SoC + * Device Tree Source for the SH-Mobile AG5 (R8A73A00/SH73A0) SoC * * Copyright (C) 2012 Renesas Solutions Corp. */ From patchwork Wed Nov 28 13:03:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702617 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 6821E109C for ; Wed, 28 Nov 2018 13:06:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5348A2B9A3 for ; Wed, 28 Nov 2018 13:06:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43A312B9AD; Wed, 28 Nov 2018 13:06:24 +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 EE6642B9A3 for ; Wed, 28 Nov 2018 13:06:23 +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=gT7RF5yedplPuyQ/amYRE+pqkXtNQIVEOwtBF09YcAg=; b=pWcGofp41I17JRfyFVpntUieNo bpm4lwyrA7RrUI9qQlhJ4btxiDTv/efrRgHdF8uHE4TJ+3o1nF3Eus9uGRYm+pqGkSAK9UF7i4byb uPPQUytnA+ahz/cE3okT8KxMsgd5iLZCl3GjC6s+Bh+7og+XHV8pUnPbpiBGj0b4bTYV4fVTC9Tzj KoK1+JR5Vu8zpE2845rIgj9Ld9o7Snt/d4am/4d0oSPn4+K4de3SJ59pWbDX1zETh79o09D0KXTuE rBfU4swDMPgJGGJG47XkvzKPckd2jtB+ja/MHgxAI15HG8qpatXwl6RT/U551S0CWN66SXrfqyyZ3 EmaeKAJg==; 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 1gRzXj-00076V-GG; Wed, 28 Nov 2018 13:06:15 +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 1gRzWZ-0003Gc-LJ for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:05:15 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id B4D6825BEE8; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=605DqnolmDIoOkXoo/JMEYqJoUpNiMnDYaZeozZAO3U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B/00C4zhevkrNg0d58H5NuIHF/xzY5yca4pZxf+s1cn/Z1309LJTG6Sf7J7cFFr4C idI61dkgRjrnCX3YrzepBROEeh1C20M8tafnxlpmX1xjbhi2rFvDjmpWtz01uHzE9H wzOBoCv4hdaGoljqJi42wqW8znotRVq+1IZlkwBY= Received: by reginn.horms.nl (Postfix, from userid 7100) id DB33494091B; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 08/16] ARM: dts: r8a77470: Add watchdog support to SoC dtsi Date: Wed, 28 Nov 2018 14:03:10 +0100 Message-Id: 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-20181128_050504_009199_B66C80B1 X-CRM114-Status: GOOD ( 11.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: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das This patch adds watchdog support to the r8a77470 SoC dtsi. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro [simon: moved node to preserve sort order] Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index 6ac7f467065e..a703b74cc1f9 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -79,6 +79,16 @@ #size-cells = <2>; ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a77470-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled"; + }; + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a77470", "renesas,rcar-gen2-gpio"; From patchwork Wed Nov 28 13:03:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702623 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 2F152109C for ; Wed, 28 Nov 2018 13:07:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D1322B9A3 for ; Wed, 28 Nov 2018 13:07:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E6012B9AD; Wed, 28 Nov 2018 13:07:13 +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 A33DB2B9A3 for ; Wed, 28 Nov 2018 13:07:12 +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=ej1pdrROF679s3mjUud7dPsJ3VLAd1xxW9Gbxak4Qig=; b=F4nJBnZnJYbAfMq04nseJIxzfQ RoJfll5sT51ykQjxmM2Zl8nm+IlmKEEtmNi4EA+xncFVX5TQydjYAoVyYZXhcTK6BygocVd+zbfaX 2CfnXBRxhK8FGrtSmeJI3C1/RlZlvBvr5wfhU5ZKFj0iMUFcxYdB9BdTq4tEKOLBq9T+HPvQO54Ag iO+QPwXtYOqRZ8uSfvwh9iBPkyy9rfuQ9BGOChqfVgcoTUUMQHgbzAtxFngUPb4EusE5G5CB1uwJZ Pakt753hlLaO7nm+pqak77TylOLHH3L+zrYa+Xj3UzlTuKKTTyIPrTb+0ZbwRF7XMW0hkUY3NsatE ESYxiswA==; 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 1gRzYb-0007zM-Rt; Wed, 28 Nov 2018 13:07:09 +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 1gRzXY-0003Gc-GW for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:06:11 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id D248025BEEB; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=OkIVzTV08DzAHvicTOb2C7468/0ilteCIVq/anrFo5A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TdT2l7DYwPl8Wn4lr4oJkRYesIbura1qlRkRc3rJVbQC460VXeeqsvWLpzx+VZ6VX WxvTio0HrHtOu+LKWxzX0FWXfzIGDphgPqzRSpeUTM5ExTIPPdt9q28YDvW6iYoROM GU+Z71cl2l35fja2LIdukRkK2cPU5fZEEJN7t3J4= Received: by reginn.horms.nl (Postfix, from userid 7100) id EA75D9408B1; Wed, 28 Nov 2018 14:03:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 09/16] ARM: dts: iwg23s-sbc: Enable watchdog support Date: Wed, 28 Nov 2018 14:03:11 +0100 Message-Id: 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-20181128_050605_021713_00509C5E X-CRM114-Status: GOOD ( 11.10 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das This patch enables watchdog support on the iWave iwg23s sbc. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts index e5cfb50ddce3..ffd8216f28c3 100644 --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts @@ -102,6 +102,11 @@ }; }; +&rwdt { + timeout-sec = <60>; + status = "okay"; +}; + &scif1 { pinctrl-0 = <&scif1_pins>; pinctrl-names = "default"; From patchwork Wed Nov 28 13:03:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702621 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 8A867109C for ; Wed, 28 Nov 2018 13:07:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 789BD2B9A3 for ; Wed, 28 Nov 2018 13:07:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CEBC2B9AD; Wed, 28 Nov 2018 13:07: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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable 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 544D82B9A3 for ; Wed, 28 Nov 2018 13:06:59 +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=LJVjcjWffomslcBcF6IaYNdzDxscchua6zVBxmmWtQQ=; b=W4/25VIUMZjASjjyW6GMjyNhXl D9u4XRxPgXojeMi34l7RF3Nr9Ry3dU/oH+mpGrQbufTHOiQJeOPRHlWFZePgkccggxgYGulSOJbad SHObMgfdLREXiGG9C0/7PhYY3I6ycRm2g2wfSbdYMX0os4qw5UuJPPF/Mqv/GeXptPivOc0aRn5z8 G2JXRjV1CiDRPG5F3SQfq+ChtTfljpa1hl4cJCv5/iTZfgB0ZPm9s5uZyuxFTytJdjfnpj3N+EH1T 6qKKafjT5u97cS1/eIYP3pHM4EJObwjVRf++4t3z6aJJIm+mtGaOXVD0BQy4aqFl5kUqTjeRM7ldI BGug4+IA==; 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 1gRzYG-0007hL-UU; Wed, 28 Nov 2018 13:06:48 +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 1gRzX7-0003Gc-6p for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:06:04 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id D02D725BEEA; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=Y+MtvAY+dQ3ssl7mSiFlj1deWn/8Rm/k/YE5cxlzXFU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HFQ1uga0XSDzC4Qo5kQnwxp4mPQpK7MUF04IFQ7+yDQwDKkm5rypdwS8jrGTNlT/i 6opFC+QQLTJsTEE3G2vgzpNKZN6Rppy+y5DApuPNpvCUw9qVqpKxbppotxk5SDY/jK 3l6wHA+zLUzND9n9L4Ngx1zlEKl2yW2mKK0Gy/y0= Received: by reginn.horms.nl (Postfix, from userid 7100) id 0AAE1940935; Wed, 28 Nov 2018 14:03:21 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 10/16] ARM: dts: r8a77470: Add USB-DMAC device nodes Date: Wed, 28 Nov 2018 14:03:12 +0100 Message-Id: <92c3ccd9b847a6cf130e10aa305e9e349626e4f0.1543409901.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-20181128_050538_377369_6AA62060 X-CRM114-Status: GOOD ( 11.02 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das This patch adds USB DMAC nodes. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 56 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index a703b74cc1f9..0a7ca2ff4dc4 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -325,6 +325,62 @@ status = "disabled"; }; + usb_dmac00: dma-controller@e65a0000 { + compatible = "renesas,r8a77470-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65a0000 0 0x100>; + interrupts = ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 330>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 330>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac10: dma-controller@e65b0000 { + compatible = "renesas,r8a77470-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65b0000 0 0x100>; + interrupts = ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 331>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 331>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac01: dma-controller@e65a8000 { + compatible = "renesas,r8a77470-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65a8000 0 0x100>; + interrupts = ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 326>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 326>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac11: dma-controller@e65b8000 { + compatible = "renesas,r8a77470-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65b8000 0 0x100>; + interrupts = ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 327>; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 327>; + #dma-cells = <1>; + dma-channels = <2>; + }; + dmac0: dma-controller@e6700000 { compatible = "renesas,dmac-r8a77470", "renesas,rcar-dmac"; From patchwork Wed Nov 28 13:03:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702635 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 7CA9517D5 for ; Wed, 28 Nov 2018 13:24:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 494D92CD93 for ; Wed, 28 Nov 2018 13:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C57F2CF41; Wed, 28 Nov 2018 13:24:45 +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 E43F42CD93 for ; Wed, 28 Nov 2018 13:24:44 +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=9lvSKeGxZwPvq+d2lJsJEt80BbEuc9bcwlZ+bNalbP8=; b=AA/sn4stWeIP536pyVutrMXhj2 8NDifxUUDAYqsd2SEKwTmTEkJhbyBOPKixuuPLL5KidYlPsY5isM9j1EY3e53/URAPU3VF/LwUnrA isE83X/yMFLpfmfVpcChxWmprU9seAksTRc6I8XTUZvr3z+AH2pKf1BkOzurBFNEirDzYWbA4JIKA n2mZBVRibjKmL7KZyW/pN+VRDBYrbwW7hT9fX6GIuGtxnkxEJpNUDKsFvit9C4awx7+CnL32lj7O/ GX4BtvXSW1tstMjbMjAvZBgDDJ/2rw1ABopzix+GUUqhzPOIal7fjhlq3JPWsBhel7NPdx5u3OoMW flEdr4kQ==; 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 1gRzpb-00015a-Fv; Wed, 28 Nov 2018 13:24:43 +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 1gRzXg-0003Gc-30 for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:06:24 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id E3A8325BEEC; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=JAvB0TlIDA59fhLFH8v04jyK6FG9OjCwE5viNiMPvm8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DukL3iX6J4+btTd99bcUqL3Q+vGNxRzVipfCWtrbm4c2yUuYzQ03LwlA5LBqxE7Os agyRpHc0N+VfbkrqVV70VX71/ARBtWFwfN6OXId5at2wFMFIcvvUTr+igQqo07zbxh Ajhf3rl729YH0Izws8Nw5plcRL9Pm9WTgmSRbLfo= Received: by reginn.horms.nl (Postfix, from userid 7100) id 255919404AF; Wed, 28 Nov 2018 14:03:21 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 11/16] ARM: dts: r8a77470: Add CMT SoC specific support Date: Wed, 28 Nov 2018 14:03:13 +0100 Message-Id: <8129890823855fedab15bc0df1f89beaac5653db.1543409901.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-20181128_050612_979839_9DA5896C X-CRM114-Status: GOOD ( 10.50 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Add CMT[01] support to r8a77470 SoC DT. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index 0a7ca2ff4dc4..5c0e48d0449a 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -615,6 +615,38 @@ compatible = "renesas,prr"; reg = <0 0xff000044 0 4>; }; + + cmt0: timer@ffca0000 { + compatible = "renesas,r8a77470-cmt0", + "renesas,rcar-gen2-cmt0"; + reg = <0 0xffca0000 0 0x1004>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 124>; + clock-names = "fck"; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 124>; + status = "disabled"; + }; + + cmt1: timer@e6130000 { + compatible = "renesas,r8a77470-cmt1", + "renesas,rcar-gen2-cmt1"; + reg = <0 0xe6130000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 329>; + clock-names = "fck"; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + resets = <&cpg 329>; + status = "disabled"; + }; }; timer { From patchwork Wed Nov 28 13:03:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702625 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 5C0B113A4 for ; Wed, 28 Nov 2018 13:08:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 495FD2B9A5 for ; Wed, 28 Nov 2018 13:08:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B5992B9B9; Wed, 28 Nov 2018 13:08:19 +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 E874A2B9A5 for ; Wed, 28 Nov 2018 13:08:18 +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=pRnSaHeaw2KhmWEU7FjEcQZi4JeCqeAKUFhtz4iKUpM=; b=qMjC1xzQTUvlFRqL+rm1Ss/Csc aHmgmH8jkLQ5WdDARBtTVqr6qgBKRYlUa2asDPsErbx+uPHbAX2eSL+uyK2uCruE5sVsb1Uw7Zc0h YaYu8yjNWlsUZYDsf/fAxMt/qzgmfyPHzn8BjXion+TIZU3tRDsyN10k3LwbpzS3ATIyP8ObWjVzS Ybt9/EvkH9PiVztLh+iEbvEsAusakNiwJX27o71CpAlchSfkDUjLZYo3Ra6YygjY9ttSbV+Q1ufkZ vYC/NXQ8pogBprcqD5XLs0u+rtQtZ6rG/0C904dTUPWpTXazWnD1qlivA1qdDo1LNspsM3rgNZYqD ZdQ5zHfQ==; 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 1gRzZb-0000cP-KX; Wed, 28 Nov 2018 13:08:11 +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 1gRzXs-0003Gc-Sl for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:06:34 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id F3F7225BEEE; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=KRy1HD5Q47bQlkvFWtP5ejyjOLrCSj5vDDMELYKkqbc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=klviBalTdLJBQZGReU6sXIgSFgncnbxlUlJyjpFKGiWQ7Fu5F+RvCRkDL3cGKnuoG 5Q3YZ96pGwGrtbfJkWeekhkrYfMVX0Q7MJtR2t+2vARpA+NdnEdfUaSOiTb4+IJAc/ cq5TsnnIuczVoeXodv2r5nLVu52L9McUt8OQB3Kk= Received: by reginn.horms.nl (Postfix, from userid 7100) id 3344E9409C1; Wed, 28 Nov 2018 14:03:21 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 12/16] ARM: dts: iwg23s-sbc: Enable cmt0 Date: Wed, 28 Nov 2018 14:03:14 +0100 Message-Id: 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-20181128_050625_514165_0D9B97DB X-CRM114-Status: UNSURE ( 9.65 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das This patch enables cmt0 support on the iWave iwg23s sbc. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts index ffd8216f28c3..18d22631e188 100644 --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts @@ -73,6 +73,10 @@ }; }; +&cmt0 { + status = "okay"; +}; + &extal_clk { clock-frequency = <20000000>; }; From patchwork Wed Nov 28 13:03:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702627 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 96AE313A4 for ; Wed, 28 Nov 2018 13:08:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 812E32B9A5 for ; Wed, 28 Nov 2018 13:08:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71E8B2B9B9; Wed, 28 Nov 2018 13:08:26 +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 0EA1E2B9A5 for ; Wed, 28 Nov 2018 13:08:26 +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=f3Mf1xh8CRbx/dBWezARRkH1K+1bsN4DZL/85+Y566g=; b=tJozLq0DYTvLFUZtc8EIbQFQle 9lrvQ4fX8Yb3ee7erOhfnzNBRZHXQu9TKq8Xc3XZplxnujr6/FqN9uEaNfwGB2f2Il1PH3f6MmQs3 J48TZPIEvmw9dpFtw/qUM+5xow3fPWLYDEXjNbN20Mn3DV4bUx3h9gjAFEiXNRv5/sX+pUHxWFQ0F AaIeX0zI/RaSuGXB7Yj6kovpGa5C0FALRftI+W0pM0aWoxOcLlS4G32CQXnZHIc2Htt4mREo+kg3M RkmATxMApA8sDRcFlEMt19fm+J8ZHvI5c/9wACaxLGfaJn1IYAjpqS3uG/hihdkYvlEzZfkdZu85J HJWIS4yQ==; 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 1gRzZm-0000nD-6c; Wed, 28 Nov 2018 13:08:22 +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 1gRzY2-0003Gc-RT for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:06:43 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 0CFF025BEEF; Thu, 29 Nov 2018 00:03:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=c+accM3wAHX7sWVzDeBAe3+3J8iSh8prHCg6tv5dFKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jHyJlqmvWam6ikYki4g4G9a6HZUMzSPcyfimi1t4riTSK5XvTokzrBgxUHqJp00lm AHNxicGiS9Hcir0z5U1naRc9cS1m9RaeyZZ/hG5WSQ8taHMWVPIdwiqN+7xQWReJlw gM8Lvr387nV5d4lYq9VeZXOl9IjSYoHFjLzHzmKc= Received: by reginn.horms.nl (Postfix, from userid 7100) id 4FC2D940A31; Wed, 28 Nov 2018 14:03:21 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 13/16] ARM: dts: iwg23s-sbc: Add pinctl support for EtherAVB Date: Wed, 28 Nov 2018 14:03:15 +0100 Message-Id: <976a5ccb808da21f77a3bb1123a9e5df6f2d9564.1543409901.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-20181128_050635_674629_7F81AE90 X-CRM114-Status: GOOD ( 11.39 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Adding pinctrl support for EtherAVB interface. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts index 18d22631e188..52f23b858885 100644 --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts @@ -60,6 +60,9 @@ }; &avb { + pinctrl-0 = <&avb_pins>; + pinctrl-names = "default"; + phy-handle = <&phy3>; phy-mode = "gmii"; renesas,no-ether-link; @@ -82,6 +85,11 @@ }; &pfc { + avb_pins: avb { + groups = "avb_mdio", "avb_gmii_tx_rx"; + function = "avb"; + }; + mmc_pins_uhs: mmc_uhs { groups = "mmc_data8", "mmc_ctrl"; function = "mmc"; From patchwork Wed Nov 28 13:03:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702639 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 9E9DA14E2 for ; Wed, 28 Nov 2018 13:25:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA6C52D018 for ; Wed, 28 Nov 2018 13:24:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB5A72D2AC; Wed, 28 Nov 2018 13:24:55 +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 82AF12D018 for ; Wed, 28 Nov 2018 13:24:55 +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=oUMxFhIPGGs53mvwTqDRZtxCm0gxIVCPbapZ/ud7pFU=; b=KoPBFE6bxt9jBfYkWU+Wr9Ug25 8ssXzBkyQnUoYxUdYy82Tv5+Jp0iS6SkuywGPV58U2e5sf5aXXM+XRe3BPqEgxPxw2fq1v9yvFlWE GCy/hr2W7vWLLtbU7DwcV5XTXgpfYSVp36Epqje0a13eSdAUVA5ydwpn+hOqVSycsYmA65wzzyUzR Bgop2lpzxLSR+PcCTytjpjZj+cH4dNsEHb9KQ5Jj1fKJTV089GEVgSJmVDqnFUHM9Pji75zQqa7Uy JEm+aWWUwLf+YVDdvcEBbwwNV8yVNkmefjM+hzlmM0QKRWZE28Ut7KIJhb3ptGTjprEva7F3kzEZB w6YeQjNw==; 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 1gRzpl-0001Gy-9i; Wed, 28 Nov 2018 13:24:53 +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 1gRzYZ-0003Gc-28 for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:07:49 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 12CC925BEF0; Thu, 29 Nov 2018 00:03:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410206; bh=HUBb8sWBdkEJGlJKx2gv5pQHk/TveiitfouEooOF5mk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mAWT1Q4+lcsJ3DCuTswssTW5RUZtkjP7uMRzNMeM3ZmJEuG/LvPyFISTISmTQtkAw 4wJ7TnV1Bs0MokikHo4TbRK0XcefepqOnZI6pi7mk3MZYTnTyqrweNswzTnTi7jn+a 1ngfPcRVl0uL8Akj11ZsRoRpaYBN9Onkkna4svzw= Received: by reginn.horms.nl (Postfix, from userid 7100) id 5CB0B94093E; Wed, 28 Nov 2018 14:03:21 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 14/16] ARM: dts: r8a77470: Add QSPI support Date: Wed, 28 Nov 2018 14:03:16 +0100 Message-Id: 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-20181128_050707_502648_AAFB7B2B X-CRM114-Status: GOOD ( 12.00 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , 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: Fabrizio Castro Add QSPI[01] support to the RZ/G1C SoC specific device tree. Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index 5c0e48d0449a..f4e232bf9d03 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -460,6 +460,38 @@ status = "disabled"; }; + qspi0: spi@e6b10000 { + compatible = "renesas,qspi-r8a77470", "renesas,qspi"; + reg = <0 0xe6b10000 0 0x2c>; + interrupts = ; + clocks = <&cpg CPG_MOD 918>; + dmas = <&dmac0 0x17>, <&dmac0 0x18>, + <&dmac1 0x17>, <&dmac1 0x18>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + num-cs = <1>; + #address-cells = <1>; + #size-cells = <0>; + resets = <&cpg 918>; + status = "disabled"; + }; + + qspi1: spi@ee200000 { + compatible = "renesas,qspi-r8a77470", "renesas,qspi"; + reg = <0 0xee200000 0 0x2c>; + interrupts = ; + clocks = <&cpg CPG_MOD 917>; + dmas = <&dmac0 0xd1>, <&dmac0 0xd2>, + <&dmac1 0xd1>, <&dmac1 0xd2>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; + num-cs = <1>; + #address-cells = <1>; + #size-cells = <0>; + resets = <&cpg 917>; + status = "disabled"; + }; + scif0: serial@e6e60000 { compatible = "renesas,scif-r8a77470", "renesas,rcar-gen2-scif", "renesas,scif"; From patchwork Wed Nov 28 13:03:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702615 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 868DC13A4 for ; Wed, 28 Nov 2018 13:05:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 743C42B9A5 for ; Wed, 28 Nov 2018 13:05:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6890D2B9B9; Wed, 28 Nov 2018 13:05:48 +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 048462B9A5 for ; Wed, 28 Nov 2018 13:05:48 +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=xtp+4kmjPhwuJ8Or1iK67JiL+uno2rlt/gOXXxBdtXY=; b=AkB9xmjH2hKMHMA4to3qYz3vYR Go0d9aEk6A+Yzs13phWFXO9QXyoRk9Jfwh0kjFd8yZeoLj3XkMnl3XJtVZwrEmmqtCA37dH60O8cP yiVlCmzJnwG/7yXXk02gWvSEFK7Y1m+1nVyRPAk3ZeiPBJswZTAHrE+/gb9wc/Jy9v0JPlDZ1O9NM Zq2qeWBSnv167YfykbBuu7xqBXN05GrMPReOZBP5ufOgF4tFtsZF/k8on7Jptu74ORBERmWlkDOAs ESXlXaKsyOdy7C9ee5w8ZW27KZ5mGdx/tfMIGi/79VoVMub7nD+2OkdH8wlgQ3r4LTTzp2j7YnkFA QNs/lG2g==; 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 1gRzX8-0006fw-VI; Wed, 28 Nov 2018 13:05:38 +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 1gRzWN-0003Gc-8y for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:05:03 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 04F2E25BEE7; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410204; bh=cs7t1mL1Zl+xU35THRrrklTuUZh/67dAvjf16K/lNkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T3xcFc0lTiZmMtws3aY2BQY1wUYfYO3N+MNHFffbcshpLnijLqxsjNZAHM3qq1NaH /GDj6Q2TnOi38iHgBA7F3y3738pC356opRWKhLrBxMohgSqEQwFYjpxT6sMhxXHMc4 8/F87wRfQu1XdlOKx4ZVzKmAHkOi4owjnWNI1wuM= Received: by reginn.horms.nl (Postfix, from userid 7100) id 6B2B0940A3B; Wed, 28 Nov 2018 14:03:21 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 15/16] ARM: dts: iwg23s-sbc: Add QSPI flash support Date: Wed, 28 Nov 2018 14:03:17 +0100 Message-Id: <91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b.1543409901.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-20181128_050451_625384_5B77A2C1 X-CRM114-Status: GOOD ( 12.75 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , 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: Fabrizio Castro This commit adds QSPI flash support to the iwg23s board specific device tree. Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts index 52f23b858885..40b7f98d6013 100644 --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts @@ -96,6 +96,11 @@ power-source = <1800>; }; + qspi0_pins: qspi0 { + groups = "qspi0_ctrl", "qspi0_data2"; + function = "qspi0"; + }; + scif1_pins: scif1 { groups = "scif1_data_b"; function = "scif1"; @@ -114,6 +119,27 @@ }; }; +&qspi0 { + pinctrl-0 = <&qspi0_pins>; + pinctrl-names = "default"; + + status = "okay"; + + /* WARNING - This device contains the bootloader. Handle with care. */ + flash: flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "issi,is25lp016d", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <133000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; + m25p,fast-read; + spi-cpol; + spi-cpha; + }; +}; + &rwdt { timeout-sec = <60>; status = "okay"; From patchwork Wed Nov 28 13:03:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10702637 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 1EF2217D5 for ; Wed, 28 Nov 2018 13:24:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A8492CF2A for ; Wed, 28 Nov 2018 13:24:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E6522CF41; Wed, 28 Nov 2018 13:24:46 +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.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 696062CF38 for ; Wed, 28 Nov 2018 13:24:45 +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=P9+exUM2VSFo4ge9+OEBI72w6JTuy0yoP+HxQfKJbHQ=; b=sq3r1N1CGTUj3By/VHfpu/4Zsz 0bOJYClHCnNxhf0khrSz5Q2ZUuF1jtqvwDCeLn0mMu3ThYdMRNC42drcBIUJQlQFvyhoC+3hvG2za e7YY5YbvMGm+IKGg/cckE7q/Kpk0uDP+tJPcpnK2YSMPlOBMkRrPPY6OL5R7mu7M7eWBmUFqzIxUG M0dJIBXzcCmDUr24C9DZGvnkp5nQBh2v781NaXb8OqnNFOJo3ZOi4Fo64ZfySv0epZ1gvULnmYaDk fQSr+MwJ1YCRccpNpyEsliFNGXEh11bxe9mM7ng6WX8Jbrsw3neCEEOvRw9vGXibhcQf8GolRLABG mJBuI3mA==; 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 1gRzpc-00016L-Uk; Wed, 28 Nov 2018 13:24:44 +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 1gRzYB-0003Gc-UK for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:07:06 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 879FF25BEF5; Thu, 29 Nov 2018 00:03:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410205; bh=61LzvKXJzKxQIiIwSOlA/QlgxRx4nmm2xp49gdBBxNU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ORp7r2W2WTFPbRQP8D42PUzTnaHqzSqV6Vm6LFoVeGX39PBlIJUliu030TqV8WMHs XuqKjwl04AuggBQMK5sWk41BMPLw6kZvAps6bICnGfygKAbPvjqbSsVBNWpqp49eXX Kl9OtvTXkrygpoPqjfFV8zx+Z2ZOJizLXPcFzK5s= Received: by reginn.horms.nl (Postfix, from userid 7100) id 83EBD940A88; Wed, 28 Nov 2018 14:03:21 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 16/16] ARM: dts: r9a06g032: Correct the GIC DT node name Date: Wed, 28 Nov 2018 14:03:18 +0100 Message-Id: <673df60a880f060e3e94920c7b5f7a9ed8aa65f2.1543409901.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-20181128_050644_864503_BB3B34C6 X-CRM114-Status: GOOD ( 12.00 ) 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 , Phil Edworthy , Magnus Damm , 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: Phil Edworthy Harmless mistake, but it's incorrect. The DT spec provides recommendations for the node names: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model. If appropriate, the name should be one of the following choices: ... interrupt-controller" Signed-off-by: Phil Edworthy Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r9a06g032.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi index 2322268bc862..4c1ab49c7d39 100644 --- a/arch/arm/boot/dts/r9a06g032.dtsi +++ b/arch/arm/boot/dts/r9a06g032.dtsi @@ -173,7 +173,7 @@ status = "okay"; }; - gic: gic@44101000 { + gic: interrupt-controller@44101000 { compatible = "arm,cortex-a7-gic", "arm,gic-400"; interrupt-controller; #interrupt-cells = <3>;