Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6013874ybx; Mon, 11 Nov 2019 02:25:00 -0800 (PST) X-Google-Smtp-Source: APXvYqyc9xYO+xfF6zaz1NA08lVR8Gxfp37ZZIaWbkobbxIgLsiplsHHAkJ31RaO6rjvQmVqQeqA X-Received: by 2002:a50:9fc1:: with SMTP id c59mr25984892edf.305.1573467900596; Mon, 11 Nov 2019 02:25:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573467900; cv=none; d=google.com; s=arc-20160816; b=oRJ0fj98MGvhYvVuLsmP8WD6BIOSginAgOdxMXxAgwp5rWhyt+f/ypCMKn7EFe8L8R rJR2Ku4VkjKS5DM0S+bDAO+FgEATJFDM9JztQql6DaPY7USGnM5IVRnvlprjkLNhGGB9 DBSEwbNFTre4XeYxMewZNiPGAlts5/1QNHhq3+i31KDWClotUeg+Wf5VKQva31m4r0kv 8fjwKL5UupfpvQA6rnQAhNZhtFGcSZlxvV4A8gvTYZsXbejVc1xupxK5BfDB/E1PDBHt e5yzNncJVQBa8qA72/sYncJ6qBZ3/c0q+cDsarrb4So5AIdeTOetTshoC23dgoo4Vrwq iV0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:cc:from:date:content-transfer-encoding:mime-version :subject:to; bh=4ilSXGwbV642HIvnA8cWqea9K8cT8CUmLdtg1DHF6yw=; b=wfg4XjU2W7OtiWyth3yIj7WpmohrDPfnjxVk9tTL0ZJtWjyO0p2lF6+iGb8w6c6p8D rgxoC23tFq4p2tChL/NimqP5akS7Y6GK4KL8LYLxY4NfaJyn1s0levkoEPeZKMsUNdjb EA1GDgxY5i0Bs8GmtH6Qxzv8qGOK88ZAUqz3iyrJojfoOC+CunyoSFvnPGS80avdfA0c 9ryGXXnKSiIeFnXFKmONzr1GbBt3wDCcVvw9Tf9vJ+L/alBBeiIq4lxxws4S5hHVxa1Y fAKyp1DM9BXIUImuBI72KQ0xJDHiTrNy9rHoJVpeHv5p0o9UfEzarHB7x9j611p+qQCT 6dYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si8692975eju.135.2019.11.11.02.24.36; Mon, 11 Nov 2019 02:25:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726888AbfKKKX4 (ORCPT + 99 others); Mon, 11 Nov 2019 05:23:56 -0500 Received: from inca-roads.misterjones.org ([213.251.177.50]:51923 "EHLO inca-roads.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726768AbfKKKXz (ORCPT ); Mon, 11 Nov 2019 05:23:55 -0500 Received: from www-data by cheepnis.misterjones.org with local (Exim 4.80) (envelope-from ) id 1iU6rO-0007yi-Or; Mon, 11 Nov 2019 11:23:50 +0100 To: Rasmus Villemoes Subject: Re: [PATCH v7 0/2] Add support for Layerscape external interrupt lines X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 11 Nov 2019 11:33:11 +0109 From: Marc Zyngier Cc: Thomas Gleixner , Jason Cooper , Rob Herring , Mark Rutland , , , Kurt Kanzenbach In-Reply-To: <20191107122115.6244-1-linux@rasmusvillemoes.dk> References: <20191107122115.6244-1-linux@rasmusvillemoes.dk> Message-ID: X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/0.7.2 X-SA-Exim-Connect-IP: X-SA-Exim-Rcpt-To: linux@rasmusvillemoes.dk, tglx@linutronix.de, jason@lakedaemon.net, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kurt@linutronix.de X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-11-07 13:30, Rasmus Villemoes wrote: > In v7, I've tried to change from a custom binding to use > interrupt-map, modelled on the recent addition of the > renesas,rza1-irqc (commits a644ccb819bc and 5e27a314a11f). It's > possible that the interrupt-map parsing code can be factored to a > common helper, but it's a bit hard to generalize from two examples to > know what a good interface would look like. > > The interrupt-map-mask is a bit arbitrary. 0xff would likely work > just > as well (but I think the ls2088a has 32 external lines, so it has to > be a least 0x1f). > > Also, this drops the fsl,bit-reverse property and instead reads the > SCFGREVCR register to determine if bit-reversing is needed. > > The dt/bindings patch now comes first in accordance with > Documentation/devicetree/bindings/submitting-patches.txt. > > Earlier versions can be found here: > > v6: > https://lore.kernel.org/lkml/20190923101513.32719-1-kurt@linutronix.de/ > v5: > > https://lore.kernel.org/lkml/20180223210901.23480-1-rasmus.villemoes@prevas.dk/ > > Rasmus Villemoes (2): > dt/bindings: Add bindings for Layerscape external irqs > irqchip: add support for Layerscape external interrupt lines > > .../interrupt-controller/fsl,ls-extirq.txt | 49 +++++ > drivers/irqchip/Kconfig | 4 + > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-ls-extirq.c | 197 > ++++++++++++++++++ > 4 files changed, 251 insertions(+) > create mode 100644 > > Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.txt > create mode 100644 drivers/irqchip/irq-ls-extirq.c Applied to irqchip-next. Thanks, M. -- Jazz is not dead. It just smells funny...