Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755558AbbHFMAc (ORCPT ); Thu, 6 Aug 2015 08:00:32 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:36282 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754578AbbHFMA2 (ORCPT ); Thu, 6 Aug 2015 08:00:28 -0400 MIME-Version: 1.0 In-Reply-To: <7d408fb8def6478565e30d01edcfc98d9cf42b48.1438859058.git.cristina.opriceana@gmail.com> References: <7d408fb8def6478565e30d01edcfc98d9cf42b48.1438859058.git.cristina.opriceana@gmail.com> Date: Thu, 6 Aug 2015 15:00:25 +0300 X-Google-Sender-Auth: ER9GXn_4tg7wOM3c_TNdjgepCDE Message-ID: Subject: Re: [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation From: Daniel Baluta To: Cristina Opriceana Cc: Jonathan Cameron , Daniel Baluta , linux-api@vger.kernel.org, Linux Kernel Mailing List , "linux-iio@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1934 Lines: 46 On Thu, Aug 6, 2015 at 2:17 PM, Cristina Opriceana wrote: > This patch adds an entry in ABI Documentation for the name attribute > issued when a trigger is created. > > Signed-off-by: Cristina Opriceana Acked-by: Daniel Baluta > --- > Changes in v2: > - deviceX to deviceY, to avoid confusion > - clearer description > > Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs > index 5235e6c..0c1e843 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs > +++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs > @@ -9,3 +9,12 @@ Description: > automated testing or in situations, where other trigger methods > are not applicable. For example no RTC or spare GPIOs. > X is the IIO index of the trigger. > + > +What: /sys/bus/iio/devices/triggerX/name > +KernelVersion: 2.6.39 > +Contact: linux-iio@vger.kernel.org > +Description: > + The name attribute holds a description string for the current > + trigger. In order to associate the trigger with an IIO device > + one should write this name string to > + /sys/bus/iio/devices/iio:deviceY/trigger/current_trigger. > -- > 1.9.1 > > -- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/