mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 21:33:00 +01:00
The user space like gpioinfo only see the GPIO usage but not the MUX usage (e.g. I2C or SPI usage) of a pin. As a user we want to know which pin is free/safe to use. So take the MUX usage of strict pinmux controllers into account to get a more realistic view for ioctl GPIO_GET_LINEINFO_IOCTL. Signed-off-by: Stefan Wahren <[email protected]> Tested-by: Ramon Fried <[email protected]> Signed-off-by: Ramon Fried <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Stefan Wahren <[email protected]> Signed-off-by: Linus Walleij <[email protected]>