Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4819368ioo; Tue, 31 May 2022 12:24:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTiZNr8YkNX3Bm4DPTikpAX12iOQrviKEDsvK6mZCFsj+kj79hFuS0ZpuM1PshGmNRsF93 X-Received: by 2002:aa7:da8f:0:b0:42d:d4b0:56e0 with SMTP id q15-20020aa7da8f000000b0042dd4b056e0mr10931964eds.359.1654025054279; Tue, 31 May 2022 12:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654025054; cv=none; d=google.com; s=arc-20160816; b=rOzvksQ//Zpn+av+J2XEuK9Y59jpYUEVfZk0clD2auJPfb5vWD9ITco5wWkJUmEhWI 9wOD4pnVGf6R7Eo9965IlmqIq7A0Xuin+xFRkPwf9f9mBazLXWBVgz3yS9WrXRUeV4bF Oq6xRV2qzZmBI6oxiGWDBe0CNf2atvU+CUQcawRaaoEzUdn46joVNV3r2ZfJEdBJlj9R gQemWCIVl6ThnoyXnM5A5e1UkKJxrv/Pcx27LnlVIdhw48+HeSTWTvxM4bqBjYKtXxJD cRjXOdtvsrv4EukydJN2Ccix3VbM2XKfGOkn1gVwD/EzxOjcTzyHGru1Nwn6YnQ6wZl7 wjXw== 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=GJ2CuvWp4thCM6AxeEa8JLywN3/KpgudKDyM6sMYIg8=; b=kN29+yAiBUCJKmuauGxbX7KHfow9xUCwCR454nzmueQIg5i4vtH2toXrMrYhxroQcc IT+6XRYzI770p6JFrIs28XzdAgBoLkLTHdRYKDcPf/Lmu4M2GT9HMFBr9Zvtty8kxdBi Qa+5i1fv0TcGNRqVIEH85RiWcGa1FUGr5mUO0+2S3ad3OWV7dGUarl/1XbA8xAhWLNK7 hfNCFc6kVbgJv5ZbjSn54WQ2X9z3dxBb/ypixDhUDwaCPJzR5npVvaccSSb2Yy/yZobs 2Wrbz2voV31ozlTG/YF5BUBNDChMHucCkU9BK9AAlRpjwSVJABmXTzOCIE+LeFDjRhqZ Fn3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="iW/GAA+y"; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a50fc90000000b0042dcd243699si3823875edq.588.2022.05.31.12.23.48; Tue, 31 May 2022 12:24:14 -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=@intel.com header.s=Intel header.b="iW/GAA+y"; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233104AbiE3H0E (ORCPT + 99 others); Mon, 30 May 2022 03:26:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233099AbiE3HZ7 (ORCPT ); Mon, 30 May 2022 03:25:59 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D062513E3D; Mon, 30 May 2022 00:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653895557; x=1685431557; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vcglmkkx+1VN4zPJUFXhB/fuNxotUIij+3gXdIHQq8I=; b=iW/GAA+ysQsp1LU89zVuKezke76xM2Emt0q4LKuHJJbR9VPaEHMC1Fyc IniW4bjmFsy5Slmv8iwVlK71FC+GsRorRwzG8wweBEGkaKBGsla00v5Dy uDd+8h4Vfoq91PrBRMXR9jtKpxgrZcBpmXwqQ/X4OXnoYa1YyJc7dpq5w J+/ALE9XOTcZkHmme9Y3ekEaRvyxH0fokRKzP6vOrXuPUrgrztjdlNCJx qKPnk9UlSAkYolQvBNaQOSUf22P71/UIcMbmvOhgvw3BfBoWTDW1ueAm8 9USBJsUEW0yFKW3B+pP544eZGkLailH7h6Ww3qpa9smMyN4miKwjEvbtn w==; X-IronPort-AV: E=McAfee;i="6400,9594,10362"; a="335570383" X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="335570383" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 00:25:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="679027018" Received: from unknown (HELO localhost.localdomain) ([10.226.216.116]) by fmsmga002.fm.intel.com with ESMTP; 30 May 2022 00:25:55 -0700 From: niravkumar.l.rabara@intel.com To: Krzysztof Kozlowski Cc: Dinh Nguyen , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, niravkumar.l.rabara@intel.com Subject: [PATCH v2] arm64: dts: intel: socfpga_agilex: use defined GIC interrupt type for ECC Date: Mon, 30 May 2022 15:25:30 +0800 Message-Id: <20220530072530.1685970-1-niravkumar.l.rabara@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220530061212.1682439-1-niravkumar.l.rabara@intel.com> References: <20220530061212.1682439-1-niravkumar.l.rabara@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 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_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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: Niravkumar L Rabara Use defined GIC interrupt type instead of hard-coded numbers for ECC (Error Correction Code) memory, which creates edac sysfs interface. Signed-off-by: Niravkumar L Rabara --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index caccb0334ada..7bbec8aafa62 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -581,7 +581,7 @@ eccmgr { sdramedac { compatible = "altr,sdram-edac-s10"; altr,sdr-syscon = <&sdr>; - interrupts = <16 4>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>; }; ocram-ecc@ff8cc000 { @@ -589,7 +589,7 @@ ocram-ecc@ff8cc000 { "altr,socfpga-a10-ocram-ecc"; reg = <0xff8cc000 0x100>; altr,ecc-parent = <&ocram>; - interrupts = <1 4>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; }; usb0-ecc@ff8c4000 { @@ -597,7 +597,7 @@ usb0-ecc@ff8c4000 { "altr,socfpga-usb-ecc"; reg = <0xff8c4000 0x100>; altr,ecc-parent = <&usb0>; - interrupts = <2 4>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; }; emac0-rx-ecc@ff8c0000 { @@ -605,7 +605,7 @@ emac0-rx-ecc@ff8c0000 { "altr,socfpga-eth-mac-ecc"; reg = <0xff8c0000 0x100>; altr,ecc-parent = <&gmac0>; - interrupts = <4 4>; + interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; }; emac0-tx-ecc@ff8c0400 { @@ -613,7 +613,7 @@ emac0-tx-ecc@ff8c0400 { "altr,socfpga-eth-mac-ecc"; reg = <0xff8c0400 0x100>; altr,ecc-parent = <&gmac0>; - interrupts = <5 4>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; }; sdmmca-ecc@ff8c8c00 { @@ -621,8 +621,8 @@ sdmmca-ecc@ff8c8c00 { "altr,socfpga-sdmmc-ecc"; reg = <0xff8c8c00 0x100>; altr,ecc-parent = <&mmc>; - interrupts = <14 4>, - <15 4>; + interrupts = <14 IRQ_TYPE_LEVEL_HIGH>, + <15 IRQ_TYPE_LEVEL_HIGH>; }; }; -- 2.25.1