
On 17 April 2017 at 13:00, Maxim Sloyko maxims@google.com wrote:
This driver uses Generic Pinctrl framework and is compatible with the Linux driver for ast2500: it uses the same device tree configuration.
Not all pins are supported by the driver at the moment, so it actually compatible with ast2400. In general, however, there are differences that in the future would be easier to maintain separately.
Signed-off-by: Maxim Sloyko maxims@google.com
Changes in v1: None
arch/arm/include/asm/arch-aspeed/pinctrl.h | 52 ++++++++++ arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 19 ++++ drivers/pinctrl/Kconfig | 9 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/aspeed/Makefile | 1 + drivers/pinctrl/aspeed/pinctrl_ast2500.c | 127 +++++++++++++++++++++++++ 6 files changed, 209 insertions(+) create mode 100644 arch/arm/include/asm/arch-aspeed/pinctrl.h create mode 100644 drivers/pinctrl/aspeed/Makefile create mode 100644 drivers/pinctrl/aspeed/pinctrl_ast2500.c
Reviewed-by: Simon Glass sjg@chromium.org