diff mbox series

pinctrl: mediatek: mt8512: fix the wrong start address of ranges

Message ID 1596792723-26783-1-git-send-email-chunfeng.yun@mediatek.com
State Accepted
Commit 324220da63f7cd0710c519fc6a6c8a63fe7359db
Delegated to: Tom Rini
Headers show
Series pinctrl: mediatek: mt8512: fix the wrong start address of ranges | expand

Commit Message

Chunfeng Yun (云春峰) Aug. 7, 2020, 9:32 a.m. UTC
The start address of dout, pullen and pullsel ragnes are wrong,
so fix up them.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
 drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Tom Rini Aug. 20, 2020, 12:39 p.m. UTC | #1
On Fri, Aug 07, 2020 at 05:32:03PM +0800, Chunfeng Yun wrote:

> The start address of dout, pullen and pullsel ragnes are wrong,
> so fix up them.
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

Applied to u-boot/master, thanks!
mingming lee Sept. 2, 2020, 1:26 a.m. UTC | #2
On Fri, 2020-08-07 at 17:32 +0800, Chunfeng Yun wrote:
> The start address of dout, pullen and pullsel ragnes are wrong,
> so fix up them.
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> ---
>  drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8512.c b/drivers/pinctrl/mediatek/pinctrl-mt8512.c
> index af43754..bf2a8dd9 100644
> --- a/drivers/pinctrl/mediatek/pinctrl-mt8512.c
> +++ b/drivers/pinctrl/mediatek/pinctrl-mt8512.c
> @@ -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[] = {

Reviewed-by: Mingming Lee <mingming.lee@mediatek.com>
diff mbox series

Patch

diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8512.c b/drivers/pinctrl/mediatek/pinctrl-mt8512.c
index af43754..bf2a8dd9 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt8512.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt8512.c
@@ -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[] = {