> On Apr 21, 2018, at 10:26 AM, Jonathan Cameron wrote:
>
> On Sat, 21 Apr 2018 08:56:19 -0300
> Rodrigo Siqueira wrote:
>
>> This patch adds the ade7854_write_raw() function which is responsible
>> for handling the write operation for registers: AIGAIN, BIGAIN, CIGAIN,
>> NIGAIN, AVGAIN, BVG
Attached is a spreadsheet which should help explain the calibration process.
ADE7878_calibration.xlsx
Description: MS-Excel 2007 spreadsheet
Here is the calibration guide:
http://www.analog.com/media/en/technical-documentation/application-notes/AN-1076.pdf
Regards,
John
> On Apr 21, 2
Hi Jonathan,
I have been looking at the IIO ABI docs and if I understand correctly, the idea
is to use consistent naming conventions? So for example, looking at the ADE7854
datasheet, the naming matching the ADE7854 registers would be as follows:
{direction}_{type}_{index}_{modifier}_{info_mask
1 CONFIG2 register_CONFIG2R/W 8 8 U 0x00
Configuration register used during PSM1 mode. See Table 55.
Regards,
John
> On Mar 17, 2018, at 1:30 PM, Jonathan Cameron wrote:
>
> On Wed, 14 Mar 2018 23:12:02 -0700
> John Syne wrote:
>
>> Hi Jonathan
t, 17 Mar 2018 23:11:45 -0700
> John Syne wrote:
>
>> Hi Jonathan,
> Hi John and All,
>
> I'd love to get some additional input on this from anyone interested.
> There are a lot of weird and wonderful derived quantities in an energy
> meter and it seems we need to
18, at 5:23 AM, Jonathan Cameron wrote:
>
> On Sat, 17 Mar 2018 23:11:45 -0700
> John Syne wrote:
>
>> Hi Jonathan,
> Hi John and All,
>
> I'd love to get some additional input on this from anyone interested.
> There are a lot of weird and wonderful derived q
Fixes: correctly handle errors on the read and write operation for I2C
The original code does not correctly handle the error related to I2C
read and write. This patch fixes the error handling related to all
read/write functions for I2C.
Signed-off-by: John Syne
Signed-off-by: Rodrigo Siqueira
: John Syne
Signed-off-by: Rodrigo Siqueira
---
Changes in v3:
- Clarify authorship
- Add Fixes tag in the commit message
drivers/staging/iio/meter/ade7854-i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/meter/ade7854-i2c.c
b/drivers/staging/iio/meter
> On Mar 24, 2018, at 8:02 AM, Jonathan Cameron wrote:
>
> On Mon, 19 Mar 2018 22:57:16 -0700
> John Syne wrote:
>
>> Hi Jonathan,
>>
>> Thank you for all your hard work. Your feedback is really helpful. I’m
>> surprised that no one from An
Hi Jonathan,
I have attached a CSV version of this table below. Hopefully that will make
things easier for you.
RegisterIIO Attribute Device Tree or Code Direction type
Index ModifierInfo Mask
AIGAIN in_current0_phaseA_scalein current 0
> On Mar 24, 2018, at 8:18 AM, Jonathan Cameron wrote:
>
> On Mon, 19 Mar 2018 23:28:45 -0700
> John Syne wrote:
>
>> Hi Jonathan,
>>
>> I broke out the {Direction}_{Type}_{Index}_{Modifier}_{Info_Mask} into
>> separate columns to make sure I un
Hi Jonathan,
I was speaking with Rodrigo and here is what I think must be done to move
ADE7878 out of staging
Here are the steps as I see them:
1) Define the IIO Attributes so they are consistent with the IIO ABI. This
should be pretty simple given agreement on the naming convention.
2) Map t
> On Mar 25, 2018, at 9:29 AM, Jonathan Cameron wrote:
>
> On Sat, 24 Mar 2018 15:45:21 -0700
> John Syne wrote:
>
>>> On Mar 24, 2018, at 8:02 AM, Jonathan Cameron wrote:
>>>
>>> On Mon, 19 Mar 2018 22:57:16 -0700
>>> John Syne wrote:
> On Mar 25, 2018, at 9:44 AM, Jonathan Cameron wrote:
>
> On Sat, 24 Mar 2018 16:06:17 -0700
> John Syne wrote:
>
> This thread is becoming unmanageable so I am cropping this down to just
> the questions that remain open.
>
>>>> Probably easier
>
> On Mar 25, 2018, at 9:44 AM, Jonathan Cameron wrote:
>
> On Sat, 24 Mar 2018 16:06:17 -0700
> John Syne wrote:
>
> This thread is becoming unmanageable so I am cropping this down to just
> the questions that remain open.
>
>>>> Probably eas
> On Mar 25, 2018, at 9:54 AM, Jonathan Cameron wrote:
>
> On Sun, 25 Mar 2018 01:29:41 -0700
> John Syne wrote:
>
>> Hi Jonathan,
> Hi John,
>
> Please wrap your normal emails (excepting tables) to 80 chars.
Yeah, I’m trying to do that, but I use a Mac and App
16 matches
Mail list logo