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

2019-08-12 Thread Fried, Ramon
On 8/13/2019 08:38, Stefan Wahren wrote: Hi Ramon, On 13.08.19 03:42, Ramon Fried wrote: From: Stefan Wahren 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

Re: RFC: gpio: mmio: add support for 3 direction regs

2019-01-03 Thread Fried, Ramon
On 1/3/2019 10:59, Vladimir Zapolskiy wrote: > On 01/03/2019 10:51 AM, Fried, Ramon wrote: >> On 1/3/2019 10:07, Vladimir Zapolskiy wrote: >>> Hi Ramon, >>> >>> On 01/03/2019 09:36 AM, Fried, Ramon wrote: >>>> Hi. >>>> >>>&

Re: RFC: gpio: mmio: add support for 3 direction regs

2019-01-03 Thread Fried, Ramon
On 1/3/2019 10:07, Vladimir Zapolskiy wrote: > Hi Ramon, > > On 01/03/2019 09:36 AM, Fried, Ramon wrote: >> Hi. >> >> I'm working on a driver for STA2X11 GPIO controller who seems to fit >> best to the generic mmio driver, > I hope you have seen the exis

RFC: gpio: mmio: add support for 3 direction regs

2019-01-02 Thread Fried, Ramon
Hi. I'm working on a driver for STA2X11 GPIO controller who seems to fit best to the generic mmio driver, the only problem I have is with the dir register case. The STA2X11 has 3 registers for dir, one for data, one for set and one for clear. The generic-mmio driver has support for this fashion