[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9107c441-73b7-fd7c-9c25-e8a31afbe563@microchip.com>
Date: Thu, 14 Jul 2022 06:19:32 +0000
From: <Conor.Dooley@...rochip.com>
To: <Lewis.Hanly@...rochip.com>
CC: <linux-riscv@...ts.infradead.org>, <brgl@...ev.pl>,
<andy.shevchenko@...il.com>, <linux-gpio@...r.kernel.org>,
<linus.walleij@...aro.org>, <palmer@...belt.com>, <maz@...nel.org>,
<linux-kernel@...r.kernel.org>, <Daire.McNamara@...rochip.com>
Subject: Re: [PATCH v2 1/1] gpio: mpfs: add polarfire soc gpio support
On 13/07/2022 23:14, Andy Shevchenko wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On Wed, Jul 13, 2022 at 10:44 PM <Lewis.Hanly@...rochip.com> wrote:
>> On Wed, 2022-07-13 at 13:59 +0200, Andy Shevchenko wrote:
>>> On Wed, Jul 13, 2022 at 1:00 PM <lewis.hanly@...rochip.com> wrote:
>>>> + if (gpio_cfg & MPFS_GPIO_EN_IN)
>>>> + return 1;
>>>> +
>>>> + return 0;
>>>
>>> Don't we have specific definitions for the directions?
>> No defines in file.
>
> We have. Please, check again.
I said what they were on another reply Lewis:
https://elixir.bootlin.com/linux/latest/source/include/linux/gpio/driver.h#L25
Powered by blists - more mailing lists