Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12999392rwd; Fri, 23 Jun 2023 14:03:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4JMsE4pUOqtYnhHuMVVvRALuX6lRwimFnucvIwyk9AngdPC+2G8XaTC9E5WQnC0mep6NBm X-Received: by 2002:a05:6a20:7295:b0:111:fba0:bd3b with SMTP id o21-20020a056a20729500b00111fba0bd3bmr26334759pzk.1.1687554209912; Fri, 23 Jun 2023 14:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687554209; cv=none; d=google.com; s=arc-20160816; b=Y0MS8J0eA2z5I4/O7T1TpCnLqDLMDHkL1Eipcov5MxGXoVaeptKXPlFS0wxbcQjcnM flN4SJsUzshTM7ANrcHWrIS5COH0iOf+wbhddYub1EWrzxJBAkYf/hF5I2AUfS5gmbk+ 7YZcrqr7OW9t9iBXXfVFjpJXx/o8UjhlQeQ/7Fk3BcAlHfDnfsDBDld9hCD9WiCpMwuA CO2WbzV/5AtxOjCPlfZjYm37c4XclXkorTSY9gSXQGgil234on6FzIUZobGnj3DDP6wH 9CRdiTS7p2zz0voZbcxx17m6g2JiRF/EGS6GzLK1czHJMUqgjYMB5C2pZ1i3TOAlaayj 0rIg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5G33tiPoDWd46Q/MAKWsuoe8Lsa46ZNxTp2fJtjrlyY=; fh=gvF0Lmh3we7l1N050eW0NXEfX6fwK1w/g3y1gvYPqdE=; b=p/g1lAyokRv5+dwmR+RLoeowHZjQyXidN8xvR23LTRiu/B6nmLicIhtECOw2Ft3B3/ BSJ19Z0NP4GKrUljK0JeE2QQcU4rIT3j9J/7vI7+azr0+M/teACNAa+PPMX5RkqttRY8 7ATQEtweMp6NrRCQzIfCb8ecsNpv49oSGqKJTmymB+FW519b5a4hgiafDnMZY7cN6n0E RyDpAppiTS+QOToVv+NEt9nW579jFx2JKP8/wNwZlBQNLsUUxWGCHzZn8yTeR+Xv/oCu lSf7+B8Lq4P9KC1ophMT9IO1yXlY+vY7jRYPGxv2WMxAyFXujTkU8vfbNRlDCskg+1Km mbFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=hQBFs0q6; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 fi31-20020a056a00399f00b0066356d0888dsi10792pfb.126.2023.06.23.14.03.12; Fri, 23 Jun 2023 14:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=hQBFs0q6; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S232630AbjFWUwZ (ORCPT + 99 others); Fri, 23 Jun 2023 16:52:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232606AbjFWUwK (ORCPT ); Fri, 23 Jun 2023 16:52:10 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C84B43ABC; Fri, 23 Jun 2023 13:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1687553415; x=1719089415; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xbMFJDkuvSAVzLORTJHW0ZL04qI1N0hFjbaAsJ5qgb0=; b=hQBFs0q6Mb9rdN21VmnlcynVtG6IY00PoOPl2jCM9fUTTOWJungJwrWU URIy29AdKxI7mbJDy913gqkO+mMvCf54iG43lRBWHU4JBjX3TUTz8U4jo X2C0wdaRiVbxowQdN0E0jCTRNkdgIL/7ojuqZ4KYZzUvehBkvZFEvMRjx aooaAxTNJUPYvSwN4A3u6zPwAlfBrr1h5/G74/fLrvxlskA/QfmtDXOt5 oUlxL4VHVG2dpZ9xa6QqX9VUhdODBvjxuv5xtqBkXSU+PToFPanYGPokG fIR2mZAkLFSjj/PjVqhqlOhp+su6nQIPPGBZtbhbPWVvPP32HQsMi7iTr g==; X-IronPort-AV: E=Sophos;i="6.01,153,1684825200"; d="scan'208";a="221703169" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 Jun 2023 13:49:30 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 23 Jun 2023 13:49:30 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 23 Jun 2023 13:49:01 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH v2 37/45] irqchip/atmel-aic5: Add support for sam9x7 aic Date: Sat, 24 Jun 2023 02:00:48 +0530 Message-ID: <20230623203056.689705-38-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230623203056.689705-1-varshini.rajendran@microchip.com> References: <20230623203056.689705-1-varshini.rajendran@microchip.com> 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, 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-crypto@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