diff options
author | Samuel Holland <samuel@sholland.org> | 2022-07-13 05:52:29 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-07-18 12:39:33 +0300 |
commit | fc153c8f283bf5925615195fc9d4056414d7b168 (patch) | |
tree | 58008e5d1342172d2c19b842b61ec060de7fde2a /drivers/pinctrl/sunxi/pinctrl-sunxi.h | |
parent | 329d32a9879a955c380bd70a0906a5140785b233 (diff) | |
download | linux-fc153c8f283bf5925615195fc9d4056414d7b168.tar.xz |
pinctrl: sunxi: Add I/O bias setting for H6 R-PIO
H6 requires I/O bias configuration on both of its PIO devices.
Previously it was only done for the main PIO.
The setting for Port L is at bit 0, so the bank calculation needs to
account for the pin base. Otherwise the wrong bit is used.
Fixes: cc62383fcebe ("pinctrl: sunxi: Support I/O bias voltage setting on H6")
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220713025233.27248-3-samuel@sholland.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/pinctrl-sunxi.h')
0 files changed, 0 insertions, 0 deletions