Re: [PATCH 2/4] i2c: core: add generic I2C GPIO recovery

2020-08-05 Thread wsa
On Tue, Aug 04, 2020 at 12:59:24PM +0300, Codrin Ciubotariu wrote: > Multiple I2C bus drivers use similar bindings to obtain information needed > for I2C recovery. For example, for platforms using device-tree, the > properties look something like this: > > { > ... > pinctrl-names =

[PATCH 2/4] i2c: core: add generic I2C GPIO recovery

2020-08-04 Thread Codrin Ciubotariu
Multiple I2C bus drivers use similar bindings to obtain information needed for I2C recovery. For example, for platforms using device-tree, the properties look something like this: { ... pinctrl-names = "default", "gpio"; pinctrl-0 = <_i2c_default>; pinctrl-1 =

Re: Re: [RFC PATCH 2/4] i2c: core: add generic I2C GPIO recovery

2020-08-03 Thread wsa
> I agree will all your suggestions, except with the removal of if > (bri->recover_bus) . If you agree with this, I can send the next version > and remove the RFC. Yes, sure. That was a brown paper bag thingie from my side. Please go ahead! signature.asc Description: PGP signature

Re: Re: [RFC PATCH 2/4] i2c: core: add generic I2C GPIO recovery

2020-08-03 Thread Codrin.Ciubotariu
On 02.08.2020 19:54, Wolfram Sang wrote: > On Fri, Jun 19, 2020 at 05:19:02PM +0300, Codrin Ciubotariu wrote: >> Multiple I2C bus drivers use similar bindings to obtain information needed >> for I2C recovery. For example, for platforms using device-tree, the >> properties look something like this:

Re: [RFC PATCH 2/4] i2c: core: add generic I2C GPIO recovery

2020-08-02 Thread Wolfram Sang
On Fri, Jun 19, 2020 at 05:19:02PM +0300, Codrin Ciubotariu wrote: > Multiple I2C bus drivers use similar bindings to obtain information needed > for I2C recovery. For example, for platforms using device-tree, the > properties look something like this: > > { > ... > pinctrl-names =

[RFC PATCH 2/4] i2c: core: add generic I2C GPIO recovery

2020-06-19 Thread Codrin Ciubotariu
Multiple I2C bus drivers use similar bindings to obtain information needed for I2C recovery. For example, for platforms using device-tree, the properties look something like this: { ... pinctrl-names = "default", "gpio"; // or pinctrl-names = "default", "recovery";