From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754424Ab3H1PKw (ORCPT ); Wed, 28 Aug 2013 11:10:52 -0400 Received: from ppsw-33.csi.cam.ac.uk ([131.111.8.133]:41674 "EHLO ppsw-33.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753982Ab3H1PKu (ORCPT ); Wed, 28 Aug 2013 11:10:50 -0400 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Message-ID: <521E12FF.4030709@kernel.org> Date: Wed, 28 Aug 2013 16:10:55 +0100 From: Jonathan Cameron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Srinivas Pandruvada CC: Oleksandr Kravchenko , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, rob.herring@calxeda.com, pawel.moll@arm.com, mark.rutland@arm.com, swarren@wwwdotorg.org, ian.campbell@citrix.com, rob@landley.net, jic23@cam.ac.uk, denis.ciocca@st.com, lars@metafoo.de Subject: Re: [PATCH v5 1/2] staging: iio: Documentation sysfs-bus-iio add power_mode References: <1377687678-5761-1-git-send-email-o.v.kravchenko@globallogic.com> <521E1255.2090201@linux.intel.com> In-Reply-To: <521E1255.2090201@linux.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/08/13 16:08, Srinivas Pandruvada wrote: > On 08/28/2013 04:01 AM, Oleksandr Kravchenko wrote: >> Add description about in_accelX_power_mode and >> in_accel_power_mode_available. >> >> Signed-off-by: Oleksandr Kravchenko >> --- >> Documentation/ABI/testing/sysfs-bus-iio | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/Documentation/ABI/testing/sysfs-bus-iio >> b/Documentation/ABI/testing/sysfs-bus-iio >> index dda81ff..1a333f3 100644 >> --- a/Documentation/ABI/testing/sysfs-bus-iio >> +++ b/Documentation/ABI/testing/sysfs-bus-iio >> @@ -792,3 +792,13 @@ Contact: linux-iio@vger.kernel.org >> Description: >> This attribute is used to read the amount of quadrature error >> present in the device at a given time. >> + >> +What: /sys/.../iio:deviceX/in_accelX_power_mode > Shall we add power_mode to all sensors not just accelerometer? HID > sensor hub spec allows every sensor in it to go low power mode. > This is not same as OFF. Feel free to add the relevant lines in the patch that adds the attribute. We should not add stuff here that is not used. >> +KernelVersion: 3.11 >> +Contact: linux-iio@vger.kernel.org >> +Description: >> + Specifies the chip power mode. >> + low_noise: reduce noise level from ADC, >> + low_power: enable low current consumption. >> + For a list of available output power modes read >> + in_accel_power_mode_available. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html