Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
From: Linus Walleij
Date: Thu Feb 22 2018 - 09:38:15 EST
On Wed, Feb 14, 2018 at 3:51 AM, Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:
> On 13 February 2018 at 17:20, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>> On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:
>>
>>> This patch adds the device tree bindings for the Spreadtrum
>>> GPIO controller. The gpios will be supported by the GPIO
>>> generic library.
>>>
>>> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
>>
>> I took this patch out again for now, as it turns out
>> that not all of the variants are really GPIO controllers,
>> but rather irqchips.
>>
>> If they can't read nor write any GPIO lines, they should
>> not have the property gpio-controller at all. Then they are
>> just irqchips.
>
> I did not get you here. All GPIOs can be read or write for this GPIO controller.
Sorry I confused one of the drivers for the other.
I'm so clumsy sometimes :(
Yours,
Linus Walleij