Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4274875rwe; Mon, 17 Apr 2023 10:12:14 -0700 (PDT) X-Google-Smtp-Source: AKy350afiEl6LYcpTngUhkOC5qKR/aYBJ8ZPDhjHtZqHnYHQkPMuaTmBqjOSlxObcbJl5tcvGGOR X-Received: by 2002:a05:6a20:914e:b0:ef:e82:9e7f with SMTP id x14-20020a056a20914e00b000ef0e829e7fmr9529145pzc.3.1681751534420; Mon, 17 Apr 2023 10:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681751534; cv=none; d=google.com; s=arc-20160816; b=fzQfaMyavTsvBacCeMPi9Ciu/bxkygxYKEaV3DOUQ9fOm37u2yngdDK3zFCTtKyuQZ YiWqKazD+jS0ycEMZKjOYEpBm2fWtbNdX7FfMxIbYM1bZGMmmEEMT1/UJJMijbCL3v5L 2it3tkES/TYAirhRmjIC7lPtP/xmffW/enuFuQNkQmahlpfexUpRZRGTna2V7vhpNGsi JhHGqrGexjvEV+R8QAvApjv6r4/H6/K8d3rWEm6h5Zb8xfbLJPBr9Nv0gGnPiVMX73y9 JcUCuPm6ZXjolKGCqKf3eJ7lIHJM2m2J2AVS2aYpZGaG9Is6+H++7WkvVIOJAx06rwsK +/9w== 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 :message-id:date:subject:cc:to:from; bh=TOR7wx9LV0bhqgrv7RgkG5AjPuafEnOGz3Ma3X45Muo=; b=l325lC+DTpP26pvT4c/rsaNkeJQYu9QSvD1XpB0rv4EmKNAujdP2VmOuoRzUqGhwC3 QaCFM1F8/dRd1aVY+ufFdJTDaRzsWjUJat1bxpz172W/IsWlp4aBVYzM1M6dWpcFaz8r 260BOg01pyEdJuKT0a3Od/uhgTq4BulOAHCLbsVv2KQO1uY98VI4qBT96cYpH33546aa 5dmvM5UEGCxoB403zcu5YWn8sTUl+Utz25FnYWtZb/J7XO5lQ7PVGTG1BR9swjbss15a 7MZ/xx401MrAOCfu6Qn5K9cvQxK9YRiiDNfHEMNNb1AW1+kEwF6ifDyZI+Czo8qj/jDN SI4w== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z7-20020aa79907000000b0063d2b810fc6si1399814pff.305.2023.04.17.10.11.59; Mon, 17 Apr 2023 10:12: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229685AbjDQRIC (ORCPT + 99 others); Mon, 17 Apr 2023 13:08:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjDQRIA (ORCPT ); Mon, 17 Apr 2023 13:08:00 -0400 Received: from synguard (unknown [212.29.212.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11D7546AE; Mon, 17 Apr 2023 10:07:59 -0700 (PDT) Received: from T14.siklu.local (unknown [192.168.42.162]) by synguard (Postfix) with ESMTP id 0776B4DE95; Mon, 17 Apr 2023 20:07:57 +0300 (IDT) From: Shmuel Hazan To: Russell King Cc: Marcin Wojtas , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , horatiu.vultur@microchip.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Shmuel Hazan Subject: [PATCH v2 0/3] net: mvpp2: tai: add extts support Date: Mon, 17 Apr 2023 20:07:38 +0300 Message-Id: <20230417170741.1714310-1-shmuel.h@siklu.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FSL_HELO_NON_FQDN_1, HELO_NO_DOMAIN,RDNS_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 This patch series adds support for PTP event capture on the Aramda 80x0/70x0. This feature is mainly used by tools linux ts2phc(3) in order to synchronize a timestamping unit (like the mvpp2's TAI) and a system DPLL on the same PCB. The patch series includes 3 patches: the second one implements the actual extts function. Changes in v2: * Fixed a deadlock in the poll worker. * Removed tabs from comments. Shmuel Hazan (3): net: mvpp2: tai: add refcount for ptp worker net: mvpp2: tai: add extts support dt-bindings: net: marvell,pp2: add extts docs .../devicetree/bindings/net/marvell,pp2.yaml | 18 + .../net/ethernet/marvell/mvpp2/mvpp2_tai.c | 334 ++++++++++++++++-- 2 files changed, 317 insertions(+), 35 deletions(-) base-commit: 3e7bb4f2461710b70887704af7f175383251088e -- 2.40.0