Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: artpec6: dt: add smaller groups for uarts

Add group configuration for uarts that are cut down
variants, the standard being full, i.e. all signals,
flow control, i.e. rx/tx and cts/rts, and rx/tx only.

This allows us to be more precise in which pins we're
actually using.

Unfortunately the existing naming scheme leaves things
to be desired, e.g. uart3grp0 means RX/TX and CTS/RTS,
yet uart0grp0 means all pins.
Since the exising suffixes have different meaning for
different uarts, and the fact that we cannot change
the name of existing groups, makes it hard to use a
descriptive name for the newly added groups.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Niklas Cassel and committed by
Linus Walleij
928af224 7e065fb9

+8 -7
+8 -7
Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
··· 19 19 Available functions and groups (function: group0, group1...): 20 20 gpio: cpuclkoutgrp0, udlclkoutgrp0, i2c1grp0, i2c2grp0, 21 21 i2c3grp0, i2s0grp0, i2s1grp0, i2srefclkgrp0, spi0grp0, 22 - spi1grp0, pciedebuggrp0, uart0grp0, uart0grp1, uart1grp0, 23 - uart2grp0, uart2grp1, uart3grp0, uart4grp0, uart5grp0, 22 + spi1grp0, pciedebuggrp0, uart0grp0, uart0grp1, uart0grp2, 23 + uart1grp0, uart1grp1, uart2grp0, uart2grp1, uart2grp2, 24 + uart3grp0, uart4grp0, uart4grp1, uart5grp0, uart5grp1, 24 25 uart5nocts 25 26 cpuclkout: cpuclkoutgrp0 26 27 udlclkout: udlclkoutgrp0 ··· 34 33 spi0: spi0grp0 35 34 spi1: spi1grp0 36 35 pciedebug: pciedebuggrp0 37 - uart0: uart0grp0, uart0grp1 38 - uart1: uart1grp0 39 - uart2: uart2grp0, uart2grp1 36 + uart0: uart0grp0, uart0grp1, uart0grp2 37 + uart1: uart1grp0, uart1grp1 38 + uart2: uart2grp0, uart2grp1, uart2grp2 40 39 uart3: uart3grp0 41 - uart4: uart4grp0 42 - uart5: uart5grp0, uart5nocts 40 + uart4: uart4grp0, uart4grp1 41 + uart5: uart5grp0, uart5grp1, uart5nocts 43 42 nand: nandgrp0 44 43 sdio0: sdio0grp0 45 44 sdio1: sdio1grp0