Re: Re: [PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-08-05 Thread wsa
> > The other thing would be to convert the PXA driver and see if our > > generic support can help their advanced use case or if we are missing > > something. Codrin, do you have maybe time and interest to do that? That > > would be awesome! > > Naturally, these would be the next steps. I can do

Re: Re: [PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-08-05 Thread Codrin.Ciubotariu
On 05.08.2020 11:52, w...@kernel.org wrote: > Codrin, everyone > >> This patch series was previously sent as a RFC. Significant changes >> since RFC: >> - "recovery" pinctrl state marked as deprecared in bindings; >> - move to "gpio" pinctrl state done after the call to prepare_recovery() >>

Re: [PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-08-05 Thread wsa
Codrin, everyone > This patch series was previously sent as a RFC. Significant changes > since RFC: > - "recovery" pinctrl state marked as deprecared in bindings; > - move to "gpio" pinctrl state done after the call to prepare_recovery() > callback; > - glitch protection when SDA gpio is taken

[PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-08-04 Thread Codrin Ciubotariu
GPIO recovery has been added already for some I2C bus drivers, such as imx, pxa and at91. These drivers use similar bindings and have more or less the same code for recovery. For this reason, we aim to move the GPIO bus recovery implementation to the I2C core so that other drivers can benefit from

Re: [RFC PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-07-05 Thread Wolfram Sang
On Fri, Jun 19, 2020 at 05:19:00PM +0300, Codrin Ciubotariu wrote: > GPIO recovery has been added already for some I2C bus drivers, such as > imx, pxa and at91. These drivers use similar bindings and have more or > less the same code for recovery. For this reason, we aim to move the > GPIO bus

[RFC PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-06-19 Thread Codrin Ciubotariu
GPIO recovery has been added already for some I2C bus drivers, such as imx, pxa and at91. These drivers use similar bindings and have more or less the same code for recovery. For this reason, we aim to move the GPIO bus recovery implementation to the I2C core so that other drivers can benefit from