Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3419958pxf; Mon, 29 Mar 2021 01:31:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTA0zrjMSUsxUmhrACghCUSxaufGl/0B779/xk6v5YbOo5QmxzkPyqEKsjc16GPbbTE2Ed X-Received: by 2002:a17:906:b2d6:: with SMTP id cf22mr27296385ejb.321.1617006692633; Mon, 29 Mar 2021 01:31:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006692; cv=none; d=google.com; s=arc-20160816; b=IK4gH01yBUrBP35OlUti7O5h487sgr1OptLwgdns3QdT/klGm7cCS+HgFno/ol3TD5 utN/Coy5UYKs2qjRmtlhnY8lG9npUI9A5yra6Q12hycRPi7yCu7+QYn5JnSEqHP82Urc fp4K47rYo4sB7nc4XwCDcKfleFvKnZThiqXkxfrg6/7JoDjdxPpsBdaWxoctsKCu/Gvg BfVR5Ax5CisLCVtM2NcgrI5R7GuSRotvdg8/NHhPfwnb7/sYlZnYqk86dbXX/Y6mD5sL 6nYv6X5MFvZpUy+sQqbn+90u+hOV3mBeOUAg8bGZTEX9atxcS3F95m0iu7meuQP6UYt7 zBDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=KwR6rVxHXLJl9OOK64Kr7jvuyEBQYjl7rrsptf4ITb0=; b=Y0cpGCIcpeeMqD4bBTHM2V5oDhBuCbHh6fPN8YXb2uATaTbKCMGKRbNwUdNeojR8Qm cUjQekeXL16/jHdD5jjo3lN0wb9Iny/wlAlsFBqdQwBIw8f8xbu+PR5zAU0kgPQjttvC oNNJ9z9RhEXuSOEwFdwBPDLTut8RdNZBf49rgEo2H95UoTyu0qFLk7tSSCw4q2yqn5F6 q2408kpyP9xZ3DtPQcodPpIWeJCfPQxSRsfESShZ7t8MAbbBVQLmxweQ6ALAtg72olvK rkD8eRLkyOP9ywJxEx087IwG0PQvNilyjLP8+/fKn0cf7D752Mt62isnfcYj6wFKlDNv q0wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aPJd4iDQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qt26si12490825ejb.216.2021.03.29.01.31.07; Mon, 29 Mar 2021 01:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aPJd4iDQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234016AbhC2IaT (ORCPT + 99 others); Mon, 29 Mar 2021 04:30:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:35994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233395AbhC2ITT (ORCPT ); Mon, 29 Mar 2021 04:19:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AD6B761878; Mon, 29 Mar 2021 08:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617005959; bh=06AdV+JkCI79bqE8VrXjJjhz6t24lXG9Wq7P9wAxE/M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aPJd4iDQAUhgJMHx0b/7QIWV+GVM0/m+iqVj7A3jkLJiwA+wt7JFFisR1tUynxuJT uiOe6gWgklWW713xAaS8L4mjYKG9/XSUog/NFM4RDjDs1xmswbY9gDZhZ2emw2zc1T dq6qDUvNNErr/cYmdrmeOyCWnM3OHZND0dfuUK3c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Cercueil , Marc Zyngier , Sasha Levin Subject: [PATCH 5.10 031/221] irqchip/ingenic: Add support for the JZ4760 Date: Mon, 29 Mar 2021 09:56:02 +0200 Message-Id: <20210329075630.210350350@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Cercueil [ Upstream commit 5fbecd2389f48e1415799c63130d0cdce1cf3f60 ] Add support for the interrupt controller found in the JZ4760 SoC, which works exactly like the one in the JZ4770. Signed-off-by: Paul Cercueil Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20210307172014.73481-2-paul@crapouillou.net Signed-off-by: Sasha Levin --- drivers/irqchip/irq-ingenic-tcu.c | 1 + drivers/irqchip/irq-ingenic.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/irqchip/irq-ingenic-tcu.c b/drivers/irqchip/irq-ingenic-tcu.c index 7a7222d4c19c..b938d1d04d96 100644 --- a/drivers/irqchip/irq-ingenic-tcu.c +++ b/drivers/irqchip/irq-ingenic-tcu.c @@ -179,5 +179,6 @@ static int __init ingenic_tcu_irq_init(struct device_node *np, } IRQCHIP_DECLARE(jz4740_tcu_irq, "ingenic,jz4740-tcu", ingenic_tcu_irq_init); IRQCHIP_DECLARE(jz4725b_tcu_irq, "ingenic,jz4725b-tcu", ingenic_tcu_irq_init); +IRQCHIP_DECLARE(jz4760_tcu_irq, "ingenic,jz4760-tcu", ingenic_tcu_irq_init); IRQCHIP_DECLARE(jz4770_tcu_irq, "ingenic,jz4770-tcu", ingenic_tcu_irq_init); IRQCHIP_DECLARE(x1000_tcu_irq, "ingenic,x1000-tcu", ingenic_tcu_irq_init); diff --git a/drivers/irqchip/irq-ingenic.c b/drivers/irqchip/irq-ingenic.c index b61a8901ef72..ea36bb00be80 100644 --- a/drivers/irqchip/irq-ingenic.c +++ b/drivers/irqchip/irq-ingenic.c @@ -155,6 +155,7 @@ static int __init intc_2chip_of_init(struct device_node *node, { return ingenic_intc_of_init(node, 2); } +IRQCHIP_DECLARE(jz4760_intc, "ingenic,jz4760-intc", intc_2chip_of_init); IRQCHIP_DECLARE(jz4770_intc, "ingenic,jz4770-intc", intc_2chip_of_init); IRQCHIP_DECLARE(jz4775_intc, "ingenic,jz4775-intc", intc_2chip_of_init); IRQCHIP_DECLARE(jz4780_intc, "ingenic,jz4780-intc", intc_2chip_of_init); -- 2.30.1