2020-11-06 17:52:42

by Fabrice Gasnier

[permalink] [raw]
Subject: [PATCH] docs: ABI: testing: iio: stm32: remove re-introduced unsupported ABI

Remove unsupported ABI that has been re-introduced due to a rebase hunk.
This ABI has been moved in the past in commit b299d00420e2
("IIO: stm32: Remove quadrature related functions from trigger driver")

This also fixes a couple of warnings seen with:
./scripts/get_abi.pl validate 2>&1|grep iio

Fixes: 34433332841d ("docs: ABI: testing: make the files compatible with ReST output")

Signed-off-by: Fabrice Gasnier <[email protected]>
---
.../ABI/testing/sysfs-bus-iio-timer-stm32 | 24 ----------------------
1 file changed, 24 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32 b/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
index a10a4de..c4a4497 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
+++ b/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
@@ -109,30 +109,6 @@ Description:
When counting down the counter start from preset value
and fire event when reach 0.

-What: /sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available
-KernelVersion: 4.12
-Contact: [email protected]
-Description:
- Reading returns the list possible quadrature modes.
-
-What: /sys/bus/iio/devices/iio:deviceX/in_count0_quadrature_mode
-KernelVersion: 4.12
-Contact: [email protected]
-Description:
- Configure the device counter quadrature modes:
-
- channel_A:
- Encoder A input servers as the count input and B as
- the UP/DOWN direction control input.
-
- channel_B:
- Encoder B input serves as the count input and A as
- the UP/DOWN direction control input.
-
- quadrature:
- Encoder A and B inputs are mixed to get direction
- and count with a scale of 0.25.
-
What: /sys/bus/iio/devices/iio:deviceX/in_count_enable_mode_available
KernelVersion: 4.12
Contact: [email protected]
--
2.7.4


2020-11-08 15:12:27

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] docs: ABI: testing: iio: stm32: remove re-introduced unsupported ABI

On Fri, 6 Nov 2020 18:50:16 +0100
Fabrice Gasnier <[email protected]> wrote:

> Remove unsupported ABI that has been re-introduced due to a rebase hunk.
> This ABI has been moved in the past in commit b299d00420e2
> ("IIO: stm32: Remove quadrature related functions from trigger driver")
>
> This also fixes a couple of warnings seen with:
> ./scripts/get_abi.pl validate 2>&1|grep iio
>
> Fixes: 34433332841d ("docs: ABI: testing: make the files compatible with ReST output")
>
> Signed-off-by: Fabrice Gasnier <[email protected]>
Hi Fabrice,

I guess this got accidentally applied given I thought we'd flagged up those
chunks in the patch as needing fixing.

Acked-by: Jonathan Cameron <[email protected]>

> ---
> .../ABI/testing/sysfs-bus-iio-timer-stm32 | 24 ----------------------
> 1 file changed, 24 deletions(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32 b/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
> index a10a4de..c4a4497 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
> @@ -109,30 +109,6 @@ Description:
> When counting down the counter start from preset value
> and fire event when reach 0.
>
> -What: /sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available
> -KernelVersion: 4.12
> -Contact: [email protected]
> -Description:
> - Reading returns the list possible quadrature modes.
> -
> -What: /sys/bus/iio/devices/iio:deviceX/in_count0_quadrature_mode
> -KernelVersion: 4.12
> -Contact: [email protected]
> -Description:
> - Configure the device counter quadrature modes:
> -
> - channel_A:
> - Encoder A input servers as the count input and B as
> - the UP/DOWN direction control input.
> -
> - channel_B:
> - Encoder B input serves as the count input and A as
> - the UP/DOWN direction control input.
> -
> - quadrature:
> - Encoder A and B inputs are mixed to get direction
> - and count with a scale of 0.25.
> -
> What: /sys/bus/iio/devices/iio:deviceX/in_count_enable_mode_available
> KernelVersion: 4.12
> Contact: [email protected]