Commit d5e93140 authored by Paul Cercueil's avatar Paul Cercueil Committed by Linus Walleij

pinctrl: ingenic: Fix incorrect pull up/down info

Fix the pull up/down info for both the JZ4760 and JZ4770 SoCs, as the
previous values sometimes contradicted what's written in the programming
manual.

Fixes: b5c23aa4 ("pinctrl: add a pinctrl driver for the Ingenic jz47xx SoCs")
Cc: <stable@vger.kernel.org> # v4.12
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Tested-by: 周琰杰 (Zhou Yanjie)<zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/20210717174836.14776-1-paul@crapouillou.netSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2a18211b
...@@ -744,7 +744,7 @@ static const struct ingenic_chip_info jz4755_chip_info = { ...@@ -744,7 +744,7 @@ static const struct ingenic_chip_info jz4755_chip_info = {
}; };
static const u32 jz4760_pull_ups[6] = { static const u32 jz4760_pull_ups[6] = {
0xffffffff, 0xfffcf3ff, 0xffffffff, 0xffffcfff, 0xfffffb7c, 0xfffff00f, 0xffffffff, 0xfffcf3ff, 0xffffffff, 0xffffcfff, 0xfffffb7c, 0x0000000f,
}; };
static const u32 jz4760_pull_downs[6] = { static const u32 jz4760_pull_downs[6] = {
...@@ -1092,11 +1092,11 @@ static const struct ingenic_chip_info jz4760_chip_info = { ...@@ -1092,11 +1092,11 @@ static const struct ingenic_chip_info jz4760_chip_info = {
}; };
static const u32 jz4770_pull_ups[6] = { static const u32 jz4770_pull_ups[6] = {
0x3fffffff, 0xfff0030c, 0xffffffff, 0xffff4fff, 0xfffffb7c, 0xffa7f00f, 0x3fffffff, 0xfff0f3fc, 0xffffffff, 0xffff4fff, 0xfffffb7c, 0x0024f00f,
}; };
static const u32 jz4770_pull_downs[6] = { static const u32 jz4770_pull_downs[6] = {
0x00000000, 0x000f0c03, 0x00000000, 0x0000b000, 0x00000483, 0x00580ff0, 0x00000000, 0x000f0c03, 0x00000000, 0x0000b000, 0x00000483, 0x005b0ff0,
}; };
static int jz4770_uart0_data_pins[] = { 0xa0, 0xa3, }; static int jz4770_uart0_data_pins[] = { 0xa0, 0xa3, };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment