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.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html