Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp740561imi; Fri, 22 Jul 2022 08:26:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tVX+HuAGKO/A95cRdhiZkr2J+FL9pe7L9u3voJizCKy6M9hVZ6+QBwAP5/1Zy7CbFd/iwE X-Received: by 2002:a17:907:3f90:b0:72b:859e:8fdc with SMTP id hr16-20020a1709073f9000b0072b859e8fdcmr319120ejc.735.1658503561610; Fri, 22 Jul 2022 08:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658503561; cv=none; d=google.com; s=arc-20160816; b=QNRFtUYn9XRwNOkIz6kwyPyoMtMpjy8CBYJFNAT0+rD/gGMz9IC5PccqiUEMTSaCXO MT1MWH62V5hjzm7GSlWBlWLyBu66k+LI5DVRCq487N5OFpuHMFn1W3Y/goX4fhJSSMxb PT8LZ4qupOVvIFf7rypHXd0rRvvguSOhZJNpWh1ei51gbjivLA8juRIFgY6lZXw+T9V3 Dd3cohs1+Lm9DLQWPvKw5oa40Iai/QlN5Js1eTQGSfwh5qygOMqj64ta8YIlDEaSRVQg xY1DNBtWUGbhr/VAJbcEWT3mirAHRIJDqUYffRUadJZ77t+Ex2kTmIM/FmXoQPn7b5pK MoGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=DaOWNbm21iKfcMoP1PBJvuhOboklZy5MQJhiazsm+48=; b=EMuMXfjgu807qAZUUf36Q88T6ityK0QF4o9AWRAbKopcgr+WGayfxB3Y5DEGY+b7wV ts7+3DYEAEMQbuC1+GIF2Q1qnKQFvaHPHFSNecGfqK6bsPmEcGrmSVffKBhP6fp+vs0y onqwoMsW5lfuSJdXDPW6UBzuefn8PAUWOekYD6NRNSrEPBD8RRpInd+Ql9R38bkDzib4 V46FGKTpEhskSjfJt5WNbFj2mQuLjwayCwAFM2uL2xeDmGtw1SvuM/mlmbTliD3LZb/W dF+GHXkqPLmWd7w4yu1uBi93f+ywFRB8mOlUsBr5BH7vylEm52dzx/PVXDIMwxNzlfJD F93w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e10-20020a17090658ca00b0072f40cafeadsi6859461ejs.637.2022.07.22.08.25.35; Fri, 22 Jul 2022 08:26:01 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235598AbiGVPMO (ORCPT + 99 others); Fri, 22 Jul 2022 11:12:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbiGVPMK (ORCPT ); Fri, 22 Jul 2022 11:12:10 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4C9A0951EC; Fri, 22 Jul 2022 08:12:09 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.93,186,1654527600"; d="scan'208";a="127045517" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 23 Jul 2022 00:12:09 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 90C7B432D9F0; Sat, 23 Jul 2022 00:12:05 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v3 1/3] dt-bindings: interrupt-controller: Add macros for NMI and IRQ0-7 interrupts present on RZ/G2L SoC Date: Fri, 22 Jul 2022 16:11:53 +0100 Message-Id: <20220722151155.21100-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220722151155.21100-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20220722151155.21100-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 Add macros for NMI and IRQ0-7 interrupts which map to SPI0-8 present on RZ/G2L (and alike) SoC's so that these can be used in the first cell of Signed-off-by: Lad Prabhakar --- v3: * New patch as suggested by Biju and Geert. --- .../interrupt-controller/irqc-rzg2l.h | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/dt-bindings/interrupt-controller/irqc-rzg2l.h diff --git a/include/dt-bindings/interrupt-controller/irqc-rzg2l.h b/include/dt-bindings/interrupt-controller/irqc-rzg2l.h new file mode 100644 index 000000000000..34ce778885a1 --- /dev/null +++ b/include/dt-bindings/interrupt-controller/irqc-rzg2l.h @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * This header provides constants for Renesas RZ/G2L family IRQC bindings. + * + * Copyright (C) 2022 Renesas Electronics Corp. + * + */ + +#ifndef __DT_BINDINGS_IRQC_RZG2L_H +#define __DT_BINDINGS_IRQC_RZG2L_H + +/* NMI maps to SPI0 */ +#define RZG2L_NMI 0 + +/* IRQ0-7 map to SPI1-8 */ +#define RZG2L_IRQ0 1 +#define RZG2L_IRQ1 2 +#define RZG2L_IRQ2 3 +#define RZG2L_IRQ3 4 +#define RZG2L_IRQ4 5 +#define RZG2L_IRQ5 6 +#define RZG2L_IRQ6 7 +#define RZG2L_IRQ7 8 + +#endif /* __DT_BINDINGS_IRQC_RZG2L_H */ -- 2.25.1