[PATCH v4 6/6] irqchip/loongson-pch-lpc: Enable building on MIPS Loongson64

Icenowy Zheng posted 6 patches 1 week, 5 days ago
[PATCH v4 6/6] irqchip/loongson-pch-lpc: Enable building on MIPS Loongson64
Posted by Icenowy Zheng 1 week, 5 days ago
As the driver can now support OF-based platforms, it's now possible to
use it on MIPS Loongson64 machines.

Drop the requirement of LOONGARCH for this driver, to allow build on
both MIPS-based and LoongArch-based Loongson systems.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
 drivers/irqchip/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index f07b00d7fef90..f2eee2bd61dd0 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -761,7 +761,6 @@ config LOONGSON_PCH_MSI
 
 config LOONGSON_PCH_LPC
 	bool "Loongson PCH LPC Controller"
-	depends on LOONGARCH
 	depends on MACH_LOONGSON64 || LOONGARCH
 	default MACH_LOONGSON64
 	select IRQ_DOMAIN_HIERARCHY
-- 
2.52.0
Re: [PATCH v4 6/6] irqchip/loongson-pch-lpc: Enable building on MIPS Loongson64
Posted by Jiaxun Yang 1 week, 5 days ago

On Sat, 21 Mar 2026, at 9:20 AM, Icenowy Zheng wrote:
> As the driver can now support OF-based platforms, it's now possible to
> use it on MIPS Loongson64 machines.
>
> Drop the requirement of LOONGARCH for this driver, to allow build on
> both MIPS-based and LoongArch-based Loongson systems.
>
> Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>

Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

> ---
>  drivers/irqchip/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
> index f07b00d7fef90..f2eee2bd61dd0 100644
> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -761,7 +761,6 @@ config LOONGSON_PCH_MSI
> 
>  config LOONGSON_PCH_LPC
>  	bool "Loongson PCH LPC Controller"
> -	depends on LOONGARCH
>  	depends on MACH_LOONGSON64 || LOONGARCH
>  	default MACH_LOONGSON64
>  	select IRQ_DOMAIN_HIERARCHY
> -- 
> 2.52.0

-- 
- Jiaxun
[tip: irq/drivers] irqchip/loongson-pch-lpc: Enable building on MIPS Loongson64
Posted by tip-bot2 for Icenowy Zheng 1 week ago
The following commit has been merged into the irq/drivers branch of tip:

Commit-ID:     5d994fd7e2f2e11f134fce0abd900bd02b655f70
Gitweb:        https://git.kernel.org/tip/5d994fd7e2f2e11f134fce0abd900bd02b655f70
Author:        Icenowy Zheng <zhengxingda@iscas.ac.cn>
AuthorDate:    Sat, 21 Mar 2026 17:20:32 +08:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Thu, 26 Mar 2026 16:15:04 +01:00

irqchip/loongson-pch-lpc: Enable building on MIPS Loongson64

As the driver now supports OF-based platforms, it's now possible to use it
on MIPS Loongson64 machines.

Drop the requirement of LOONGARCH for this driver, to allow build on
both MIPS-based and LoongArch-based Loongson systems.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://patch.msgid.link/20260321092032.3502701-7-zhengxingda@iscas.ac.cn
---
 drivers/irqchip/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 2feecfb..e755a2a 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -764,7 +764,6 @@ config LOONGSON_PCH_MSI
 
 config LOONGSON_PCH_LPC
 	bool "Loongson PCH LPC Controller"
-	depends on LOONGARCH
 	depends on MACH_LOONGSON64 || LOONGARCH
 	default MACH_LOONGSON64
 	select IRQ_DOMAIN_HIERARCHY