From patchwork Thu Aug 20 15:45:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 7045481 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 3638B9F373 for ; Thu, 20 Aug 2015 15:46:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E893205D4 for ; Thu, 20 Aug 2015 15:46:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DBCD204CF for ; Thu, 20 Aug 2015 15:46:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752826AbbHTPqM (ORCPT ); Thu, 20 Aug 2015 11:46:12 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:33237 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752725AbbHTPqL (ORCPT ); Thu, 20 Aug 2015 11:46:11 -0400 Received: by wijp15 with SMTP id p15so19795257wij.0 for ; Thu, 20 Aug 2015 08:46:10 -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=jN7Qc+mdjjsxvW9aQcJQYu8FgmN7WtFZ5ngFPHrLjNd7Ncj0EPx+wTTjJY5yDbA7eN R54k3f7gy0sLWYus8BZNasoCAIzmXTNsLjEUDwAr3fTfLO8ZBeKaQ6o8m9DAmQEBtAk7 dvZCZJbYVUvrqXLBRvqcOPJ4xxky3f89yTvp6wL2niDHbkwW2/Xx6+DGUJftqtd2LfWH srhIXrY5ZVaekg7pQPSc3fGJyjAg52CPd9YiefKA5wTQH0exjVZKfE4cC1VAg1mPIN// NJP/nr12EQiDW5qvahM21vkbE9fzqsYoWuYAzcd9rL4DV6jA2qvPDSWiiCXF3xYwT8pK 7MmQ== X-Received: by 10.194.191.129 with SMTP id gy1mr7246727wjc.86.1440085570154; Thu, 20 Aug 2015 08:46:10 -0700 (PDT) Received: from groucho.site (ip9234ec9e.dynamic.kabel-deutschland.de. [146.52.236.158]) by smtp.gmail.com with ESMTPSA id gj13sm6643165wic.22.2015.08.20.08.46.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 08:46:09 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au, jason@lakedaemon.net Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, geert+renesas@glider.be, Ulrich Hecht Subject: [PATCH v2 1/3] irqchip: renesas-intc-irqpin: r8a7778 IRLM setup support Date: Thu, 20 Aug 2015 17:45:54 +0200 Message-Id: <1440085556-4340-2-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1440085556-4340-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1440085556-4340-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=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Tested-by: Simon Horman --- 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);