Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6020750ybx; Mon, 11 Nov 2019 02:32:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzlU0BBW9jiNMLjLAqzwzL+D2tv9utrp/gMTeJUnVJI51ow9nonK0dzfIMtN3NYWKSwjJ3e X-Received: by 2002:a50:9713:: with SMTP id c19mr25367836edb.206.1573468343179; Mon, 11 Nov 2019 02:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573468343; cv=none; d=google.com; s=arc-20160816; b=gT+lnA5lKRb8/PRoqES4Unwc+/RZPsjPxFIqWKUPl7GokNtSBEgMvJcBvE4FoSC7EP 4crfc8qqgcrKd6aym1/5XJQkc4j/+Ja0qPWp0/dlDrXzYu1mNe1Z9vaxsJ8gzItnWDgV I6plb73Ut/XEApUB62hVhXtQD9qKV+tZVV1QlYR5rM7+hlbJjyOm0DKMgBmoO3pYQgqW //lodYfLGeRpjCEtxYhO8VJHV4H9ZZko9mwHXnVfLGrWb6HL0BJvj5/Wacz/74lbAGoM IAJV7CC8A0IY2RpWfixJhSfr2XC6fTzfbvMMmgQ1AxkaiN/HX7NdysTu0waLadfu4685 lbUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2uBfmf0jH0jW8Ak0g/jqH8W5nvxj13Znc64ubl99LEk=; b=hEQSlRlvazuNcPKi8Q4hHi/LkdcrIn5ODH6BTNF9In6KFguWIVsegjpD7HUmHepPcz j5/kdxKxL67nlxivzXuDVxXVogzMh3R95ozi1+C7TEBjmJ1TbN5+0SJhQyw6uO6SG5nB njL74uOWigCn9nWVc0ExAOz3OK7LsXrNR9fWClXdvKh6atzWzPymhzr0p/bkwIJEJX5n il2AgK3oUcD35nqK0+cW4a2UD58PKSxQbQ6ByWMZZIIm1oTigOkwLNVudN62y3sBNqXs zPWKKT9PTC3GTEAEnvQyw38HGK307zYlC1FfmbHdLHfBi43dsFF3TeNDV1PZMzsJZfFt LrGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="j/zMtGeO"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si9023545ejq.420.2019.11.11.02.31.59; Mon, 11 Nov 2019 02:32:23 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="j/zMtGeO"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726954AbfKKKbU (ORCPT + 99 others); Mon, 11 Nov 2019 05:31:20 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:34313 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726768AbfKKKbU (ORCPT ); Mon, 11 Nov 2019 05:31:20 -0500 Received: by mail-ed1-f65.google.com with SMTP id b72so11528093edf.1; Mon, 11 Nov 2019 02:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2uBfmf0jH0jW8Ak0g/jqH8W5nvxj13Znc64ubl99LEk=; b=j/zMtGeO0BmSNrdrMu1SrfaRsr4kigGMqwYv0UE8ouLUl0QDdAy7Vq7okOCjjiczEI AJSlSD12qhlSltHaaDllK52o2Lx5tRVWiAmru4rU/7QDtDYi+4GMVTqhIdFAY7ZY4C9H nizOi5STW/rjZCCb+R/gICoFmHmybIoh0sYpC4IEtGQVvo8C3hBPO1oH/QZuiMbxf05D I7Ho9imA4KVUgXtAvuePxP4ocgRXdNyiGa/PtJynLhQQNJu5m4AVAOmzi0RfnJUommCd ULvVXSf/igtLDOanbypmSP6SQ/gLhDNYTxggh2EJqGMU8WzLZ0BMK8mLuUe9OPxJNMCg JNQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2uBfmf0jH0jW8Ak0g/jqH8W5nvxj13Znc64ubl99LEk=; b=ZM8ctCv8kgFo8+TlydR4+YX1Ouh7Mp96U01YzIkHg8DpZRcPoIKJnjR2lbD8E9FiKT rcmJ8Fm0Btq9Qt/B5kiXo17obP2EEg+mamv5OUOVKZl8KPE7emorvs1I1uymsn+Uln// tja2gha5GVJ3RsPgtuJj7vibjzB0gIKf+SiuSasKKcKDh+0HXEvHhj1mr0sjhOkfHJAH A/cIOYJ9aTaMqHWxqG1PwqycGhxtp2sZP4bJROkLNjFMJ6aSIs0cDEryV96Lxqt8zJoA epJ+/HPfoqksMXfiVBtDqi500Q+tC2EEwUsDCVOHGpm3EhUjkIFVDRIz6fqulKjIEESv Lm0g== X-Gm-Message-State: APjAAAUE28RD0ncEggse8KXPhpVhEnzwt/4mssMP3MueC3tw2cBJTAOf jNiSqb9eaXLrdVaMdt97rcpaKyB5DZqGp+3tKpgwkh4x X-Received: by 2002:a17:906:1d19:: with SMTP id n25mr21347136ejh.151.1573468276893; Mon, 11 Nov 2019 02:31:16 -0800 (PST) MIME-Version: 1.0 References: <20191107122115.6244-1-linux@rasmusvillemoes.dk> In-Reply-To: From: Vladimir Oltean Date: Mon, 11 Nov 2019 12:31:05 +0200 Message-ID: Subject: Re: [PATCH v7 0/2] Add support for Layerscape external interrupt lines To: Marc Zyngier Cc: Rasmus Villemoes , Thomas Gleixner , Jason Cooper , Rob Herring , Mark Rutland , lkml , devicetree@vger.kernel.org, Kurt Kanzenbach Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Nov 2019 at 12:24, Marc Zyngier wrote: > > 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... A bit late, but for what it's worth, Tested-by: Vladimir Oltean Background: https://www.spinics.net/lists/netdev/msg611505.html Thanks, -Vladimir