public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* extending /sys/.../iio:deviceX/in_accelX_power_mode
@ 2016-03-01  8:59 Martin Kepplinger
  2016-03-01  9:38 ` Daniel Baluta
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Kepplinger @ 2016-03-01  8:59 UTC (permalink / raw)
  To: Jonathan Cameron, daniel.baluta, lars, mranostay, hamohammed.sa,
	darshanapadmadas, mfuzzey, octavian.purdila, irina.tirdea,
	cristina.opriceana, vladimir.barinov
  Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org

Would it be ok, if adding in_accelX_power_mode to a driver, to extend it
so that in_accel_power_mode_available offers:

low_noise low_power low_power_low_noise normal

if there's a default "normal" mode, plus options to increase or decrease
oversampling / power consumption for my device?

Specifically I'm unsure about "low_power_low_noise" being enough
user-friendly. The chip I work with just happens to offer these 4 modes.
Would you leave out "low_power_low_noise" and go with

low_noise low_power normal

or is it not even desired to add "normal" to the list?

Although strictly not necessary, I would add any new addition to the
Documentation as well.

thanks
                            martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-01 10:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01  8:59 extending /sys/.../iio:deviceX/in_accelX_power_mode Martin Kepplinger
2016-03-01  9:38 ` Daniel Baluta
2016-03-01  9:47   ` Martin Kepplinger
2016-03-01  9:53     ` Crt Mori
2016-03-01 10:07       ` Martin Kepplinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox