Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp116939lqe; Thu, 4 Apr 2024 01:04:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxw161Fx0g99lgs2fiqqir80xletiMntHYzG/mLfgJI7cTPoBMSdJ9aS33DE24LTF62mzXfx7NwBr5VEbE15j0+CWsgmxNIJwyhbSusw== X-Google-Smtp-Source: AGHT+IEKLc7hJGyS6GkGQ71dDULoXB6UtficdYsGtwKDaPQN+B8O/mKjixDHKMuJHIBaVkq/lPmK X-Received: by 2002:a17:906:c057:b0:a4e:21e0:2e6a with SMTP id bm23-20020a170906c05700b00a4e21e02e6amr1021268ejb.3.1712217896530; Thu, 04 Apr 2024 01:04:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712217896; cv=pass; d=google.com; s=arc-20160816; b=n+SSyEZYlaAQi2uZ9kfdsnx++9Zn2NiJW0Piy18h6R/iO/FYZO9fpfPIBVtBodUc7u eHfXkvcoR0WFhiPTT/fWz7udW6IeuTD0UvGTbVO2gA4Bka6+0jdC7Nqe80r5MDBmZ0uS PrwI25+w7q5A1PCPaDxgRs9WtS9eMFGxpvYnCFhCaEQYRwLvgFN+1rb89CocBCXUoZYY UUR9ArTMSW07ri6g0DOudOH7KGFrm9Q100de/X7MPS7bxCfy6ps7gYgg7AXS/Tyd6Msq qTVWHHc8ipYTWl6YK1ZWJ0Ma5gJYRFRa3diBuVq9cLHXNb0CwHysd5oRNbhElvlybr5U RXEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=GgHH59NZgeDze9F4roc5wZeS3wl8UFbvSV7hsE7EEIw=; fh=mcTJhLtQPx0xhBC31YWkAH6cflmP8YiEoSZdbN3riwU=; b=UEClU62/3VsOdOScmAar4nZlYmKpWYRqAqyyuSaIeq+TFTn6BeA251mrvMt4xcw4Tl 5bsf8n13hMx/z6GaVcjJX9WpSuDGz6UmQNuUpS0v206nbVlq/tf4TuuJLcUbtkCX2zz8 6CjnTJ3iPi8WyjU0qhmfuHwo0/Bp/m8xaqoYovt2vPbbLhW3GlMLYu1oNqjq5ZUUWn3D xExZLP55nm8LGIRGtJaSkXgIS4qpaO9BrXpzJODz99Ij3SttC9xCn60vbrOBg7uSD9wY 0QmCvF5mEjvX/Pmyy/WoisgUH2G7gwBK1H7DfZ2DJrSf5WuxPgpvOuuWpilXheKXLWol V3Gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=xTAbamQK; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-131076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131076-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id jr5-20020a170906a98500b00a4e6f212ac6si3793344ejb.258.2024.04.04.01.04.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 01:04:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=xTAbamQK; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-131076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131076-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 42A121F293D2 for ; Thu, 4 Apr 2024 08:04:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 994826027D; Thu, 4 Apr 2024 08:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="xTAbamQK" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F8745D73A; Thu, 4 Apr 2024 08:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712217885; cv=none; b=sf/yhuHd/OjyaZNuIJ3ot5j1AM/C6downp0xZpT5nFMHv+cSTFZeKQE7OSp00hHnGJS2+BxP67mBrLLhj+efOesARAqkXDmGGTrJppOvEmObROCox3yPZAjp6QAkO2qVkSt/89DgOqH0l99htHx9Ki14v24fVwQrPjlPBRNl4Ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712217885; c=relaxed/simple; bh=X1GctJvEBCORgKljirWAIXfLa3Hvgr0uFQWr0R44aHw=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=q8zp23o+SNzbl/vT1yRBZqSZUr8Rp86Lo4FNXrI2n3DzFHIAIUR6axP/QW2rXDsMJmA5GFILP0VhWhlI9T3zbRGUQ/MMzdfuq/wlW0nnYPp4NprGpu6sr+hEHZjBi39wjnaDg+tXvAqmXD10DqY6mABsoS86ECj6VtXa1gMNsfE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=xTAbamQK; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1712217884; x=1743753884; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=X1GctJvEBCORgKljirWAIXfLa3Hvgr0uFQWr0R44aHw=; b=xTAbamQKe3eXHpOsrSIQCJVGXA7WR7Cp9/yAIxFNOGaz81H3c8ntBtQp DkTcr4eYZr4HVtyxlQk6y1TMnQ4UDvdJzXz7MnDv/WwPLfLFpnSlWNii5 gO+4lb9o3gZfuXCM4x1HGOf4pSFggoPge6Zxv4ge547aFBNMtoeUXbuMS UwZyomnqM2+G3FIzZ3WbMdpvrzZhowhllngGGrg4rCVm/5g+G49IplUhW KTSKd9gKuJTCYbMl2Y3hAgeBs7Xx1HpBAT7f4Kqq6qdTo/FrvSBX0w4Gx niwm059+FazJx/gyghpmJn9q+mmKmEN1cs6ui30jucfGF2bUnG+XasaUk Q==; X-CSE-ConnectionGUID: dlpw0rggR4WYgOJDui2PAg== X-CSE-MsgGUID: IqhGjgYfS7qAbPAyxk+qrA== X-IronPort-AV: E=Sophos;i="6.07,178,1708412400"; d="scan'208";a="186710219" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 04 Apr 2024 01:04:43 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 4 Apr 2024 01:04:32 -0700 Received: from DEN-DL-M31836.microsemi.net (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 4 Apr 2024 01:04:29 -0700 From: Horatiu Vultur To: , , , , , , , CC: , , , Horatiu Vultur Subject: [PATCH net-next 0/2] net: phy: micrel: lan8814: Enable PTP_PF_PEROUT Date: Thu, 4 Apr 2024 10:01:13 +0200 Message-ID: <20240404080115.450929-1-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Add support for PTP_PF_PEROUT to lan8814. First patch just enables the LTC at probe time, such that it is not required to enable timestamping to have the LTC enabled. While the second patch actually adds support for PTP_PF_PEROUT. Horatiu Vultur (2): net: phy: micrel: lan8814: Enable LTC at probe time net: phy: micrel: lan8814: Add support for PTP_PF_PEROUT drivers/net/phy/micrel.c | 379 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 355 insertions(+), 24 deletions(-) -- 2.34.1