[Linux-stm32] [RFC PATCH 2/7] iio:ABI docs: Avoid repitition of triggerX/sampling_frequency
Jonathan Cameron
jic23 at kernel.org
Sun Feb 21 16:06:49 UTC 2021
On Mon, 18 Jan 2021 10:02:07 +0100
Fabrice Gasnier <fabrice.gasnier at foss.st.com> wrote:
> On 1/17/21 4:38 PM, Jonathan Cameron wrote:
> > From: Jonathan Cameron <Jonathan.Cameron at huawei.com>
> >
> > The timer-stm32 provided a little more specific information than the main
> > docs about the value of 0 corresponding to stopping sampling. Given that
> > this makes sense in general, move that statement over to the main docs
> > and drop the version in sysfs-bus-iio-timer-stm32
> >
> > Fixes
> > $ scripts/get_abi.pl validate
> > /sys/bus/iio/devices/triggerX/sampling_frequency is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-timer-stm32:92 ./Documentation/ABI/testing/sysfs-bus-iio:45
> >
> > Cc: Fabrice Gasnier <fabrice.gasnier at st.com>
> > Reported-by: Mauro Carvalho Chehab <mchehab+huawei at kernel.org>
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
> > ---
> > Documentation/ABI/testing/sysfs-bus-iio | 2 ++
> > Documentation/ABI/testing/sysfs-bus-iio-timer-stm32 | 8 --------
> > 2 files changed, 2 insertions(+), 8 deletions(-)
>
> Hi Jonathan,
>
> Acked-by: Fabrice Gasnier <fabrice.gasnier at foss.st.com>
Applied. Thanks,
Jonathan
>
> Thanks,
>
> Fabrice
>
> >
> > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> > index d2dd9cc280f9..9b5ceb22363d 100644
> > --- a/Documentation/ABI/testing/sysfs-bus-iio
> > +++ b/Documentation/ABI/testing/sysfs-bus-iio
> > @@ -55,6 +55,8 @@ Description:
> > direct access interfaces, it may be found in any of the
> > relevant directories. If it affects all of the above
> > then it is to be found in the base device directory.
> > + Note a value 0 where supported, will correspond to sampling
> > + stopping.
> >
> > What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
> > What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
> > diff --git a/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32 b/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
> > index c4a4497c249a..05074c4a65e2 100644
> > --- a/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
> > +++ b/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
> > @@ -90,14 +90,6 @@ Description:
> > Reading returns the current master modes.
> > Writing set the master mode
> >
> > -What: /sys/bus/iio/devices/triggerX/sampling_frequency
> > -KernelVersion: 4.11
> > -Contact: benjamin.gaignard at st.com
> > -Description:
> > - Reading returns the current sampling frequency.
> > - Writing an value different of 0 set and start sampling.
> > - Writing 0 stop sampling.
> > -
> > What: /sys/bus/iio/devices/iio:deviceX/in_count0_preset
> > KernelVersion: 4.12
> > Contact: benjamin.gaignard at st.com
More information about the Linux-stm32
mailing list