Re: ABI for these two registers?

2019-10-07 Thread Nicolin Chen
On Wed, Oct 02, 2019 at 10:03:11PM -0700, Guenter Roeck wrote: > On 10/1/19 3:17 PM, Nicolin Chen wrote: > > Hello Guenter, > > > > It's been nearly three weeks. Would it be possible for you to > > provide some advice on my latest questions? I'd like to write > > code and submit changes once ABI i

Re: ABI for these two registers?

2019-10-02 Thread Guenter Roeck
On 10/1/19 3:17 PM, Nicolin Chen wrote: Hello Guenter, It's been nearly three weeks. Would it be possible for you to provide some advice on my latest questions? I'd like to write code and submit changes once ABI is confirmed... Non-standard attribute discussions always require a lot of time,

Re: ABI for these two registers?

2019-10-01 Thread Nicolin Chen
Hello Guenter, It's been nearly three weeks. Would it be possible for you to provide some advice on my latest questions? I'd like to write code and submit changes once ABI is confirmed... Thank you! On Thu, Sep 12, 2019 at 05:12:38PM -0700, Nicolin Chen wrote: > > > > > > Datasheet: http://www.

Re: ABI for these two registers?

2019-09-12 Thread Nicolin Chen
On Thu, Sep 12, 2019 at 03:45:29PM -0700, Nicolin Chen wrote: > On Thu, Sep 12, 2019 at 03:09:47PM -0700, Guenter Roeck wrote: > > On Thu, Sep 12, 2019 at 02:09:58PM -0700, Nicolin Chen wrote: > > > Hello Guenter, > > > > > > On Thu, Sep 12, 2019 at 11:32:18AM -0700, Guenter Roeck wrote: > > > > O

Re: ABI for these two registers?

2019-09-12 Thread Nicolin Chen
On Thu, Sep 12, 2019 at 03:09:47PM -0700, Guenter Roeck wrote: > On Thu, Sep 12, 2019 at 02:09:58PM -0700, Nicolin Chen wrote: > > Hello Guenter, > > > > On Thu, Sep 12, 2019 at 11:32:18AM -0700, Guenter Roeck wrote: > > > On Wed, Sep 11, 2019 at 05:28:14PM -0700, Nicolin Chen wrote: > > > > Hello

Re: ABI for these two registers?

2019-09-12 Thread Guenter Roeck
On Thu, Sep 12, 2019 at 02:09:58PM -0700, Nicolin Chen wrote: > Hello Guenter, > > On Thu, Sep 12, 2019 at 11:32:18AM -0700, Guenter Roeck wrote: > > On Wed, Sep 11, 2019 at 05:28:14PM -0700, Nicolin Chen wrote: > > > Hello Guenter, > > > > > > Datasheet: http://www.ti.com/lit/ds/symlink/ina3221.

Re: ABI for these two registers?

2019-09-12 Thread Nicolin Chen
Hello Guenter, On Thu, Sep 12, 2019 at 11:32:18AM -0700, Guenter Roeck wrote: > On Wed, Sep 11, 2019 at 05:28:14PM -0700, Nicolin Chen wrote: > > Hello Guenter, > > > > Datasheet: http://www.ti.com/lit/ds/symlink/ina3221.pdf > > (At page 32, chapter 8.6.2.14 and 8.6.2.15) > > > > I have two regi

Re: ABI for these two registers?

2019-09-12 Thread Guenter Roeck
On Wed, Sep 11, 2019 at 05:28:14PM -0700, Nicolin Chen wrote: > Hello Guenter, > > Datasheet: http://www.ti.com/lit/ds/symlink/ina3221.pdf > (At page 32, chapter 8.6.2.14 and 8.6.2.15) > > I have two registers that I need to expose to user space: > Shunt-Voltage-Sum and Shunt-Voltage-Limit