From patchwork Tue Sep 8 15:42:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 7142021 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 87A939F326 for ; Tue, 8 Sep 2015 15:42:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A1A02207CC for ; Tue, 8 Sep 2015 15:42:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F1B9207CB for ; Tue, 8 Sep 2015 15:42:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754664AbbIHPmi (ORCPT ); Tue, 8 Sep 2015 11:42:38 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:33463 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753551AbbIHPmh (ORCPT ); Tue, 8 Sep 2015 11:42:37 -0400 Received: by wiclk2 with SMTP id lk2so125394200wic.0 for ; Tue, 08 Sep 2015 08:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Pni1nuw32pHPbIjh2pmInntr7W1tBeUU7FBA36t+JiU=; b=dhv2SwLiBYchgTulnN11+BsJd0qiGBewzM29J29Z4PkjekJ+cb/TubAc31+5F0q39S 3dbCxPO40xlB+eg5qTq+DauZvSE5J+iHF/DrFfPHuLy0yPoZ5kUqWz7tTbYw6tTqE2Ts UG8UdSbDzMPSgYfBvXniKQXI6axA9MtT7UxnI+4hjqh196eC5j8oZy8rLCdsRPPISoLu uIsFrWYKW6MULdssEXg/Krwar6+OlkofJYIcJErKelAiX1bbQVcCBsyuJKUA7niJTCR8 G/Zf3JTMCZQWfk063VIgRCP36IqTqn0qHGEYL03MQ/rTo8Ranpd5g+jIkkGgYEpIIiSC EXqA== X-Received: by 10.194.87.69 with SMTP id v5mr46459453wjz.140.1441726956764; Tue, 08 Sep 2015 08:42:36 -0700 (PDT) Received: from groucho.site (ip9234f55b.dynamic.kabel-deutschland.de. [146.52.245.91]) by smtp.gmail.com with ESMTPSA id uc12sm6409493wib.13.2015.09.08.08.42.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2015 08:42:35 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org Cc: jason@lakedaemon.net, magnus.damm@gmail.com, geert+renesas@glider.be, Ulrich Hecht Subject: [PATCH v3 1/5] irqchip: renesas-intc-irqpin: r8a7778 IRLM setup support Date: Tue, 8 Sep 2015 17:42:22 +0200 Message-Id: <1441726946-30131-2-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1441726946-30131-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1441726946-30131-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Works the same as on r8a7779. Signed-off-by: Ulrich Hecht Acked-by: Geert Uytterhoeven --- drivers/irqchip/irq-renesas-intc-irqpin.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-renesas-intc-irqpin.c b/drivers/irqchip/irq-renesas-intc-irqpin.c index 0670ab4..7f172a0 100644 --- a/drivers/irqchip/irq-renesas-intc-irqpin.c +++ b/drivers/irqchip/irq-renesas-intc-irqpin.c @@ -352,14 +352,16 @@ static const struct irq_domain_ops intc_irqpin_irq_domain_ops = { .xlate = irq_domain_xlate_twocell, }; -static const struct intc_irqpin_irlm_config intc_irqpin_irlm_r8a7779 = { +static const struct intc_irqpin_irlm_config intc_irqpin_irlm_r8a777x = { .irlm_bit = 23, /* ICR0.IRLM0 */ }; static const struct of_device_id intc_irqpin_dt_ids[] = { { .compatible = "renesas,intc-irqpin", }, + { .compatible = "renesas,intc-irqpin-r8a7778", + .data = &intc_irqpin_irlm_r8a777x }, { .compatible = "renesas,intc-irqpin-r8a7779", - .data = &intc_irqpin_irlm_r8a7779 }, + .data = &intc_irqpin_irlm_r8a777x }, {}, }; MODULE_DEVICE_TABLE(of, intc_irqpin_dt_ids);