Re: [PATCH next 2/2] dt-bindings: gpio: add entry for hisilicon,gpio-ascend910

From: Krzysztof Kozlowski
Date: Thu Oct 27 2022 - 08:51:21 EST


On 27/10/2022 03:47, chenweilong wrote:
>> Convention for counting is to use decimal numbers.
>>
>>> + gpio-controller;
>>> + #gpio-cells = <2>;
>>> + interrupts = <0x0 33 0x4>;
>> This looks like standard IRQ flags, so use respective defines.
>
> Sorry, I don't get this, you mean like this? :
>
> interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;

Yes.

Best regards,
Krzysztof