]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: ingenic: Add lcd-8bit group for JZ4770
authorPaul Cercueil <paul@crapouillou.net>
Sun, 1 Nov 2020 09:01:04 +0000 (09:01 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Nov 2020 13:58:14 +0000 (14:58 +0100)
commit2d2ef234c64b4a5cca4ab87e106bee9c23ffbe82
tree0faf0d776c77394779dc516defa0e8e6ef88c4c4
parentd952fdcb472498b5b5901dbc72480ed6291d7ed7
pinctrl: ingenic: Add lcd-8bit group for JZ4770

Add the "lcd-8bit" group to the "lcd" function.

As "lcd-24bit" is a superset of "lcd-8bit", in theory the former could
be modified to only contain the pins not already included in "lcd-8bit",
just like how it's done for the JZ4740 and JZ4725B platforms. However,
we can't do that without breaking Device Tree ABI, so in that case we
have no choice but to have two groups containing the same pins.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/20201101090104.5088-3-paul@crapouillou.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ingenic.c