Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp854610lqj; Mon, 3 Jun 2024 02:56:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8bK/YzpvWIRdnqbW5GbeBUfvzxcUqcGTgI4kHC5U0tS4IYwWBBFKKY6pPXz2TexyFMycVws5rNioSKwVHJCMLcGRN317J73nEvW21ng== X-Google-Smtp-Source: AGHT+IFCo9u/jYUBTy9aZuUUrWYM8GpjT2aNA1RRimPaalfiHH9KVPRkyFzOqSlF1hxMSpyMjn9Y X-Received: by 2002:a67:fdcb:0:b0:48a:325a:e284 with SMTP id ada2fe7eead31-48bc20cb26emr7746219137.6.1717408589958; Mon, 03 Jun 2024 02:56:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717408589; cv=pass; d=google.com; s=arc-20160816; b=YQ4GbICOtNylUw5JkMB+KRqS4vREswd2/fl8ICbQEyJSzE+B9z45PPCZjUr2A/DTBU brNW0nnN/nPbk9kFlImdxmyiadwdQqY0Uj8GeHZZUHb3DnTDLsSSijDeECYZ7lmlNaht UYX5xJfQ42XrZXGjRQ4YtclvcqCQzoFMlikaLrG2t8hE45czapU/w0e4R5qdGAlo8yxI W43cPzheSbE83pE9enVU42g5FW7C1BllyhNVA/06wzoSlQutOkFUTsMCogapkSAflihf tAXOChuBfdsUbBJX3Ew+Fn5Ohd0yLpvh/QmZamUUYdSMyYsu84UqQLGTIyiKs2E2g94y mXmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=K2NhIIxwnO29SOrESPQPqcbmOltZikEuQZMvrX9OqLo=; fh=9dGTGqe8IVw4unbhupUwYUdu+cAMaoYXMrxRh116gIE=; b=0qQUZYFjyZ6XpZmT51BLBIYwYV74rBNm4VYSKu3UXI6/6ksNkEbbLOINJOssFno5zS L6zpM/42xUPfXjiD2Zv8CrmqkDIqEGaiy4mGHQe4yM6/pY9qUoaPgTmJMsKjpMcKEGvh nTnVmFsuOoSMISsaPsY2Rz517eFlEgsDAeKG0JEemkGs9ehA48fEQR8e4Ajs6jB6f+T7 58mME2+gqKZ/MQjg6D7GqpqXG8PuH9XZ100HkpBge42A+R2d1RKAWdqBeBtSsA9RgPzz a50MYUPGcVM0EUUFrMQ/dRwkeBtD67tPus3GYhhVaKJfqNoXXwOjJIawm3y8iZganV9w i6Qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=EAtM1oJJ; arc=pass (i=1 spf=pass spfdomain=rts-flowmailer.siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of linux-kernel+bounces-198941-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198941-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794f30637c3si16588685a.240.2024.06.03.02.56.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 02:56:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198941-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=EAtM1oJJ; arc=pass (i=1 spf=pass spfdomain=rts-flowmailer.siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of linux-kernel+bounces-198941-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198941-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 989B81C232DF for ; Mon, 3 Jun 2024 09:56:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FAD78174E; Mon, 3 Jun 2024 09:55:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=siemens.com header.i=diogo.ivo@siemens.com header.b="EAtM1oJJ" Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net [185.136.65.227]) (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 851506E619 for ; Mon, 3 Jun 2024 09:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.136.65.227 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717408535; cv=none; b=D1wIfxrIGK+w7OOqF0uTAI2JEjSdl3DrBHYo2GEzUZHAe2SLERMV8yrcey4TUGnbqCu9ssf+gd6ay3WgumVdbaWMwph6Q1GFR9kaBmwOxO6KNEriKWrrdeCQ0auFMvv7le3V1m1S3P3pinXufnmmSBIiQ1zSLI9UAYlhXEaSxpc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717408535; c=relaxed/simple; bh=lL2Ep04N9IkRCflt5sypx9BiodtRGfqnFOebllX1i0E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YmOKOqTrgYVXJIOCXLZ0UxjuONQ7kZkIyaZ1Ktqtzo9mi17+jO3WkWbHOkN6Wz6Dztk6GK95nXyvt/qIg51PaRnVmFBk3KrJqeG7UpK9s2G/AStvV3WoYlRVdvUj7cewhpucpHUMVqx0e9nrc7VLPyMz5uJe21uyXR2RksPmci4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com; dkim=pass (1024-bit key) header.d=siemens.com header.i=diogo.ivo@siemens.com header.b=EAtM1oJJ; arc=none smtp.client-ip=185.136.65.227 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20240603095523c98113b46a8eff0b85 for ; Mon, 03 Jun 2024 11:55:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=diogo.ivo@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=K2NhIIxwnO29SOrESPQPqcbmOltZikEuQZMvrX9OqLo=; b=EAtM1oJJ1uG6vD32L6V/qiEtHANr03uo1AdeJy6VDLZOmV8CuFNuM79V1AC9LvgZJ9uKxR gDUZvEMW1s0ooOioVRH+gVT1Y6t347+8G8iyuw+XSTMZsKcr0dbeL7dkpmooec9MvPF3DXIX +Vfz80I9DLgvhQ75ULMtnjWI9YYAQ=; Message-ID: Date: Mon, 3 Jun 2024 10:55:19 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 1/3] net: ti: icssg-prueth: Enable PTP timestamping support for SR1.0 devices To: Jacob Keller , MD Danish Anwar , Roger Quadros , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jan Kiszka Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, diogo.ivo@siemens.com References: <20240529-iep-v1-0-7273c07592d3@siemens.com> <20240529-iep-v1-1-7273c07592d3@siemens.com> <46b4e8f4-e86a-4755-8e82-a3975973c43e@intel.com> Content-Language: en-US From: Diogo Ivo In-Reply-To: <46b4e8f4-e86a-4755-8e82-a3975973c43e@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1320519:519-21489:flowmailer Hi Jacob, On 5/30/24 7:43 PM, Jacob Keller wrote: > > > On 5/29/2024 9:05 AM, Diogo Ivo wrote: >> + ret = icss_iep_init(prueth->iep0, NULL, NULL, 0); >> + if (ret) { >> + dev_err_probe(dev, ret, "failed to init iep0\n"); >> + goto put_iep; >> + } >> + >> + ret = icss_iep_init(prueth->iep1, NULL, NULL, 0); >> + if (ret) { >> + dev_err_probe(dev, ret, "failed to init iep1\n"); >> + goto exit_iep0; >> + } >> + > > Once initialized, the icss_iep driver logic must implement the actual > PTP clock interfaces? Yes exactly, the IEP driver then implements the PHC operations. > Neat. > > Reviewed-by: Jacob Keller Thank you for the review! Best regards, Diogo