From patchwork Fri Mar 4 11:08:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12768974 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 066C2C433EF for ; Fri, 4 Mar 2022 11:08:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vKdmxfMT7UkgSOalLwbtDBzX08jOD9k70lCOxJtmhEs=; b=J4rG3fpf7x1Ulm eDB1nz37sGSAlFyUU5TNRJw9G6fDxMw8fgATamJxPo+iM9k6+3olI5voxpKevZozpmyE+oUCASzQw v5Dw/yE9VSdtdTIjCLcNkOtnM3oywnE6AefgQp6YJjPklE3ygfBAYvu44ThPkZgcTFFu/bIT5utn8 UaoaJ6UkRSqAtYrF9R/Fzgeg9CRahoan42/utFaaRxRFsUYdvtyv2e4cywdBPfbgCQwRGFR7Is5UF 8ubR7Dadtdr+nwtbvoawQRohBZagtDBtGNP8KFWA/SNVEMtw129yGetGGCWT3aoOA0JV10Fh2Y5Aa NYgi/vj/eHdIeUuvR0+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQ5mH-009gyK-LK; Fri, 04 Mar 2022 11:07:17 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQ5lg-009gfL-H5 for linux-arm-kernel@lists.infradead.org; Fri, 04 Mar 2022 11:06:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646392000; x=1677928000; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=H0tclyHIfgldFtweIiTINBdh7k3hS+U01t4mgwyX4Zo=; b=MwAev0f2L95eU3kN+OQUC+gurY3FEoMTVdFOTaNFz+RE+Lrl9R9jFJnp glPbfFvwvlCHnyzUPe8ii5AA1JBnTH9v1oS13Wy13ILMKThe3jFKyLwMN 4Y0qnJzvdLmCCu/7KhkjbI6PJeqB5uBFAcg93JTB7gOF7hAx2P9qNvoKP qsuLfkvmmIEf9QAWqXqTChobbKgYo/9sGYIFmIqW3J/RMErUbdPk63bUp zKnbMA3+mW6WHVBUPO3B41+/1vPrzhwziqANDa7zglIOwefUkK+nkehs+ x3ubSEuajb0oIrG2wFBmqcWVIxiilTRO8PG+GJ/Mbcb6HVJLIm9c60WMh A==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="87822977" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 04:06:39 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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.2375.17; Fri, 4 Mar 2022 04:06:39 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 04:06:36 -0700 From: Horatiu Vultur To: , , , CC: , , , , , , Horatiu Vultur Subject: [PATCH net-next 3/9] dts: sparx5: Enable ptp interrupt Date: Fri, 4 Mar 2022 12:08:54 +0100 Message-ID: <20220304110900.3199904-4-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220304110900.3199904-1-horatiu.vultur@microchip.com> References: <20220304110900.3199904-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_030640_650079_E20B108B X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for ptp interrupt. This interrupt is used when using 2-step timestamping. For each timestamp that is added in a queue, an interrupt is generated. Signed-off-by: Horatiu Vultur --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi index 418b32efee6e..e715e2a3c75f 100644 --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi @@ -468,9 +468,10 @@ switch: switch@0x600000000 { <0x6 0x10004000 0x7fc000>, <0x6 0x11010000 0xaf0000>; reg-names = "cpu", "dev", "gcb"; - interrupt-names = "xtr", "fdma"; + interrupt-names = "xtr", "fdma", "ptp"; interrupts = , - ; + , + ; resets = <&reset 0>; reset-names = "switch"; };