From patchwork Mon Oct 31 19:58:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9406399 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 31CE460721 for ; Mon, 31 Oct 2016 20:05:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E92D28365 for ; Mon, 31 Oct 2016 20:05:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1254D29127; Mon, 31 Oct 2016 20:05: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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B524E28365 for ; Mon, 31 Oct 2016 20:05:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c1IoT-0004TB-Bl; Mon, 31 Oct 2016 20:04:09 +0000 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c1Ij8-0007MK-E8 for linux-arm-kernel@lists.infradead.org; Mon, 31 Oct 2016 19:58:49 +0000 Received: by mail-lf0-x232.google.com with SMTP id b81so111602116lfe.1 for ; Mon, 31 Oct 2016 12:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=UKGdUCr3jNeno+jlGvy6nUfa5U3sgdbqhNx8EBCdiqo=; b=0tWJna7OmIYTWadlcwi2lPEZGFiy1Dt3Qg5ToY+z/IK78oKHYo3nU7HvxpJ8ocuS1Z /sXet1yyfhCQaI+IUKvD9C2iEWDjpy/v+uMVPXGvg8umDD0rbYUEG3Y4JRxF+IVzKSZk +cyA4HPtOgz9HXxF60uBqHrmWZKQujLGP++lG4WaRUFJfUfMyA3gQfwdlPVp2ZcsCkQX fv2eMwpDrDoz44/cczHwKy/nuN0XihXqznJZRZk/7pPPa5Ef795IV7Oo0BJn7bF+3pMY rpbJM9zaP2e69I3TBoGpWvhHqPNuk80NpJdFhLdbB6dIHRWjIQ4DsocFI8NVdiKvGKzE 9UmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=UKGdUCr3jNeno+jlGvy6nUfa5U3sgdbqhNx8EBCdiqo=; b=lYredGk+yuaEx4poMM1uet/NY4eL4NopUTnexqK/yGBOyw1yFT/UmmUEPP+pwzzQJ7 xIfLVbbaBhAM64boPwJJpLoCddxaEh3xGCzC3+y0VHwt1MLd3ZAZU+wINgDJkAyvuiI2 y96mx1xT+SoMCyp1Rjn0nYTQu+dzjrWZOtgpkmBUkLLrs8XJ1aKt6r4BKMe1v9EiRv75 8+TLkzGzrm42I7EXNWtw4z61jCIAfJFXOXcXqptNFjoOlBXLbWZimyPQnJRRaMVLhifq V7e57Gl3DO7z5llt0RsC6mPPLuotLDx50SrujHlC6iNpHQz2Wmg9fI5zJ0KMrMw5dvfy wXTA== X-Gm-Message-State: ABUngveD+b00LeGEN0Tj+6G0UZWLSTxJ0GKT6Z02r942F/F15BLE6kWy+u15DQOtXcJUZA== X-Received: by 10.25.159.141 with SMTP id i135mr18690229lfe.123.1477943895009; Mon, 31 Oct 2016 12:58:15 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.126]) by smtp.gmail.com with ESMTPSA id f22sm2124865lji.22.2016.10.31.12.58.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Oct 2016 12:58:14 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH v6 5/7] ARM: dts: r8a7743: add IRQC support Date: Mon, 31 Oct 2016 22:58:12 +0300 Message-ID: <13318488.bgd30fnLeg@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.7.9-100.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <1746536.qobnGdHRfV@wasted.cogentembedded.com> References: <1746536.qobnGdHRfV@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161031_125839_415997_7FECADDF X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Describe the IRQC interrupt controller in the R8A7743 device tree. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 4: - refreshed the patch; - added Geert's tag. Changes in version 3: - updated the "clocks" property for the CPG/MSSR driver. Changes in version 2: - new patch. arch/arm/boot/dts/r8a7743.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7743.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7743.dtsi +++ renesas/arch/arm/boot/dts/r8a7743.dtsi @@ -62,6 +62,25 @@ IRQ_TYPE_LEVEL_HIGH)>; }; + irqc: interrupt-controller@e61c0000 { + compatible = "renesas,irqc-r8a7743", "renesas,irqc"; + #interrupt-cells = <2>; + interrupt-controller; + reg = <0 0xe61c0000 0 0x200>; + interrupts = , + , + , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 407>; + power-domains = <&sysc R8A7743_PD_ALWAYS_ON>; + }; + timer { compatible = "arm,armv7-timer"; interrupts =