[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ca34b30a-c989-d6df-8d6a-93ea1746e920@metux.net>
Date: Mon, 25 Mar 2019 10:36:26 +0100
From: "Enrico Weigelt, metux IT consult" <lkml@...ux.net>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Mika Westerberg <mika.westerberg@...ux.intel.com>,
zhuchangchun <zhuchangchun@...e.com>, linus.walleij@...aro.org,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
hendychu@...yun.com
Subject: Re: [PATCH] pinctrl: intel: Implements gpio free function
On 22.03.19 20:06, Andy Shevchenko wrote:
> On Fri, Mar 22, 2019 at 07:32:28PM +0100, Enrico Weigelt, metux IT consult wrote:
>> On 21.03.19 10:23, Andy Shevchenko wrote:
>>
>>> ...and on top of that GPIO sysfs interface is deprecated.
>>
>> I don't like the idea of deprecating this. It might not be enough for
>> all usecases, but for a lot of usecases, it's a very easy and simple
>> interfaces.
>
> So, you probably late for more than year. Linus W. and others discussed that
> a lot and the points of the choice are listed in documentation IIRC.
If "deprecated" means there just won't be any new features, but
everything remains as it is, I can live w/ that. But But having to
rewrite lots of applications in the field for the new interface would
be really bad.
Note that the dev interface is *much* more complex than the sysfs one.
For example, it needs ioctl()s, so this can't be done just w/ a few
lines of shellscript anymore. (which is very common in many embedded
devices)
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@...ux.net -- +49-151-27565287
Powered by blists - more mailing lists