Re: [PATCH v2] gpio: add userspace ABI for GPIO line information

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

 



On Sun, Feb 21, 2016 at 2:13 PM, Markus Pargmann <mpa@xxxxxxxxxxxxxx> wrote:

> The gpio-hogging DT bindings still seem perfectly fine for me:
>
>         qe_pio_a: gpio-controller@1400 {
>                 compatible = "fsl,qe-pario-bank-a", "fsl,qe-pario-bank";
>                 reg = <0x1400 0x18>;
>                 gpio-controller;
>                 #gpio-cells = <2>;
>
>                 line_b {
>                         gpio-hog;
>                         gpios = <6 0>;
>                         output-low;
>                         line-name = "foo-bar-gpio";
>                 };
>         };
>
> This could be something like this without hogging:
>                 ...
>                 line_b {
>                         gpios = <6 0>;
>                         line-name = "foo-bar-gpio";
>                 };

I agree. Didn't you even make a patch for this that we didn't merge
because we didn't have a use case?

(I have a memory problem, admittedly, too much people and patches
flying around ...)

If you rebase the patch that make it possible to simply name lines
without hogging them, I'm certainly game for merging it.

Enclosing a lsgpio sample output gives extra points.

Yours,
Linus Walleij
--
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