[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <575147AE.30209@nvidia.com>
Date: Fri, 3 Jun 2016 14:32:38 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Rob Herring <robh@...nel.org>
CC: <jic23@...nel.org>, <corbet@....net>, <lars@...afoo.de>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-doc@...r.kernel.org>, <linux-iio@...r.kernel.org>
Subject: Re: [PATCH 1/3] iio: adc: ina3221: Add DT binding details
On Friday 03 June 2016 07:37 AM, Rob Herring wrote:
> On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote:
>> +
>> +enable-power-monitor: Boolean, Enable power monitoring of the device.
>> +
>> +enable-continuous-mode: Boolean. Device support oneshot and continuous
>> + mode for the channel data conversion. Presence
>> + of this property will enable the continuous
>> + mode from boot.
>> +
>> +enable-warning-alert: Boolean, Enable the alert signal when shunt
>> + current cross the warning threshold on any of
>> + the channel. Absence of this property will not
>> + enable the warning alert.
>> +
>> +enable-critical-alert: Boolean, Enable the alert signal when shunt
>> + current cross the critical threshold on any
>> + of the channel. Absence of this property will
>> + not enable the critical alert.
> Seems like these would be a user decision.
In some of platform, we want this to be from driver init itself. That's
why it is there.
But I will move this to sysfs if this is something user level policy.
Powered by blists - more mailing lists