summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/PHSModule.c
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-03-28 16:55:48 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-04-13 15:41:56 +0200
commit15513eefac7ca68602e9de9853f5e671bf7b4eef (patch)
tree4e0eaaff715c039e7bce0b6f6f3fb7b1f483dc23 /drivers/staging/bcm/PHSModule.c
parent42671e9c1e40032f982d2163ba4867dc85e23832 (diff)
MIPS/mtd: Handle READY GPIO in generic NAND platform data
The callbacks into the MIPS RB532 platform to read the GPIO pin indicating that the NAND chip is ready are oldschool and does not assign GPIOs as properties to the NAND device. Add a capability to the generic platform NAND chip driver to use a GPIO line to detect if a NAND chip is ready and override the platform-local drv_ready() callback with this check if the GPIO is present. This makes it possible to drop the legacy include header <linux/gpio.h> from the RB532 devices. Signed-off-by: Linus Walleij <linusw@kernel.org> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/staging/bcm/PHSModule.c')
0 files changed, 0 insertions, 0 deletions