Re: [PATCH] pinctrl: pinmux: add function selector to pinmux-functions

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

 



On Sat, Jan 23, 2021 at 9:44 PM Drew Fustini <drew@xxxxxxxxxxxxxxx> wrote:

> Add the function selector to the pinmux-functions debugfs output. This
> is an integer which is the index into the pinmux function tree.  It will
> make it easier to correlate function name to function selector without
> having to count the lines in the output.
>
> Example output of "pinmux-functions":
>
> function 0: pinmux-uart0-pins, groups = [ pinmux-uart0-pins ]
> function 1: pinmux-uart1-pins, groups = [ pinmux-uart1-pins ]
> function 2: pinmux-uart2-pins, groups = [ pinmux-uart2-pins ]
> function 3: pinmux-mmc0-pins, groups = [ pinmux-mmc0-pins ]
> function 3: pinmux-mmc1-pins, groups = [ pinmux-mmc1-pins ]
> function 5: pinmux-i2c0-pins, groups = [ pinmux-i2c0-pins ]
> function 6: pinmux-i2c1-pins, groups = [ pinmux-i2c1-pins ]
> function 7: pinmux-i2c2-pins, groups = [ pinmux-i2c2-pins ]
> function 8: pinmux-pwm0-pins, groups = [ pinmux-pwm0-pins ]
> function 9: pinmux-pwm1-pins, groups = [ pinmux-pwm1-pins ]
> function 10: pinmux-adc-pins, groups = [ pinmux-adc-pins ]
>
> Cc: Jason Kridner <jkridner@xxxxxxxxxxxxxxx>
> Cc: Robert Nelson <robertcnelson@xxxxxxxxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Tony Lindgren <tony@xxxxxxxxxxx>
> Cc: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> Signed-off-by: Drew Fustini <drew@xxxxxxxxxxxxxxx>

Good idea. Patch applied.

Yours,
Linus Walleij



[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