Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1071928rwb; Fri, 28 Jul 2023 04:28:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlHilHYitMeQWacDUCtKI2Rc6c9IwBq/Q3YqODF2102URHVKgSXbPd35CPmElDm9OpipIx1j X-Received: by 2002:a17:903:1cb:b0:1b8:9044:9ede with SMTP id e11-20020a17090301cb00b001b890449edemr1095035plh.62.1690543714514; Fri, 28 Jul 2023 04:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690543714; cv=none; d=google.com; s=arc-20160816; b=Wn18WUiGd2D+Ov7DFCiTB9QbzhNzQQVPN01vt208JgQVUCP+YQeZX+kVmr4IlspI3p OMDLfLASBjo7sbxLH4DTJTM8oRjtJyrS6LMMG8l067s1riG0hRs0ad9mf+SRKIcMhNb/ sGmKsUa9WfnsAWz/WFCsr0BpP3mW0izmIMwZaSWsz76y5lQYu6yJk3+AzXBxRZn+ncGW JQ3MwybVdnqkur4dehUZV+DYumBeRs6cgJ7Qxjnv7JSnEnJHoUt/jIcqyIrJX3AErJkH V/T+1Xwnty3RFAIxfTIBfDvC1bzPVYJ+qDmU84cBFCVJItIb5z7CQ84rLaXiJrhhsnhs x6zQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5G33tiPoDWd46Q/MAKWsuoe8Lsa46ZNxTp2fJtjrlyY=; fh=DvA4GomEgAxSlUu/Wj9A1dvSW1Ck24E8xMGPBSj1+eI=; b=lE9/MhKvi1gcSZhT06AxUONxdQoIbJcA9lAeLFFkJw5/UUsqLCl5r4I0LYCWBBZZX0 LBy7COYc9c6O+Hv0/vgu+4VwBJNtRjjRL5NHc2MFqNLmdFvwfkauvXnTdSstNUXQO0P6 C/QZr9YsKvzTnSOZdIKKG8uOjaTvdhyB8ooJTWmjaa1Utv1Ul5javNLK6oBh3jkyiqmy hCctZwDhtMUsAubfZzf0/0kZOcuzJsvDpoYSXY+Y2oRU0plSZNFNcDHNblw/gBXH+Qln Y3bXOQceuCbUI40/22DFSWkjEbq3uOxTD6nGLRthUFa2xhUPp25xXdsxanAnVhc7jtrh 86pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=IGiU3Byw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a170902d4c500b001b9e1d5f8e6si3038646plg.447.2023.07.28.04.28.21; Fri, 28 Jul 2023 04:28:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=IGiU3Byw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234769AbjG1KfA (ORCPT + 99 others); Fri, 28 Jul 2023 06:35:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236241AbjG1Kdj (ORCPT ); Fri, 28 Jul 2023 06:33:39 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30A4A59DA for ; Fri, 28 Jul 2023 03:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540303; x=1722076303; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xbMFJDkuvSAVzLORTJHW0ZL04qI1N0hFjbaAsJ5qgb0=; b=IGiU3Bywq02hm2Q3wY4HiXgC6osLByrgB5lzoqpOpIKSpmVSb6V8yg/S t/cebbBZL+y9ic/WZ7Chh6Ty7kXa8zrdvIxGDPephp3Z+WKYxaDQDT3Uw Ep/9Y9Ss6cYZwp1IbuW9WJRO/KMKqxbFN2l/aqDNAQp04t7VdzSTBIJhi 46VykHmH0F4P5J+A55XhLPira1FwKtQhbueYSB1FVDwuRT5D2wtlC0eBm 8+OwI//G19qBbMbkP4+DXVhubYIaiMn27TiqDxWi16Ebu7Ihoy4FKHQIc bMl1cSx8Fd3Xex9uCw8p/3QOKVVkEymJpRtoNbRN7jH7/XC7aiv3IPVzV w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="222729088" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Jul 2023 03:30:15 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 28 Jul 2023 03:30:14 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:30:11 -0700 From: Varshini Rajendran To: , , , , , , CC: , Hari Prasath Subject: [PATCH v3 42/50] irqchip/atmel-aic5: Add support for sam9x7 aic Date: Fri, 28 Jul 2023 16:00:02 +0530 Message-ID: <20230728103002.267440-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hari Prasath Add support for the Advanced interrupt controller(AIC) chip in the sam9x7. Signed-off-by: Hari Prasath Signed-off-by: Varshini Rajendran --- drivers/irqchip/irq-atmel-aic5.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/irqchip/irq-atmel-aic5.c b/drivers/irqchip/irq-atmel-aic5.c index 145535bd7560..bab11900f3ef 100644 --- a/drivers/irqchip/irq-atmel-aic5.c +++ b/drivers/irqchip/irq-atmel-aic5.c @@ -320,6 +320,7 @@ static const struct of_device_id aic5_irq_fixups[] __initconst = { { .compatible = "atmel,sama5d3", .data = sama5d3_aic_irq_fixup }, { .compatible = "atmel,sama5d4", .data = sama5d3_aic_irq_fixup }, { .compatible = "microchip,sam9x60", .data = sam9x60_aic_irq_fixup }, + { .compatible = "microchip,sam9x7", .data = sam9x60_aic_irq_fixup }, { /* sentinel */ }, }; @@ -406,3 +407,12 @@ static int __init sam9x60_aic5_of_init(struct device_node *node, return aic5_of_init(node, parent, NR_SAM9X60_IRQS); } IRQCHIP_DECLARE(sam9x60_aic5, "microchip,sam9x60-aic", sam9x60_aic5_of_init); + +#define NR_SAM9X7_IRQS 70 + +static int __init sam9x7_aic5_of_init(struct device_node *node, + struct device_node *parent) +{ + return aic5_of_init(node, parent, NR_SAM9X7_IRQS); +} +IRQCHIP_DECLARE(sam9x7_aic5, "microchip,sam9x7-aic", sam9x7_aic5_of_init); -- 2.25.1