Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6762802ybi; Mon, 8 Jul 2019 08:15:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5Ku9tITRSXuHGE9JXHpwiYaeZRLkehN8U9pDCTdIvWA3+1TJ6/N2VS5vn/PamgKm9AF+6 X-Received: by 2002:a63:1918:: with SMTP id z24mr21431696pgl.94.1562598929272; Mon, 08 Jul 2019 08:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562598929; cv=none; d=google.com; s=arc-20160816; b=rSijHaWmT1DNLWsFecEzXjM4QMqJB141LiswAQW6E0941C75SsXOD95LH3r4iqtPwX bgbzQVe9Y6Xqh2Vrscdc7KlyYU6rwUOrDjBZRi/vDlCw0ngkep8unvksCdtgLf3jJhGn BwW0RiD9ipWsupJj71q6X8zP5xki2XlPRmGRaeDg/5SkkMgbbjNWwd63iWuPU2jHIG3J M19vao0tLTBKcLOtxV09hkCE5I8SGpaNfUFH6qZoEjfl5fVZIiCjYhs79/YMKa8uDGUE DLlYCtuWb/5Whx0QVRQr8xUofL4m/8vSL9Eg44o8Is5p+HHW7Vp8e/outFOWHaqkrdLJ o4Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6/+vmYfn4ojWs9/Nsy3+l645o8mbGqCHjoy8BRXzcIY=; b=kapZ0psCjbag5IF7116S+mnkSFtadZklhe3mm4ehpjFsO1G7PYMwrwwbudhccoEFWH bIqlunIFbzd+BQqgg9l7gzm3kjfLUIzV+gmjqmJwSyMCf2lFPUMO2Ek7z8LdLQC4Y0Jj z5nJN+TmU1AfMJ5I4IgQbzvJC9R/CjmDqzdGnfWZ98k+swRd7Q08Wl+8lb5TDip+3fIV xPWo8gSlTyHMr3ksKQ612sHfXR4z2OutMSACLskFxZee3U+h6bCGBMGWkMy0MlGujQkW HpXFbkuIo0fuBJvhgMzi5J2bx4eQ5kJq/NKWtinKE6GVlOTjoRvc8Ex3EgUtrkcPWmk/ wAKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b=lWSxrK30; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si18993224pgc.510.2019.07.08.08.15.14; Mon, 08 Jul 2019 08:15:29 -0700 (PDT) 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 (test mode) header.i=@onstation.org header.s=default header.b=lWSxrK30; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730250AbfGHLB5 (ORCPT + 99 others); Mon, 8 Jul 2019 07:01:57 -0400 Received: from onstation.org ([52.200.56.107]:56098 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbfGHLB4 (ORCPT ); Mon, 8 Jul 2019 07:01:56 -0400 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 009DE3E912; Mon, 8 Jul 2019 11:01:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1562583716; bh=Qm/4+Z0/sz1rCO9MskaUatf9RSxxFsoX4hvz0Scz0wo=; h=From:To:Cc:Subject:Date:From; b=lWSxrK30kwh+TjTMBFonMQCYwFPlJ0SeNYUzF6nJyzLDvnOf1IbNg+wdOStKLus8S ZU5MDFgGkK35t6IhWxM9f7GeBJb9bwT9iW7Ya/+9sollmo91dJ0/x45oD3BKRlhwEW q862w4up8QzG6e+7MhBnuFBeHFu5mDPjahF8QmaI= From: Brian Masney To: linus.walleij@linaro.org Cc: linux-gpio@vger.kernel.org, bgolaszewski@baylibre.com, tglx@linutronix.de, marc.zyngier@arm.com, ilina@codeaurora.org, jonathanh@nvidia.com, skomatineni@nvidia.com, bbiswas@nvidia.com, linux-tegra@vger.kernel.org, david.daney@cavium.com, yamada.masahiro@socionext.com, treding@nvidia.com, bjorn.andersson@linaro.org, agross@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] gpio: hierarchical IRQ improvements Date: Mon, 8 Jul 2019 07:01:34 -0400 Message-Id: <20190708110138.24657-1-masneyb@onstation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This builds on top of Linus Walleij's existing patches that adds hierarchical IRQ support to the GPIO core [1] so that Qualcomm's spmi-gpio and ssbi-gpio can be converted to use these new helpers. Linus: Feel free to squash these into your existing patches if you'd like to use any of this code. Just give me some kind of mention in the commit description. [1] https://lore.kernel.org/linux-gpio/20190624132531.6184-1-linus.walleij@linaro.org/ Brian Masney (4): gpio: introduce gpiochip_populate_parent_fwspec_{two,four}cell functions gpio: allow customizing hierarchical IRQ chips gpio: use handler in gpio_irq_chip instead of handle_bad_irq qcom: spmi-gpio: convert to hierarchical IRQ helpers in gpio core drivers/gpio/gpiolib.c | 78 ++++++++++++++++---- drivers/pinctrl/qcom/Kconfig | 1 + drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 92 +++++++----------------- include/linux/gpio/driver.h | 65 +++++++++++++++++ 4 files changed, 154 insertions(+), 82 deletions(-) -- 2.20.1