pinctrl: mediatek: mt8512: fix the wrong start address of ranges
Subsystems (3)
PATCH 1/1 pinctrl: mediatek: mt8512: fix the wrong start address of ranges
The start address of dout, pullen and pullsel ragnes are wrong, so fix up them.
Signed-off-by Chunfeng Yun <[email protected]>
--- drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/pinctrl/mediatek/pinctrl-mt8512.c +3 -3
@@ -31,15 +31,15 @@ static const struct mtk_pin_field_calc mt8512_pin_di_range[] = { };static const struct mtk_pin_field_calc mt8512_pin_do_range[] = { -PIN_FIELD (0 ,115 ,0x860 ,0x10 ,0 ,1 ), +PIN_FIELD (0 ,115 ,0x0A0 ,0x10 ,0 ,1 ), };static const struct mtk_pin_field_calc mt8512_pin_pullen_range[] = { -PIN_FIELD (0 ,115 ,0x900 ,0x10 ,0 ,1 ), +PIN_FIELD (0 ,115 ,0x860 ,0x10 ,0 ,1 ), };static const struct mtk_pin_field_calc mt8512_pin_pullsel_range[] = { -PIN_FIELD (0 ,115 ,0x0A0 ,0x10 ,0 ,1 ), +PIN_FIELD (0 ,115 ,0x900 ,0x10 ,0 ,1 ), };static const struct mtk_pin_field_calc mt8512_pin_ies_range[] = {
Signature · 1 line
1.9.1
PATCH 1/1 pinctrl: mediatek: mt8512: fix the wrong start address of ranges
Quoted 4 lines · Chunfeng Yun
The start address of dout, pullen and pullsel ragnes are wrong, so fix up them.
Signed-off-by Chunfeng Yun <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200820/840e4dcb/attachment.sig>
PATCH 1/1 pinctrl: mediatek: mt8512: fix the wrong start address of ranges
In reply to Chunfeng YunQuoted 21 lines · Chunfeng Yun
The start address of dout, pullen and pullsel ragnes are wrong, so fix up them.
Signed-off-by Chunfeng Yun <[email protected]>--- drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/pinctrl/mediatek/pinctrl-mt8512.c +1
-1@@ -31,15 +31,15 @@ static const struct mtk_pin_field_calc mt8512_pin_di_range[] = { };static const struct mtk_pin_field_calc mt8512_pin_do_range[] = { -PIN_FIELD (0 ,115 ,0x860 ,0x10 ,0 ,1 ), +PIN_FIELD (0 ,115 ,0x0A0 ,0x10 ,0 ,1 ), };static const struct mtk_pin_field_calc mt8512_pin_pullen_range[] = {
drivers/pinctrl/mediatek/pinctrl-mt8512.c static const struct mtk_pin_field_calc mt8512_pin_di_range[] = { · line 45
Quoted 10 lines
drivers/pinctrl/mediatek/pinctrl-mt8512.c +2
-2- PIN_FIELD(0, 115, 0x900, 0x10, 0, 1), + PIN_FIELD(0, 115, 0x860, 0x10, 0, 1), };static const struct mtk_pin_field_calc mt8512_pin_pullsel_range[] = { -PIN_FIELD (0 ,115 ,0x0A0 ,0x10 ,0 ,1 ), +PIN_FIELD (0 ,115 ,0x900 ,0x10 ,0 ,1 ), };static const struct mtk_pin_field_calc mt8512_pin_ies_range[] = {
Reviewed-by Mingming Lee <[email protected]>