2017-06-19 18:25:00

by Stefan Brüns

[permalink] [raw]
Subject: Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote:
> On Wed, 24 May 2017 20:53:35 +0100
>
> Jonathan Cameron <[email protected]> wrote:
> > On Wed, 24 May 2017 02:09:07 +0200
> >
> > Stefan Br?ns <[email protected]> wrote:
> > > While the INA226 has a conversion ready flag (CVRF) in the R/W
> > > Mask/Enable
> > > register with read-to-clear semantics, the corresponding bit of the
> > > INA219
> > > (CNVR) is part of the bus voltage register. The flag is cleared by
> > > reading
> > > the power register.
> > >
> > > Signed-off-by: Stefan Br?ns <[email protected]>
> >
> > Again, looks good to me, but I would like input form Marc or Andrew
> > who are more familiar with these devices than me!
> >
> > Ping me in a week or two if nothing is happening and I look to have
> > lost these!
>
> Ah Marc's old email is bouncing. If no one has a more up to
> data address I guess we'll be looking at Andrew to have a chance to
> respond (which is more likely if I actually cc him ;)

Ping ;-)

Kind regards,

Stefan


2017-06-19 18:30:59

by Andrew Davis

[permalink] [raw]
Subject: Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag



On 06/19/2017 01:24 PM, Brüns, Stefan wrote:
> On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote:
>> On Wed, 24 May 2017 20:53:35 +0100
>>
>> Jonathan Cameron <[email protected]> wrote:
>>> On Wed, 24 May 2017 02:09:07 +0200
>>>
>>> Stefan Brüns <[email protected]> wrote:
>>>> While the INA226 has a conversion ready flag (CVRF) in the R/W
>>>> Mask/Enable
>>>> register with read-to-clear semantics, the corresponding bit of the
>>>> INA219
>>>> (CNVR) is part of the bus voltage register. The flag is cleared by
>>>> reading
>>>> the power register.
>>>>
>>>> Signed-off-by: Stefan Brüns <[email protected]>
>>>
>>> Again, looks good to me, but I would like input form Marc or Andrew
>>> who are more familiar with these devices than me!
>>>
>>> Ping me in a week or two if nothing is happening and I look to have
>>> lost these!
>>
>> Ah Marc's old email is bouncing. If no one has a more up to
>> data address I guess we'll be looking at Andrew to have a chance to
>> respond (which is more likely if I actually cc him ;)
>
> Ping ;-)
>

As for me, my silence is approval, nothing looks incorrect to me.

> Kind regards,
>
> Stefan
>

2017-06-21 19:24:30

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH v2 3/3] iio: adc: Fix polling of INA219 conversion ready flag

On Mon, 19 Jun 2017 13:30:31 -0500
"Andrew F. Davis" <[email protected]> wrote:

> On 06/19/2017 01:24 PM, Brüns, Stefan wrote:
> > On Mittwoch, 24. Mai 2017 21:56:54 CEST Jonathan Cameron wrote:
> >> On Wed, 24 May 2017 20:53:35 +0100
> >>
> >> Jonathan Cameron <[email protected]> wrote:
> >>> On Wed, 24 May 2017 02:09:07 +0200
> >>>
> >>> Stefan Brüns <[email protected]> wrote:
> >>>> While the INA226 has a conversion ready flag (CVRF) in the R/W
> >>>> Mask/Enable
> >>>> register with read-to-clear semantics, the corresponding bit of the
> >>>> INA219
> >>>> (CNVR) is part of the bus voltage register. The flag is cleared by
> >>>> reading
> >>>> the power register.
> >>>>
> >>>> Signed-off-by: Stefan Brüns <[email protected]>
> >>>
> >>> Again, looks good to me, but I would like input form Marc or Andrew
> >>> who are more familiar with these devices than me!
> >>>
> >>> Ping me in a week or two if nothing is happening and I look to have
> >>> lost these!
> >>
> >> Ah Marc's old email is bouncing. If no one has a more up to
> >> data address I guess we'll be looking at Andrew to have a chance to
> >> respond (which is more likely if I actually cc him ;)
> >
> > Ping ;-)
> >
>
> As for me, my silence is approval, nothing looks incorrect to me.
Applied to the togreg branch of iio.git and pushed out as testing.
It's late enough in the cycle that any fixes will probably be post
merge window now. Also this doesn't apply to my fixes-togreg branch
(presumably due to the earlier patches).

Thanks for the ping.

Jonathan
>
> > Kind regards,
> >
> > Stefan
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html