]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: aspeed-g6: Add AST2600 pinconf support
authorJohnny Huang <johnny_huang@aspeedtech.com>
Mon, 2 Dec 2019 06:14:32 +0000 (16:44 +1030)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Dec 2019 08:41:01 +0000 (09:41 +0100)
commit15711ba6ff197c3152c655dd9c55f5c1694e8272
treefe4edbd9e7f0ca140da78fe3260bd1c3f542b46e
parent5f52c853847ffdc9654e5b685e1a1ae5bee83e65
pinctrl: aspeed-g6: Add AST2600 pinconf support

The AST2600 pinconf is a little different from previous generations of
ASPEED BMC SoCs in terms of architecture. The pull-down setting is
per-pin setting now, and drive-strength support 4 kind of value (e.g.
4ma, 8ma, 12ma, 16ma).

Signed-off-by: Johnny Huang <johnny_huang@aspeedtech.com>
[AJ: Trim unused pinctrl register macros]
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20191202061432.3996-8-andrew@aj.id.au
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c
drivers/pinctrl/aspeed/pinctrl-aspeed.h