[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e515e57d-697d-8d4b-3873-645aed53d394@st.com>
Date: Thu, 9 May 2019 07:40:15 +0000
From: Benjamin GAIGNARD <benjamin.gaignard@...com>
To: William Breathitt Gray <vilhelm.gray@...il.com>,
Benjamin Gaignard <benjamin.gaignard@...aro.org>
CC: Lars-Peter Clausen <lars@...afoo.de>,
Alexandre TORGUE <alexandre.torgue@...com>,
"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Hartmut Knaack <knaack.h@....de>,
Fabrice GASNIER <fabrice.gasnier@...com>,
"linux-stm32@...md-mailman.stormreply.com"
<linux-stm32@...md-mailman.stormreply.com>,
Jonathan Cameron <jic23@...nel.org>
Subject: Re: [PATCH] IIO: stm32: Remove quadrature related functions from
trigger driver
On 5/8/19 9:34 AM, William Breathitt Gray wrote:
> On Tue, May 07, 2019 at 02:37:07PM +0200, Benjamin Gaignard wrote:
>> Le mar. 7 mai 2019 à 12:19, William Breathitt Gray
>> <vilhelm.gray@...il.com> a écrit :
>>> On Tue, May 07, 2019 at 11:12:24AM +0200, Benjamin Gaignard wrote:
>>>> Quadrature feature is now hosted on it own framework.
>>>> Remove quadrature related code from stm32-trigger driver to avoid
>>>> code duplication and simplify the ABI.
>>>>
>>>> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@...com>
>>> Although this functionality is now provided by the Counter subsystem, we
>>> should keep the IIO Counter interface for this driver intact since
>>> existing user applications may depend on it; this is the same reason why
>>> the IIO Counter code in the 104-QUAD-8 device driver was not removed
>>> despite moving to the Counter subsystem.
>>>
>>> Once user applications have had enough time to migrate to the Generic
>>> Counter interface, we can consider removing the deprecated IIO Counter
>>> interface.
>> Hi William,
>>
>> This SoC is not yet in production so their is no legacy on the old interface
>> and I would like to avoid to create one.
>>
>> Benjamin
> Ah, I see what you mean, this driver is for future devices. Do the
> earlier STM32 H7 series devices have a quadrature feature as well, or is
> this functionality only available with the new devices?
It is available on STM32 H7 but I have never see any Linux product on
those SOC
and even less using quadratic encoder ;-)
Benjamin
>
> William Breathitt Gray
>
>>> William Breathitt Gray
>>>
>>> _______________________________________________
>>> linux-arm-kernel mailing list
>>> linux-arm-kernel@...ts.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Powered by blists - more mailing lists