Skip to content

Commit d5e9314

Browse files
pcercueilinusw
authored andcommitted
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: b5c23aa ("pinctrl: add a pinctrl driver for the Ingenic jz47xx SoCs") Cc: <[email protected]> # v4.12 Signed-off-by: Paul Cercueil <[email protected]> Tested-by: 周琰杰 (Zhou Yanjie)<[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 2a18211 commit d5e9314

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/pinctrl/pinctrl-ingenic.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ static const struct ingenic_chip_info jz4755_chip_info = {
744744
};
745745

746746
static const u32 jz4760_pull_ups[6] = {
747-
0xffffffff, 0xfffcf3ff, 0xffffffff, 0xffffcfff, 0xfffffb7c, 0xfffff00f,
747+
0xffffffff, 0xfffcf3ff, 0xffffffff, 0xffffcfff, 0xfffffb7c, 0x0000000f,
748748
};
749749

750750
static const u32 jz4760_pull_downs[6] = {
@@ -1092,11 +1092,11 @@ static const struct ingenic_chip_info jz4760_chip_info = {
10921092
};
10931093

10941094
static const u32 jz4770_pull_ups[6] = {
1095-
0x3fffffff, 0xfff0030c, 0xffffffff, 0xffff4fff, 0xfffffb7c, 0xffa7f00f,
1095+
0x3fffffff, 0xfff0f3fc, 0xffffffff, 0xffff4fff, 0xfffffb7c, 0x0024f00f,
10961096
};
10971097

10981098
static const u32 jz4770_pull_downs[6] = {
1099-
0x00000000, 0x000f0c03, 0x00000000, 0x0000b000, 0x00000483, 0x00580ff0,
1099+
0x00000000, 0x000f0c03, 0x00000000, 0x0000b000, 0x00000483, 0x005b0ff0,
11001100
};
11011101

11021102
static int jz4770_uart0_data_pins[] = { 0xa0, 0xa3, };

0 commit comments

Comments
 (0)