From patchwork Fri Mar 4 11:08:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12768973 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 94C1AC433F5 for ; Fri, 4 Mar 2022 11:08:16 +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=JSgVAInwE4Lpigm4HNUEm+/seX3Mth8hT6bjo9QrglI=; b=xmMoVYS2DA5QoC /JnQhhP0Ml3rbbu3NxhK0VQiOwnUnEi0rLLNV4hfE/HyT7opwNcRNyx85kCUMivVa2f9mpeiNpbdx LWBU0y15jKSEOG+w4sSe9XnlkYbnkRguhF49gGXfKxzACSjqAiGbUBndY3pSUPUrVE5z+djDUDctn AjnVAL+CrXsGjULXyo9X2bM/7pwbUylAqTC7n0pDsiUfPdvhmcVEWJpfFw0FQixNRFCvt+PIaWuMr 3dSRsKS04Ys2iMd13f/ERhEtQb0MgHV6BTEyguS70hBrAp0Gkjr1O66uiblT+HQI9M5I1f1TyCz7w AxNIRf59ZfytG13bOBow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQ5m2-009gqV-W5; Fri, 04 Mar 2022 11:07:03 +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 1nQ5ld-009gdi-M3 for linux-arm-kernel@lists.infradead.org; Fri, 04 Mar 2022 11:06:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646391997; x=1677927997; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=k9jGl/0jWS8jr/FW3OeKqHd4qP3bdm9danE8ErYTjJM=; b=L3d2KtopJp+YxeJOgyi8jYM5pTfyEj/PkBUYtlEtMIHBaGZD6qHgtVi1 PYAHwydSs3tZlD1kHecsYRF1iTnbxRMaMpqrN9dQPAWGFSi8CJwI8dPD4 45BVuLKqJNYu2n7nAWvdlotWf4SVCTvKEmq5BwCoc++dPEhGASceiFwua xlqiPGUZlCXao0DQWCnYFurLMNP1fHgn1nrDXfJdkyYoZ3we1ve2mPqJp eVangphoCs2TNBNOLWykUb+sh4+D/2THTX1hEW+zJLR3WSsMOmOHr2k/0 r6k5WDNiAGK33yTMFI75dJrJegNeUQdp0fna6BPA4OQ0Ig6XK0W3zR2E5 A==; X-IronPort-AV: E=Sophos;i="5.90,154,1643698800"; d="scan'208";a="150853642" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 04:06:36 -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:36 -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:34 -0700 From: Horatiu Vultur To: , , , CC: , , , , , , Horatiu Vultur Subject: [PATCH net-next 2/9] dt-bindings: net: sparx5: Extend with the ptp interrupt Date: Fri, 4 Mar 2022 12:08:53 +0100 Message-ID: <20220304110900.3199904-3-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_030637_857783_74DF295F X-CRM114-Status: UNSURE ( 7.66 ) 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 Extend dt-bindings for sparx5 with ptp interrupt. This is generated when doing 2-step timestamping and the timestamp can be read from the FIFO. Signed-off-by: Horatiu Vultur --- .../devicetree/bindings/net/microchip,sparx5-switch.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml b/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml index 347b912a46bb..6c86d3d85e99 100644 --- a/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml +++ b/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml @@ -53,12 +53,14 @@ properties: items: - description: register based extraction - description: frame dma based extraction + - description: ptp interrupt interrupt-names: minItems: 1 items: - const: xtr - const: fdma + - const: ptp resets: items: