Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4663026imu; Sat, 19 Jan 2019 15:16:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN7cBw2VnUQVkzQm5dbZ5IBWNTT1rw3QqCidiIWlT9vFson8ic++3yzyiejVedbJXEjZkwnq X-Received: by 2002:a17:902:2468:: with SMTP id m37mr24312845plg.314.1547939816166; Sat, 19 Jan 2019 15:16:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547939816; cv=none; d=google.com; s=arc-20160816; b=vmQAY6amo2sPwqkFVVo0dyGYAGkAE1pMl9+Xt0vUeEFgBsmXp30n0NrKGKI3oyizY9 2lFJFfiZVElLxWWhbGgOcggIdmbXQn5EY8q0/tigWXNlKo4VvWZPSciHfrR1407to3TN kqB/aoUvkkgaC2i7yfizzRwb4JyB2W2KHcJ4ynn0OffMlpjAcHSAgsOl04sfQPJ9E92P aXkkklzGQCK71vsJHgf6zlKy6sJr38mFVxuR9pxobKW+aGlhkz8mrdY5fRPThPjWkyYi uvRdHpWoQRPMCC+atx5Ll2Z+aJTPOZyRq7U8duRfT67rSbGLtQJKLNBpI9k9ewd/e9vE AXcQ== 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=Yz4Tob51gVDT4+Ce7WDGP97gOPDiLJEEpyq665QE4zw=; b=NSDEx+lyRq9RtsdEyxwkxC7Fr1rsBc0SVrpKf8gdOZGB1nF9V6kO2TZMArdo9fhtGq Pic7oA9NuFQ9MulOXykMGldH4iK+5ZIrSGX6SK6ZdfsGZUFZpPU2Xd3BxMHn4k3E4Loj bNvZ4zKAy6qPEsVhLBW6yzhimN6ZExzNX7J5z/yazorxellh/bQnVSk2dHCpTs9tN9+8 m2Cgjg8T/m1BcfgSiTuAj3y/BM722SJKTUFZiHVfV9td02mDLdJf0/EgC0WoyEgYJaUD kb/f4f0wj30cFJcxAYcCiRuK36nRhCwPA1z4ZYM/ddpna8z9+ZT775j6AC0BMPi5NCGR 33Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Odb7xUUM; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x191si9041639pfd.220.2019.01.19.15.16.37; Sat, 19 Jan 2019 15:16:56 -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=@linaro.org header.s=google header.b=Odb7xUUM; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729846AbfASXOA (ORCPT + 99 others); Sat, 19 Jan 2019 18:14:00 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:39693 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729767AbfASXN7 (ORCPT ); Sat, 19 Jan 2019 18:13:59 -0500 Received: by mail-lf1-f66.google.com with SMTP id n18so13001489lfh.6 for ; Sat, 19 Jan 2019 15:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yz4Tob51gVDT4+Ce7WDGP97gOPDiLJEEpyq665QE4zw=; b=Odb7xUUMaq7k/Bm34SeNsOj21bTKJEY69QprOwJdXb1PfMFqDaD2HtCLzM2QiSIn+0 AD7ikEi8rcWFaWkLtfRBoietZj5f5mnUT0b+D3EobiB5ygFzmhhaLiWrWv/YQSfUzX8L tGBRqu6dnLQ4QfTAbVu3wRCFocMWHV/Gem8+I= 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=Yz4Tob51gVDT4+Ce7WDGP97gOPDiLJEEpyq665QE4zw=; b=sEgV3WKlzAOadd43Cyir/AyFisoFxuCIQx5fvXgZlR5yHO47nWeBhziTSZ8b1NfoT5 VMrrFNqCUtFEgE4Qu2+httAvIS4aiRvn0qKlY7ZhYOfprCBgjQ4i19ejLdik04SplamO BX0CCu8Zlj2Q5YlTYzYY75cA9O3XdvyzzKo3HxsTUtv1oIhqLXEge/vxAuxuqKSpp4dg X3E9ru3M5yNM3Iv25a05c7t6yGdzBsk8UZdJCwokfTf6SEoFEp1hE0sRu/Ad/+dGJfyo KjAT4PWin+UdtHvQu0j7RTQuCFGDriJjCe54A7xdLXEUtSz402lRH5qoOiKxrGbKw1fK O0ow== X-Gm-Message-State: AJcUukf80Rl2TO3Dq5xByCJcOE9LtTTsSPnxFLNhCGrEkBBYVVU2NyC8 e0llurqFqJCZOqEawdhmVxcUjdQjK33fl0r/mZ4JZw== X-Received: by 2002:a19:8d01:: with SMTP id p1mr14859569lfd.149.1547939637315; Sat, 19 Jan 2019 15:13:57 -0800 (PST) MIME-Version: 1.0 References: <20190119204252.18370-1-masneyb@onstation.org> In-Reply-To: <20190119204252.18370-1-masneyb@onstation.org> From: Linus Walleij Date: Sun, 20 Jan 2019 00:13:45 +0100 Message-ID: Subject: Re: [PATCH v6 00/15] qcom: spmi: add support for hierarchical IRQ chip To: Brian Masney Cc: Stephen Boyd , Bjorn Andersson , Andy Gross , Marc Zyngier , Shawn Guo , Doug Anderson , "open list:GPIO SUBSYSTEM" , Nicolas Dechesne , Niklas Cassel , David Brown , Rob Herring , Mark Rutland , "thierry.reding@gmail.com" , linux-arm-msm@vger.kernel.org, "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 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 Sat, Jan 19, 2019 at 9:43 PM Brian Masney wrote: > This patch series adds hierarchical IRQ chip support to spmi-gpio so > that device tree consumers can request an IRQ directly from the GPIO > block rather than having to request an IRQ from the underlying PMIC. > > For more background information, see the email thread with Linus > Walleij's excellent description of the problem at > https://www.spinics.net/lists/linux-gpio/msg34655.html. > > This work was tested on a LG Nexus 5 (hammerhead) phone. My status page > at https://masneyb.github.io/nexus-5-upstream/ describes what is working > so far with the upstream kernel. > > Changes since v5: > - Patch 4: Set handler to edge or level when the IRQ is mapped. > - Patch 7: Change IRQ_TYPE_NONE to IRQ_TYPE_EDGE_RISING > - Patch 14: New patch to validate type when mapping IRQ If Marc Z is happy I think I will apply all patches on an immutable branch in the pin control tree, so that ARM SoC and GPIO can pull it in later if need be. (E.g. if they get conflicts.) I was thinking to also include the DTS changes as it all is so neatly coupled, then offer the branch to ARM SoC. Anyone against? Yours, Linus Walleij