From: Tao Ren <rentao.bupt@gmail.com>
To: Billy Tsai <billy_tsai@aspeedtech.com>
Cc: linus.walleij@linaro.org, bgolaszewski@baylibre.com,
joel@jms.id.au, andrew@aj.id.au, linux-gpio@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, BMC-SW@aspeedtech.com
Subject: Re: [PATCH] gpio: aspeed: fix ast2600 bank properties
Date: Sun, 18 Oct 2020 22:33:25 -0700 [thread overview]
Message-ID: <20201019053324.GA4300@taoren-ubuntu-R90MNF91> (raw)
In-Reply-To: <20201019045026.10732-1-billy_tsai@aspeedtech.com>
Hi Billy,
On Mon, Oct 19, 2020 at 12:50:26PM +0800, Billy Tsai wrote:
> GPIO_T is mapped to the most significant byte of input/output mask, and
> the byte in "output" mask should be 0 because GPIO_T is input only. All
> the other bits need to be 1 because GPIO_Q/R/S support both input and
> output modes.
>
> Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
You may want to add "Fixes" tag if you take it as a bug fix? For
example:
Fixes: ab4a85534c3e ("gpio: aspeed: Add in ast2600 details to Aspeed driver")
> ---
> drivers/gpio/gpio-aspeed.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c
> index d07bf2c3f136..f24754b3f6d1 100644
> --- a/drivers/gpio/gpio-aspeed.c
> +++ b/drivers/gpio/gpio-aspeed.c
> @@ -1114,6 +1114,7 @@ static const struct aspeed_gpio_config ast2500_config =
>
> static const struct aspeed_bank_props ast2600_bank_props[] = {
> /* input output */
> + {4, 0xffffffff, 0x00ffffff}, /* Q/R/S/T */
Reviewed-by: Tao Ren <rentao.bupt@gmail.com>
> {5, 0xffffffff, 0xffffff00}, /* U/V/W/X */
> {6, 0x0000ffff, 0x0000ffff}, /* Y/Z */
> { },
> --
> 2.17.1
>
Cheers,
Tao
next prev parent reply other threads:[~2020-10-19 5:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 4:50 [PATCH] gpio: aspeed: fix ast2600 bank properties Billy Tsai
2020-10-19 5:33 ` Tao Ren [this message]
2020-10-19 7:29 ` Joel Stanley
2020-10-21 23:38 ` Andrew Jeffery
2020-10-26 14:53 ` Bartosz Golaszewski
-- strict thread matches above, loose matches on Subject: below --
2020-09-16 20:42 rentao.bupt
2020-09-16 23:12 ` Andrew Jeffery
2020-09-18 4:18 ` Tao Ren
2020-09-24 13:37 ` Bartosz Golaszewski
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=20201019053324.GA4300@taoren-ubuntu-R90MNF91 \
--to=rentao.bupt@gmail.com \
--cc=BMC-SW@aspeedtech.com \
--cc=andrew@aj.id.au \
--cc=bgolaszewski@baylibre.com \
--cc=billy_tsai@aspeedtech.com \
--cc=joel@jms.id.au \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-gpio@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).