Re: [PATCH v3] gpiolib: Take MUX usage into account

From: Stefan Wahren
Date: Mon Aug 19 2019 - 15:27:16 EST

Am 14.08.19 um 13:00 schrieb Ramon Fried:
> From: Stefan Wahren <stefan.wahren@xxxxxxxx>
> 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 <stefan.wahren@xxxxxxxx>
> Tested-by: Ramon Fried <>
> Signed-off-by: Ramon Fried <>
Acked-by: Stefan Wahren <stefan.wahren@xxxxxxxx>