linux-yocto/drivers/gpio
David Thompson 6b4311f78a gpio: mlxbf3: only get IRQ for device instance 0
[ Upstream commit 10af0273a3 ]

The gpio-mlxbf3 driver interfaces with two GPIO controllers,
device instance 0 and 1. There is a single IRQ resource shared
between the two controllers, and it is found in the ACPI table for
device instance 0.  The driver should not attempt to get an IRQ
resource when probing device instance 1, otherwise the following
error is logged:
  mlxbf3_gpio MLNXBF33:01: error -ENXIO: IRQ index 0 not found

Signed-off-by: David Thompson <davthompson@nvidia.com>
Reviewed-by: Shravan Kumar Ramani <shravankr@nvidia.com>
Fixes: cd33f216d2 ("gpio: mlxbf3: Add gpio driver support")
Link: https://lore.kernel.org/r/20250613163443.1065217-1-davthompson@nvidia.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:09:04 +01:00
..
gpio-74x164.c gpio: 74x164: Enable output pins after registers are reset 2024-03-06 14:48:43 +00:00
gpio-74xx-mmio.c
gpio-104-dio-48e.c
gpio-104-idi-48.c
gpio-104-idio-16.c
gpio-adnp.c
gpio-adp5520.c
gpio-aggregator.c gpio: aggregator: protect driver attr handlers against module unload 2025-03-13 12:58:24 +01:00
gpio-altera-a10sr.c
gpio-altera.c
gpio-amd-fch.c
gpio-amd8111.c
gpio-amdpt.c
gpio-arizona.c
gpio-aspeed-sgpio.c
gpio-aspeed.c gpio: aspeed: Use devm_clk api to manage clock source 2024-10-17 15:24:26 +02:00
gpio-ath79.c
gpio-bcm-kona.c gpio: bcm-kona: Add missing newline to dev_err format string 2025-02-21 13:57:08 +01:00
gpio-bd9571mwv.c
gpio-bd71815.c
gpio-bd71828.c
gpio-brcmstb.c of: remove internal arguments from of_property_for_each_u32() 2025-02-08 09:51:51 +01:00
gpio-bt8xx.c
gpio-cadence.c
gpio-clps711x.c
gpio-creg-snps.c
gpio-crystalcove.c gpio: crystalcove: Use -ENOTSUPP consistently 2024-05-17 12:02:18 +02:00
gpio-cs5535.c
gpio-da9052.c
gpio-da9055.c
gpio-davinci.c gpio: davinci: fix lazy disable 2024-10-10 11:57:58 +02:00
gpio-dln2.c
gpio-ds4520.c
gpio-dwapb.c gpio: dwapb: mask/unmask IRQ when disable/enale it 2024-01-01 12:42:46 +00:00
gpio-eic-sprd.c gpio: eic-sprd: Clear interrupt after set the interrupt type 2024-01-31 16:19:12 -08:00
gpio-elkhartlake.c
gpio-em.c
gpio-en7523.c
gpio-ep93xx.c
gpio-exar.c gpio: exar: set value when external pull-up or pull-down is present 2024-12-09 10:32:47 +01:00
gpio-f7188x.c
gpio-ftgpio010.c
gpio-fxl6408.c
gpio-ge.c
gpio-gpio-mm.c
gpio-grgpio.c gpio: grgpio: Add NULL check in grgpio_probe 2024-12-14 19:59:41 +01:00
gpio-gw-pld.c
gpio-hisi.c
gpio-hlwd.c
gpio-htc-egpio.c
gpio-i8255.c
gpio-i8255.h
gpio-ich.c
gpio-idio-16.c
gpio-idio-16.h
gpio-idt3243x.c
gpio-imx-scu.c
gpio-it87.c
gpio-ixp4xx.c
gpio-janz-ttl.c
gpio-kempld.c
gpio-latch.c
gpio-ljca.c
gpio-logicvc.c
gpio-loongson-64bit.c
gpio-loongson.c
gpio-loongson1.c
gpio-lp873x.c
gpio-lp3943.c
gpio-lp87565.c
gpio-lpc18xx.c
gpio-lpc32xx.c gpio: lpc32xx: fix module autoloading 2024-05-17 12:02:19 +02:00
gpio-madera.c
gpio-max730x.c
gpio-max732x.c
gpio-max3191x.c
gpio-max7300.c
gpio-max7301.c
gpio-max77620.c
gpio-max77650.c
gpio-mb86s7x.c
gpio-mc33880.c
gpio-menz127.c
gpio-merrifield.c
gpio-ml-ioh.c
gpio-mlxbf.c
gpio-mlxbf2.c
gpio-mlxbf3.c gpio: mlxbf3: only get IRQ for device instance 0 2025-06-27 11:09:04 +01:00
gpio-mm-lantiq.c
gpio-mmio.c gpio: mmio: do not calculate bgpio_bits via "ngpios" 2024-07-11 12:49:13 +02:00
gpio-mockup.c
gpio-moxtet.c
gpio-mpc8xxx.c
gpio-mpc5200.c
gpio-msc313.c
gpio-mt7621.c
gpio-mvebu.c
gpio-mxc.c gpio: mxc: remove dead code after switch to DT-only 2025-02-08 09:52:29 +01:00
gpio-mxs.c
gpio-octeon.c
gpio-omap.c
gpio-palmas.c
gpio-pca953x.c gpio: pca953x: fix IRQ storm on system wake up 2025-06-04 14:41:51 +02:00
gpio-pca9570.c
gpio-pcf857x.c
gpio-pch.c
gpio-pci-idio-16.c
gpio-pcie-idio-24.c
gpio-pisosr.c
gpio-pl061.c
gpio-pmic-eic-sprd.c gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip 2023-09-27 09:12:09 +02:00
gpio-pxa.c gpio: pxa: disable pinctrl calls for MMP_GPIO 2023-10-02 09:18:53 +02:00
gpio-raspberrypi-exp.c
gpio-rc5t583.c
gpio-rcar.c gpio: rcar: Fix missing of_node_put() call 2025-03-13 12:58:33 +01:00
gpio-rda.c
gpio-rdc321x.c
gpio-realtek-otto.c
gpio-reg.c
gpio-regmap.c
gpio-rockchip.c gpio: rockchip: fix OF node leak in probe() 2024-09-12 11:11:44 +02:00
gpio-sa1100.c
gpio-sama5d2-piobu.c
gpio-sch.c
gpio-sch311x.c
gpio-sifive.c
gpio-sim.c gpio: sim: initialize a managed pointer when declaring it 2023-11-20 11:59:04 +01:00
gpio-siox.c
gpio-sl28cpld.c
gpio-sodaville.c
gpio-spear-spics.c
gpio-sprd.c
gpio-stmpe.c gpio: stmpe: Check return value of stmpe_reg_read in stmpe_gpio_irq_sync_unlock 2025-02-21 13:57:18 +01:00
gpio-stp-xway.c
gpio-syscon.c
gpio-tangier.c gpio: tangier: Use correct type for the IRQ chip data 2024-05-02 16:32:33 +02:00
gpio-tangier.h
gpio-tb10x.c
gpio-tc3589x.c
gpio-tegra.c
gpio-tegra186.c gpio: tegra186: fix resource handling in ACPI probe path 2025-04-25 10:45:34 +02:00
gpio-thunderx.c
gpio-timberdale.c gpio: timberdale: Fix potential deadlock on &tgpio->lock 2023-09-27 08:51:28 +02:00
gpio-tn48m.c
gpio-tpic2810.c
gpio-tps6586x.c
gpio-tps65086.c
gpio-tps65218.c
gpio-tps65219.c
gpio-tps65910.c
gpio-tps65912.c
gpio-tps68470.c
gpio-tqmx86.c gpio: tqmx86: fix broken IRQ_TYPE_EDGE_BOTH interrupt type 2024-06-21 14:38:30 +02:00
gpio-ts4800.c
gpio-ts4900.c
gpio-ts5500.c
gpio-twl4030.c
gpio-twl6040.c
gpio-uniphier.c
gpio-vf610.c gpio: vf610: set value before the direction to avoid a glitch 2023-10-18 11:01:08 +02:00
gpio-viperboard.c
gpio-virtio.c
gpio-visconti.c
gpio-vx855.c
gpio-wcd934x.c
gpio-wcove.c gpio: wcove: Use -ENOTSUPP consistently 2024-05-17 12:02:18 +02:00
gpio-winbond.c
gpio-wm831x.c
gpio-wm8350.c
gpio-wm8994.c
gpio-ws16c48.c
gpio-xgene-sb.c
gpio-xgene.c
gpio-xgs-iproc.c
gpio-xilinx.c gpio: xilinx: Convert gpio_lock to raw spinlock 2025-01-23 17:21:16 +01:00
gpio-xlp.c
gpio-xra1403.c
gpio-xtensa.c
gpio-zevio.c gpio: zevio: Add missed label initialisation 2024-12-09 10:32:31 +01:00
gpio-zynq.c gpio: zynq: Fix wakeup source leaks on device unbind 2025-04-25 10:45:34 +02:00
gpio-zynqmp-modepin.c gpio: modepin: Enable module autoloading 2024-09-12 11:11:44 +02:00
gpiolib-acpi.c gpiolib: acpi: Add a quirk for Acer Nitro ANV14 2025-02-21 13:57:18 +01:00
gpiolib-acpi.h
gpiolib-cdev.c gpiolib: cdev: Ignore reconfiguration without direction 2024-09-30 16:25:14 +02:00
gpiolib-cdev.h
gpiolib-devres.c gpiolib: Pass consumer device through to core in devm_fwnode_gpiod_get_index() 2024-03-26 18:19:34 -04:00
gpiolib-legacy.c
gpiolib-of.c gpiolib: of: Add polarity quirk for s5m8767 2025-06-27 11:08:52 +01:00
gpiolib-of.h
gpiolib-swnode.c
gpiolib-swnode.h
gpiolib-sysfs.c gpio: sysfs: extend the critical section for unregistering sysfs devices 2024-08-29 17:33:34 +02:00
gpiolib-sysfs.h
gpiolib.c gpiolib: Fix crash on error in gpiochip_get_ngpios() 2025-02-21 13:57:09 +01:00
gpiolib.h gpiolib: Pass consumer device through to core in devm_fwnode_gpiod_get_index() 2024-03-26 18:19:34 -04:00
Kconfig gpio: tqmx86: fix typo in Kconfig label 2024-06-21 14:38:29 +02:00
Makefile
TODO