Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Nicolin Chen
Hello Guenter, On Wed, Sep 26, 2018 at 12:45:34PM -0700, Guenter Roeck wrote: > Hi Nicolin, > > On Wed, Sep 26, 2018 at 11:20:06AM -0700, Nicolin Chen wrote: > > On Wed, Sep 26, 2018 at 05:34:53AM -0700, Guenter Roeck wrote: > > > Hi Nicolin, > > > > > > On 09/25/2018 11:42 PM, Nicolin Chen wrot

Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Guenter Roeck
Hi Nicolin, On Wed, Sep 26, 2018 at 11:20:06AM -0700, Nicolin Chen wrote: > On Wed, Sep 26, 2018 at 05:34:53AM -0700, Guenter Roeck wrote: > > Hi Nicolin, > > > > On 09/25/2018 11:42 PM, Nicolin Chen wrote: > > > The hwmon sysfs ABI supports powerX_input and powerX_crit. This > > > can ease user

Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Nicolin Chen
On Wed, Sep 26, 2018 at 05:34:53AM -0700, Guenter Roeck wrote: > Hi Nicolin, > > On 09/25/2018 11:42 PM, Nicolin Chen wrote: > > The hwmon sysfs ABI supports powerX_input and powerX_crit. This > > can ease user space programs who care more about power in total > > than voltage or current individua

Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Guenter Roeck
Hi Nicolin, On 09/25/2018 11:42 PM, Nicolin Chen wrote: The hwmon sysfs ABI supports powerX_input and powerX_crit. This can ease user space programs who care more about power in total than voltage or current individually. So this patch adds these two sysfs nodes for INA3221 driver. Ah, sorry

[PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-25 Thread Nicolin Chen
The hwmon sysfs ABI supports powerX_input and powerX_crit. This can ease user space programs who care more about power in total than voltage or current individually. So this patch adds these two sysfs nodes for INA3221 driver. Signed-off-by: Nicolin Chen --- Documentation/hwmon/ina3221 | 4 +