Re: [PATCH] gpio: keep the GPIO line names internal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 06, 2015 at 11:13:16AM +0200, Markus Pargmann wrote:
> On Mon, Oct 05, 2015 at 01:07:09PM +0200, Linus Walleij wrote:
> > On Mon, Oct 5, 2015 at 12:01 PM, Johan Hovold <johan@xxxxxxxxxx> wrote:
> > 
> > >> I think it is ABI-correct: it uses desc->name if that is set, and
> > >> currently that is only set from chip->names[] so status quo.
> > >
> > > Yes, but this work was aiming at generalising the hogs so that they
> > > could later be requested (and exported), right?
> > 
> > Yeah something like so... thinking about it we should indeed
> > takes the names directly from chip->names[] for this, so we
> > can use the name field in the gpio descriptor for the "real"
> > chardev interface later.
> 
> So what is this "real" chardev interface all about? What are the
> requirements and features for such an interface? How is it supposed to
> work? Was this already discussed somewhere?

It has been discussed in various threads, often when someone proposes to
tweak the current sysfs interface to cater to their specific needs.

Several people have expressed ideas, but no more formal proposal for a
new userspace interface has been put forward yet. Since this will also
become ABI we need to get it right (this time).

> Any chance that you both are at the ELCE?

I'm here, but not Linus. I'll see if I can spot you.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux