From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F116CA9EA0 for ; Mon, 4 Nov 2019 11:18:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4061F21E6F for ; Mon, 4 Nov 2019 11:18:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernelci-org.20150623.gappssmtp.com header.i=@kernelci-org.20150623.gappssmtp.com header.b="Z0bChFyD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728592AbfKDLS1 (ORCPT ); Mon, 4 Nov 2019 06:18:27 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43784 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728554AbfKDLS1 (ORCPT ); Mon, 4 Nov 2019 06:18:27 -0500 Received: by mail-wr1-f67.google.com with SMTP id n1so16583045wra.10 for ; Mon, 04 Nov 2019 03:18:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernelci-org.20150623.gappssmtp.com; s=20150623; h=message-id:date:mime-version:content-transfer-encoding:subject:to :from:cc; bh=BRdfAqaLn4mHiW3qecrruhnWiILMaGe15z98wtjP6nM=; b=Z0bChFyDOVkbOozXphlVlXwcMpm5rj82OA4rz/R4Kk0dv3elU+x9VdvmBDbSo5WHQC gzk1KIAX4a3+4Gu6M9T0E1Zn63IbaoyIlnxn2RU1Q/qhp5j7sZBf5xsuqC3U4wsQZMJD LPhioXaUc9EwVy3EpLl21vLArIhtJT2QtEIZCY2SLKvoCcsma5tP8CxPMYg68wFb75mC DuVJ6Qmn9WFMwVLYCeeOGjfFgSERTYDg3XwHbEirdmKG55XW/CBC8XQvl5P88w/stG2Q sHRaOII9g/rB8HQTm9UQAXA//tvHVXt/6HZg17OJOL4BsB/lT/tT7M9d3tJMRgEGfORP zRLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:mime-version :content-transfer-encoding:subject:to:from:cc; bh=BRdfAqaLn4mHiW3qecrruhnWiILMaGe15z98wtjP6nM=; b=cvQuHkKo5py8M+1nQi+ysmqMCGC9F11pvcAX46naLYB5xf23QGhb20RhdIS82nbrU8 JRRTzwR40IFo3WW7v67JLTMKT1ZxHTRqpWydJJbVx8Ec/fDeY1wdK50R4JjmARuNY3aK yis2dNJqF7a5Y5/uugRWWNPaLN4lNvy3YGGo59UG8Mia8oN0yr3H8fTHT5SZtXoe8Dj8 /2RMYGQme7xFYIpnponhSmOqF2ZEFnJPRDxOWQiSPkGrMxePMXvigTEVyfiHsO4x0bzX fd6xv2DYkme5YL5vi7OgOu2iiolVKm78ivBELHMbWr3osEPLsCzP8PQ+fOqvWwlHmTbq +lYA== X-Gm-Message-State: APjAAAWMtH/hCwKpZzF2MCEy6N8REHwM8avsXceQu3VfzBbLt/mh9QAq 3rhoP/3gL5h6lMNfFIY+P5q5+A== X-Google-Smtp-Source: APXvYqwp6lQQkelPghpxUVZWkV+kNb5UvEGQzLAXjRI7F+yb44I1LwEPeVmHfJlw4QsxJNzjYBs6Wg== X-Received: by 2002:adf:b1d1:: with SMTP id r17mr22505321wra.201.1572866303723; Mon, 04 Nov 2019 03:18:23 -0800 (PST) Received: from [148.251.42.114] ([2a01:4f8:201:9271::2]) by smtp.gmail.com with ESMTPSA id h17sm16414214wmb.33.2019.11.04.03.18.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 03:18:23 -0800 (PST) Message-ID: <5dc008ff.1c69fb81.2664d.ab38@mx.google.com> Date: Mon, 04 Nov 2019 03:18:23 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Kernelci-Branch: for-next X-Kernelci-Lab-Name: lab-baylibre X-Kernelci-Tree: linusw X-Kernelci-Report-Type: bisect X-Kernelci-Kernel: v5.4-rc4-37-g1723e834a4aa Subject: linusw/for-next boot bisection: v5.4-rc4-37-g1723e834a4aa on meson-g12b-odroid-n2 To: Linus Walleij , tomeu.vizoso@collabora.com, guillaume.tucker@collabora.com, mgalka@collabora.com, broonie@kernel.org, matthew.hart@linaro.org, Scott Branden , khilman@baylibre.com, enric.balletbo@collabora.com, Chris Packham From: "kernelci.org bot" Cc: Scott Branden , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Bartosz Golaszewski , Ray Jui , linux-arm-kernel@lists.infradead.org Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" * * * * Hope this helps! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * linusw/for-next boot bisection: v5.4-rc4-37-g1723e834a4aa on meson-g12b-odr= oid-n2 Summary: Start: 1723e834a4aa Merge branch 'devel' into for-next Details: https://kernelci.org/boot/id/5dbfeed759b5144db1138e01 Plain log: https://storage.kernelci.org//linusw/for-next/v5.4-rc4-37-g17= 23e834a4aa/arm64/defconfig/gcc-8/lab-baylibre/boot-meson-g12b-odroid-n2.txt HTML log: https://storage.kernelci.org//linusw/for-next/v5.4-rc4-37-g17= 23e834a4aa/arm64/defconfig/gcc-8/lab-baylibre/boot-meson-g12b-odroid-n2.html Result: 6a41b6c5fc20 gpio: Add xgs-iproc driver Checks: revert: PASS verify: PASS Parameters: Tree: linusw URL: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-= gpio.git/ Branch: for-next Target: meson-g12b-odroid-n2 CPU arch: arm64 Lab: lab-baylibre Compiler: gcc-8 Config: defconfig Test suite: boot Breaking commit found: ---------------------------------------------------------------------------= ---- commit 6a41b6c5fc20abced88fa0eed42ae5e5cb70b280 Author: Chris Packham Date: Fri Oct 25 09:27:03 2019 +1300 gpio: Add xgs-iproc driver = This driver supports the Chip Common A GPIO controller present on a number of Broadcom switch ASICs with integrated SoCs. The controller is similar to the pinctrl-nsp-gpio and pinctrl-iproc-gpio blocks but different enough that a separate driver is required. = This has been ported from Broadcom's XLDK 5.0.3 retaining only the CCA support (pinctrl-iproc-gpio covers CCB). = Signed-off-by: Chris Packham Link: https://lore.kernel.org/r/20191024202703.8017-3-chris.packham@all= iedtelesis.co.nz Acked-by: Scott Branden Signed-off-by: Linus Walleij diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 8ec1f041c98d..e9516393c971 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -155,6 +155,15 @@ config GPIO_BCM_KONA help Turn on GPIO support for Broadcom "Kona" chips. = +config GPIO_BCM_XGS_IPROC + tristate "BRCM XGS iProc GPIO support" + depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST) + select GPIO_GENERIC + select GPIOLIB_IRQCHIP + default ARCH_BCM_IPROC + help + Say yes here to enable GPIO support for Broadcom XGS iProc SoCs. + config GPIO_BRCMSTB tristate "BRCMSTB GPIO support" default y if (ARCH_BRCMSTB || BMIPS_GENERIC) diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 84e05701f500..34eb8b2b12dd 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -35,6 +35,7 @@ obj-$(CONFIG_GPIO_ASPEED) +=3D gpio-aspeed.o obj-$(CONFIG_GPIO_ASPEED_SGPIO) +=3D gpio-aspeed-sgpio.o obj-$(CONFIG_GPIO_ATH79) +=3D gpio-ath79.o obj-$(CONFIG_GPIO_BCM_KONA) +=3D gpio-bcm-kona.o +obj-$(CONFIG_GPIO_BCM_XGS_IPROC) +=3D gpio-xgs-iproc.o obj-$(CONFIG_GPIO_BD70528) +=3D gpio-bd70528.o obj-$(CONFIG_GPIO_BD9571MWV) +=3D gpio-bd9571mwv.o obj-$(CONFIG_GPIO_BRCMSTB) +=3D gpio-brcmstb.o diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c new file mode 100644 index 000000000000..a3fdd95cc9e6 --- /dev/null +++ b/drivers/gpio/gpio-xgs-iproc.c @@ -0,0 +1,321 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 Broadcom + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define IPROC_CCA_INT_F_GPIOINT BIT(0) +#define IPROC_CCA_INT_STS 0x20 +#define IPROC_CCA_INT_MASK 0x24 + +#define IPROC_GPIO_CCA_DIN 0x0 +#define IPROC_GPIO_CCA_DOUT 0x4 +#define IPROC_GPIO_CCA_OUT_EN 0x8 +#define IPROC_GPIO_CCA_INT_LEVEL 0x10 +#define IPROC_GPIO_CCA_INT_LEVEL_MASK 0x14 +#define IPROC_GPIO_CCA_INT_EVENT 0x18 +#define IPROC_GPIO_CCA_INT_EVENT_MASK 0x1C +#define IPROC_GPIO_CCA_INT_EDGE 0x24 + +struct iproc_gpio_chip { + struct irq_chip irqchip; + struct gpio_chip gc; + spinlock_t lock; + struct device *dev; + void __iomem *base; + void __iomem *intr; +}; + +static inline struct iproc_gpio_chip * +to_iproc_gpio(struct gpio_chip *gc) +{ + return container_of(gc, struct iproc_gpio_chip, gc); +} + +static void iproc_gpio_irq_ack(struct irq_data *d) +{ + struct gpio_chip *gc =3D irq_data_get_irq_chip_data(d); + struct iproc_gpio_chip *chip =3D to_iproc_gpio(gc); + int pin =3D d->hwirq; + unsigned long flags; + u32 irq =3D d->irq; + u32 irq_type, event_status =3D 0; + + spin_lock_irqsave(&chip->lock, flags); + irq_type =3D irq_get_trigger_type(irq); + if (irq_type & IRQ_TYPE_EDGE_BOTH) { + event_status |=3D BIT(pin); + writel_relaxed(event_status, + chip->base + IPROC_GPIO_CCA_INT_EVENT); + } + spin_unlock_irqrestore(&chip->lock, flags); +} + +static void iproc_gpio_irq_unmask(struct irq_data *d) +{ + struct gpio_chip *gc =3D irq_data_get_irq_chip_data(d); + struct iproc_gpio_chip *chip =3D to_iproc_gpio(gc); + int pin =3D d->hwirq; + unsigned long flags; + u32 irq =3D d->irq; + u32 int_mask, irq_type, event_mask; + + spin_lock_irqsave(&chip->lock, flags); + irq_type =3D irq_get_trigger_type(irq); + event_mask =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); + int_mask =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); + + if (irq_type & IRQ_TYPE_EDGE_BOTH) { + event_mask |=3D 1 << pin; + writel_relaxed(event_mask, + chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); + } else { + int_mask |=3D 1 << pin; + writel_relaxed(int_mask, + chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); + } + spin_unlock_irqrestore(&chip->lock, flags); +} + +static void iproc_gpio_irq_mask(struct irq_data *d) +{ + struct gpio_chip *gc =3D irq_data_get_irq_chip_data(d); + struct iproc_gpio_chip *chip =3D to_iproc_gpio(gc); + int pin =3D d->hwirq; + unsigned long flags; + u32 irq =3D d->irq; + u32 irq_type, int_mask, event_mask; + + spin_lock_irqsave(&chip->lock, flags); + irq_type =3D irq_get_trigger_type(irq); + event_mask =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); + int_mask =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); + + if (irq_type & IRQ_TYPE_EDGE_BOTH) { + event_mask &=3D ~BIT(pin); + writel_relaxed(event_mask, + chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); + } else { + int_mask &=3D ~BIT(pin); + writel_relaxed(int_mask, + chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); + } + spin_unlock_irqrestore(&chip->lock, flags); +} + +static int iproc_gpio_irq_set_type(struct irq_data *d, u32 type) +{ + struct gpio_chip *gc =3D irq_data_get_irq_chip_data(d); + struct iproc_gpio_chip *chip =3D to_iproc_gpio(gc); + int pin =3D d->hwirq; + unsigned long flags; + u32 irq =3D d->irq; + u32 event_pol, int_pol; + int ret =3D 0; + + spin_lock_irqsave(&chip->lock, flags); + switch (type & IRQ_TYPE_SENSE_MASK) { + case IRQ_TYPE_EDGE_RISING: + event_pol =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); + event_pol &=3D ~BIT(pin); + writel_relaxed(event_pol, chip->base + IPROC_GPIO_CCA_INT_EDGE); + break; + case IRQ_TYPE_EDGE_FALLING: + event_pol =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); + event_pol |=3D BIT(pin); + writel_relaxed(event_pol, chip->base + IPROC_GPIO_CCA_INT_EDGE); + break; + case IRQ_TYPE_LEVEL_HIGH: + int_pol =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL); + int_pol &=3D ~BIT(pin); + writel_relaxed(int_pol, chip->base + IPROC_GPIO_CCA_INT_LEVEL); + break; + case IRQ_TYPE_LEVEL_LOW: + int_pol =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL); + int_pol |=3D BIT(pin); + writel_relaxed(int_pol, chip->base + IPROC_GPIO_CCA_INT_LEVEL); + break; + default: + /* should not come here */ + ret =3D -EINVAL; + goto out_unlock; + } + + if (type & IRQ_TYPE_LEVEL_MASK) + irq_set_handler_locked(irq_get_irq_data(irq), handle_level_irq); + else if (type & IRQ_TYPE_EDGE_BOTH) + irq_set_handler_locked(irq_get_irq_data(irq), handle_edge_irq); + +out_unlock: + spin_unlock_irqrestore(&chip->lock, flags); + + return ret; +} + +static irqreturn_t iproc_gpio_irq_handler(int irq, void *data) +{ + struct gpio_chip *gc =3D (struct gpio_chip *)data; + struct iproc_gpio_chip *chip =3D to_iproc_gpio(gc); + int bit; + unsigned long int_bits =3D 0; + u32 int_status; + + /* go through the entire GPIOs and handle all interrupts */ + int_status =3D readl_relaxed(chip->intr + IPROC_CCA_INT_STS); + if (int_status & IPROC_CCA_INT_F_GPIOINT) { + u32 event, level; + + /* Get level and edge interrupts */ + event =3D + readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); + event &=3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT); + level =3D readl_relaxed(chip->base + IPROC_GPIO_CCA_DIN); + level ^=3D readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL); + level &=3D + readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); + int_bits =3D level | event; + + for_each_set_bit(bit, &int_bits, gc->ngpio) + generic_handle_irq(irq_linear_revmap(gc->irq.domain, bit)); + } + + return int_bits ? IRQ_HANDLED : IRQ_NONE; +} + +static int iproc_gpio_probe(struct platform_device *pdev) +{ + struct device *dev =3D &pdev->dev; + struct device_node *dn =3D pdev->dev.of_node; + struct iproc_gpio_chip *chip; + u32 num_gpios; + int irq, ret; + + chip =3D devm_kzalloc(dev, sizeof(*chip), GFP_KERNEL); + if (!chip) + return -ENOMEM; + + chip->dev =3D dev; + platform_set_drvdata(pdev, chip); + spin_lock_init(&chip->lock); + + chip->base =3D devm_platform_ioremap_resource(pdev, 0); + if (IS_ERR(chip->base)) + return PTR_ERR(chip->base); + + ret =3D bgpio_init(&chip->gc, dev, 4, + chip->base + IPROC_GPIO_CCA_DIN, + chip->base + IPROC_GPIO_CCA_DOUT, + NULL, + chip->base + IPROC_GPIO_CCA_OUT_EN, + NULL, + 0); + if (ret) { + dev_err(dev, "unable to init GPIO chip\n"); + return ret; + } + + chip->gc.label =3D dev_name(dev); + if (of_property_read_u32(dn, "ngpios", &num_gpios)) + chip->gc.ngpio =3D num_gpios; + + irq =3D platform_get_irq(pdev, 0); + if (irq > 0) { + struct gpio_irq_chip *girq; + struct irq_chip *irqc; + u32 val; + + irqc =3D &chip->irqchip; + irqc->name =3D dev_name(dev); + irqc->irq_ack =3D iproc_gpio_irq_ack; + irqc->irq_mask =3D iproc_gpio_irq_mask; + irqc->irq_unmask =3D iproc_gpio_irq_unmask; + irqc->irq_set_type =3D iproc_gpio_irq_set_type; + + chip->intr =3D devm_platform_ioremap_resource(pdev, 1); + if (IS_ERR(chip->intr)) + return PTR_ERR(chip->intr); + + /* Enable GPIO interrupts for CCA GPIO */ + val =3D readl_relaxed(chip->intr + IPROC_CCA_INT_MASK); + val |=3D IPROC_CCA_INT_F_GPIOINT; + writel_relaxed(val, chip->intr + IPROC_CCA_INT_MASK); + + /* + * Directly request the irq here instead of passing + * a flow-handler to gpiochip_set_chained_irqchip, + * because the irq is shared. + */ + ret =3D devm_request_irq(dev, irq, iproc_gpio_irq_handler, + IRQF_SHARED, chip->gc.label, &chip->gc); + if (ret) { + dev_err(dev, "Fail to request IRQ%d: %d\n", irq, ret); + return ret; + } + + girq =3D &chip->gc.irq; + girq->chip =3D irqc; + /* This will let us handle the parent IRQ in the driver */ + girq->parent_handler =3D NULL; + girq->num_parents =3D 0; + girq->parents =3D NULL; + girq->default_type =3D IRQ_TYPE_NONE; + girq->handler =3D handle_simple_irq; + } + + ret =3D devm_gpiochip_add_data(dev, &chip->gc, chip); + if (ret) { + dev_err(dev, "unable to add GPIO chip\n"); + return ret; + } + + return 0; +} + +static int __exit iproc_gpio_remove(struct platform_device *pdev) +{ + struct iproc_gpio_chip *chip; + + chip =3D platform_get_drvdata(pdev); + if (!chip) + return -ENODEV; + + if (chip->intr) { + u32 val; + + val =3D readl_relaxed(chip->intr + IPROC_CCA_INT_MASK); + val &=3D ~IPROC_CCA_INT_F_GPIOINT; + writel_relaxed(val, chip->intr + IPROC_CCA_INT_MASK); + } + + return 0; +} + +static const struct of_device_id bcm_iproc_gpio_of_match[] __initconst =3D= { + { .compatible =3D "brcm,iproc-gpio-cca" }, + {} +}; +MODULE_DEVICE_TABLE(of, bcm_iproc_gpio_of_match); + +static struct platform_driver bcm_iproc_gpio_driver =3D { + .driver =3D { + .name =3D "iproc-xgs-gpio", + .owner =3D THIS_MODULE, + .of_match_table =3D bcm_iproc_gpio_of_match, + }, + .probe =3D iproc_gpio_probe, + .remove =3D iproc_gpio_remove, +}; + +module_platform_driver(bcm_iproc_gpio_driver); + +MODULE_DESCRIPTION("XGS IPROC GPIO driver"); +MODULE_LICENSE("GPL v2"); ---------------------------------------------------------------------------= ---- Git bisection log: ---------------------------------------------------------------------------= ---- git bisect start # good: [7d194c2100ad2a6dded545887d02754948ca5241] Linux 5.4-rc4 git bisect good 7d194c2100ad2a6dded545887d02754948ca5241 # bad: [1723e834a4aafd9a73ba6eb61aed6b092acfde73] Merge branch 'devel' into= for-next git bisect bad 1723e834a4aafd9a73ba6eb61aed6b092acfde73 # good: [698b8eeaed7287970fc2b6d322618850fd1b1e6c] gpio/mpc8xxx: change irq= handler from chained to normal git bisect good 698b8eeaed7287970fc2b6d322618850fd1b1e6c # good: [228fc01040704f55fd884ab41daf3eafd2644b54] gpio: of: don't warn if = ignored GPIO flag matches the behavior git bisect good 228fc01040704f55fd884ab41daf3eafd2644b54 # good: [1dfc462a54386d8467ff427ef900f553e2e470e3] dt-bindings: gpio: brcm:= Add bindings for xgs-iproc git bisect good 1dfc462a54386d8467ff427ef900f553e2e470e3 # good: [806766af3909258ccab74265e33ce8afd21af952] Revert "gpio: merrifield= : Move hardware initialization to callback" git bisect good 806766af3909258ccab74265e33ce8afd21af952 # good: [1173c3c28abfc3d7b7665db502280ba9322320e6] Revert "gpio: merrifield= : Pass irqchip when adding gpiochip" git bisect good 1173c3c28abfc3d7b7665db502280ba9322320e6 # bad: [6a41b6c5fc20abced88fa0eed42ae5e5cb70b280] gpio: Add xgs-iproc driver git bisect bad 6a41b6c5fc20abced88fa0eed42ae5e5cb70b280 # first bad commit: [6a41b6c5fc20abced88fa0eed42ae5e5cb70b280] gpio: Add xg= s-iproc driver ---------------------------------------------------------------------------= ----