[v1] gpio: loongson: enable irqdomain hierarchy config

Message ID 20221203105825.15886-1-zhuyinbo@loongson.cn
State New
Headers
Series [v1] gpio: loongson: enable irqdomain hierarchy config |

Commit Message

Yinbo Zhu Dec. 3, 2022, 10:58 a.m. UTC
  The loongson gpio driver need select IRQ_DOMAIN_HIERARCHY and add
such support.

Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Yinbo Zhu Dec. 3, 2022, 11:04 a.m. UTC | #1
在 2022/12/3 18:58, Yinbo Zhu 写道:
> The loongson gpio driver need select IRQ_DOMAIN_HIERARCHY and add
> such support.
>
> Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
> ---
>   drivers/gpio/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 55b7c5bae4aa..0f014411703e 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -395,6 +395,7 @@ config GPIO_LOONGSON_64BIT
>   	depends on LOONGARCH || COMPILE_TEST
>   	select GPIO_GENERIC
>   	select GPIOLIB_IRQCHIP
> +	select IRQ_DOMAIN_HIERARCHY
>   	help
>   	  Say yes here to support the GPIO functionality of a number of
>   	  Loongson series of chips. The Loongson GPIO controller supports

Hi Bartosz,


please help merge this patch on top of the existing series.


Thanks,

Yinbo
  
Bartosz Golaszewski Dec. 3, 2022, 3:01 p.m. UTC | #2
On Sat, Dec 3, 2022 at 12:05 PM Yinbo Zhu <zhuyinbo@loongson.cn> wrote:
>
>
> 在 2022/12/3 18:58, Yinbo Zhu 写道:
> > The loongson gpio driver need select IRQ_DOMAIN_HIERARCHY and add
> > such support.
> >
> > Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
> > ---
> >   drivers/gpio/Kconfig | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> > index 55b7c5bae4aa..0f014411703e 100644
> > --- a/drivers/gpio/Kconfig
> > +++ b/drivers/gpio/Kconfig
> > @@ -395,6 +395,7 @@ config GPIO_LOONGSON_64BIT
> >       depends on LOONGARCH || COMPILE_TEST
> >       select GPIO_GENERIC
> >       select GPIOLIB_IRQCHIP
> > +     select IRQ_DOMAIN_HIERARCHY
> >       help
> >         Say yes here to support the GPIO functionality of a number of
> >         Loongson series of chips. The Loongson GPIO controller supports
>
> Hi Bartosz,
>
>
> please help merge this patch on top of the existing series.
>

I applied this, but please don't ping me an hour after you submit a
patch on a Saturday.

Bart
  
Yinbo Zhu Dec. 5, 2022, 12:57 a.m. UTC | #3
在 2022/12/3 23:01, Bartosz Golaszewski 写道:
> On Sat, Dec 3, 2022 at 12:05 PM Yinbo Zhu <zhuyinbo@loongson.cn> wrote:
>>
>> 在 2022/12/3 18:58, Yinbo Zhu 写道:
>>> The loongson gpio driver need select IRQ_DOMAIN_HIERARCHY and add
>>> such support.
>>>
>>> Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
>>> ---
>>>    drivers/gpio/Kconfig | 1 +
>>>    1 file changed, 1 insertion(+)
>>>
>>> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
>>> index 55b7c5bae4aa..0f014411703e 100644
>>> --- a/drivers/gpio/Kconfig
>>> +++ b/drivers/gpio/Kconfig
>>> @@ -395,6 +395,7 @@ config GPIO_LOONGSON_64BIT
>>>        depends on LOONGARCH || COMPILE_TEST
>>>        select GPIO_GENERIC
>>>        select GPIOLIB_IRQCHIP
>>> +     select IRQ_DOMAIN_HIERARCHY
>>>        help
>>>          Say yes here to support the GPIO functionality of a number of
>>>          Loongson series of chips. The Loongson GPIO controller supports
>> Hi Bartosz,
>>
>>
>> please help merge this patch on top of the existing series.
>>
> I applied this, but please don't ping me an hour after you submit a
> patch on a Saturday.
>
> Bart

okay, I'll pay attention later.


Thanks,

Yinbo.
  

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 55b7c5bae4aa..0f014411703e 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -395,6 +395,7 @@  config GPIO_LOONGSON_64BIT
 	depends on LOONGARCH || COMPILE_TEST
 	select GPIO_GENERIC
 	select GPIOLIB_IRQCHIP
+	select IRQ_DOMAIN_HIERARCHY
 	help
 	  Say yes here to support the GPIO functionality of a number of
 	  Loongson series of chips. The Loongson GPIO controller supports