From patchwork Tue Jul 17 20:08:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10530513 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 D4C00601D2 for ; Tue, 17 Jul 2018 20:08:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C19DE293C3 for ; Tue, 17 Jul 2018 20:08:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B574A293EC; Tue, 17 Jul 2018 20:08:50 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 67545293C3 for ; Tue, 17 Jul 2018 20:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:Subject:From:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=B3n7nHhVyBoyn/ugvfLWre1C6J5stA/QagosqYcYsDg=; b=ZStJCXHKoWCRqh WAQeD45CxnlyqcKb5SB86+mGrdMm/AtdlatcWS2Lp5xVt0vbiX4KZM7nDlsRl9NOpapGen2sSyAXT v01K/mZ9uQJlRw2r3LCua+4o6CUzldd4mEG1Kl+GCfAbm3cwnFB3TkczMFVturIV77tLXn9USHjjT jYC2J2e7vu98houhGxJlUWwATBvOu4ktvnxLDaRTPiQ6lfjqY8uVdrL1GQNfw+OnY503TzRazH8ZX AqFCF7xqnGMEcSA/BljfGyVyMqUWPNOqtSbVeY4nTalou1UdlSf/eyOmzwptA/BDl/YEioTQS5wIf tiYo76olWZXzt3BPFIoQ==; 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 1ffWH7-0000uT-9j; Tue, 17 Jul 2018 20:08:45 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffWH3-0000s9-Tm for linux-arm-kernel@lists.infradead.org; Tue, 17 Jul 2018 20:08:43 +0000 Received: by mail-lf0-x242.google.com with SMTP id b22-v6so1759994lfa.3 for ; Tue, 17 Jul 2018 13:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NJpWklyTPYud4Lm+nGxZRYIEwQPZsKwxwcb0hHlYmn8=; b=eqb+cisD1aRBOzZtxgNg40fqcq4OUoTCn+/Che/NFh9DC+i8ywlvMyVE2cRX0mi2Bw qOD5X/L7TiriIryX1oUtYxlgmC0EOG2r5eo6WuHc7s5J8dkKTIWeqqaNodNkBVlV4RYQ mh7PWpQP4OUbp8snHfxtJCJtgB4RN+mjzkU6Su7Maxce5UzG99weO3kdn3+oBnaYyUwy 4iJTv/TLLW2ypeiwFe5wRHd4X7ht8PSeSUhKO9Ha3QWxClvcQ7vQRAKwufqEOzWrL9pB zspQrJHIBWPiOmiBxzenjuiFV3iOnHE/ItkBW1tXh0aVPTbBWIfD31pHKYmGEVQqTtqT 7Udw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=NJpWklyTPYud4Lm+nGxZRYIEwQPZsKwxwcb0hHlYmn8=; b=tjbHEFAqNr/L27hWwz6zTj/mgd2imJrsojSxIJSUeV+3sBLV7RjRyS3gER9a0+DXK0 KzYve/kQOhtuhs3DhnOHibiA+y+NydCABQkQhM7R9LmovX7uERMlqMJMgjMFqGpCT38D BDxHgqFYpIWshyfYv21w5ZnO2BZCc/OG0u/PP9+yxBoXBKhmaMXTWtW0ZesFUqBJ0de7 p9KS6n7CicnSrhI2r0yJ5nWMNshgGVidQzaoVLP4wrQSW7G0iPbnwFQbmui5cKm5/U16 TyqL+Jk3QpK87WVJ4a/unBDRvPRcu2F8rYUpGcnvW23ZAcp1Pj+hLo40Y16PR+J0Fyd1 Aszg== X-Gm-Message-State: AOUpUlHwXK3mvh7GUVr2M6nDdrFpt3IRVM1EodrQMLvXKUty0T2jvPOb jm7NBBgyLNnOSuCos6PmZmXBgg== X-Google-Smtp-Source: AAOMgpd8pBe+462E5JtIhr/uVnb2pjvm3aFLs/wJC91ZWH6vmtwAKRaf/tx3ITWVwxLZekpUrBM4Pg== X-Received: by 2002:a19:5788:: with SMTP id l130-v6mr2166979lfb.93.1531858109555; Tue, 17 Jul 2018 13:08:29 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.86.188]) by smtp.gmail.com with ESMTPSA id f18-v6sm294527lja.85.2018.07.17.13.08.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 13:08:28 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] arm64: dts: renesas: r8a77980: add INTC-EX support To: Simon Horman , linux-renesas-soc@vger.kernel.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org References: <2368353.xfo5beGC5E@wasted.cogentembedded.com> Organization: Cogent Embedded Message-ID: Date: Tue, 17 Jul 2018 23:08:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <2368353.xfo5beGC5E@wasted.cogentembedded.com> Content-Language: en-MW X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180717_130841_956332_F80054ED X-CRM114-Status: GOOD ( 15.12 ) 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: Will Deacon , Catalin Marinas , Magnus Damm , 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 INTC-EX interrupt controller in the R8A77980 device tree. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- This patch is against the 'renesas-devel-20180717-v4.18-rc5' tag of Simon Horman's 'renesas.git' repo. arch/arm64/boot/dts/renesas/r8a77980.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi @@ -234,6 +234,22 @@ #power-domain-cells = <1>; }; + intc_ex: interrupt-controller@e61c0000 { + compatible = "renesas,intc-ex-r8a77980", "renesas,irqc"; + #interrupt-cells = <2>; + interrupt-controller; + reg = <0 0xe61c0000 0 0x200>; + interrupts = ; + clocks = <&cpg CPG_MOD 407>; + power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; + resets = <&cpg 407>; + }; + i2c0: i2c@e6500000 { compatible = "renesas,i2c-r8a77980", "renesas,rcar-gen3-i2c";