public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mingming Lee <mingming.lee@mediatek.com>
To: u-boot@lists.denx.de
Subject: [PATCH] pinctrl: mediatek: mt8512: fix the wrong start address of ranges
Date: Wed, 2 Sep 2020 09:26:02 +0800	[thread overview]
Message-ID: <1599009962.12868.2.camel@mhfsdcap03> (raw)
In-Reply-To: <1596792723-26783-1-git-send-email-chunfeng.yun@mediatek.com>

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>

      parent reply	other threads:[~2020-09-02  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07  9:32 [PATCH] pinctrl: mediatek: mt8512: fix the wrong start address of ranges Chunfeng Yun
2020-08-20 12:39 ` Tom Rini
2020-09-02  1:26 ` Mingming Lee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1599009962.12868.2.camel@mhfsdcap03 \
    --to=mingming.lee@mediatek.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox