Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4602778rwb; Tue, 8 Aug 2023 10:48:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfjNZe4FBt/Sqb39H8s952gV2MtNTpcW1GUUJ3/SDdrylUoXyLeYEEHvqUJxQaD+vLCB66 X-Received: by 2002:a05:6a20:8e27:b0:140:6fa9:7001 with SMTP id y39-20020a056a208e2700b001406fa97001mr239981pzj.40.1691516897969; Tue, 08 Aug 2023 10:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691516897; cv=none; d=google.com; s=arc-20160816; b=wKB/Z3q/Q+A7mouo5Gk4BHCowc9a9ZMP942gZEokPnOh4UT1JTfqb337SU9YzLVJms 2M43GdjGJ62GM9R4zwZK+okiXrRZE4bUChnverJPgvbYgPbFL1FxVgU1Fb1u+5SqI1rH cwiJNe/NvO+dfMd/IZjLUmvai95tANRJvAqfAfZYIQPKAPKPPWCgxjcF6iqFq3jCSTjH SC0k0JW/xlpcJGSpaF8Y4Ilzl6QAWS+Y7MKQYsHBxmqHFSgpdL9UnK6kDrHgFFET4+1d W8goTpfCi2kYzIp0Pw8jmcIznO7y2j9H0ujfXpyaKE7Lsznsb+fWF/Wxf7VkNdptKOMM U4XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mqJItTqOl4/+S+TouYeA65Ua4GzpGOA2suGZXzHfDCE=; fh=bJZM8uJ6uIcGsR/9wHScQI8Z5c7HqIV1cD5lGrp2g+c=; b=rXmc81ejoNUqoRV5vIj5pka0+hEmhAz11ONYET55k0kQNDUH8bws/u6hRBdVrZvZzP BzlSK8hcXEVqpzY6VoRZ0FPBuQLxdvMFjx+WZni1363Q3LoL3irsAZeD9qC1gcSsjyTy kbtmc5EFtvjvbgVyfXIgJcy68/urHm8Xq1AE1iov1gMU4sqK5Uu3LZ2KlgL7XeSYWFEW U81cnOtdMWLZ43IwzPUvw/O7rilDZnHjCzx33iqBuABOwc+gr2CtNO6VBxLx25Kd3DO8 zPj+fhXxOzbaeBubFi1wi1NPMq6I1PNK/4899Hs1JhrBSGrWHPkg1wd9iY91U2Oy9+tN DjKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=inb2pUnl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6-20020a63b246000000b0053f265b0eecsi3010678pgo.133.2023.08.08.10.48.05; Tue, 08 Aug 2023 10:48:17 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=inb2pUnl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233956AbjHHRBj (ORCPT + 99 others); Tue, 8 Aug 2023 13:01:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233709AbjHHRBA (ORCPT ); Tue, 8 Aug 2023 13:01:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0191D422A; Tue, 8 Aug 2023 09:00:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4B34062526; Tue, 8 Aug 2023 12:22:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAC44C433C8; Tue, 8 Aug 2023 12:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691497376; bh=dhLlrUwCQzvrRjQ5imxEgR6Ov8s1gSR9MYGmH4eHroU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=inb2pUnlNEEJgy4+g5toDu6y1uAJzpYq7fGl7Yj5xlru9xEmVuqqiIgunYaYHPZU+ mTXTJzGyG32X+d0k4NQAWhwxfMhLY4lxHSGNVN39C1cryrCRDtLExinq9sRWFreoU8 Z1fuCZaj5xrM3r+I1Rsr0kiR+PHPeFLJzGQMvnED75JEkphMueQJ2ZXogCRisv/bXU BqtytwaE30LlME+Xoq4BDRh/wq/wydL5Y/MBr5khnGgZR9LjKxNr6xkNAgWcwTkb40 Fi6pxDrjA6iYVRzTgzuUdAQd7a6WHwNyuY9eobLIp1kI0QA38nvgyCCipraZrbqPNq L34Q36eKS0Obg== Message-ID: <529218f6-2871-79a2-42bb-8f7886ae12c3@kernel.org> Date: Tue, 8 Aug 2023 15:22:49 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [EXTERNAL] Re: [PATCH v2 0/5] Introduce IEP driver and packet timestamping support Content-Language: en-US To: Md Danish Anwar , Conor Dooley , MD Danish Anwar Cc: Randy Dunlap , Simon Horman , Vignesh Raghavendra , Andrew Lunn , Richard Cochran , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , nm@ti.com, srk@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230807110048.2611456-1-danishanwar@ti.com> <20230808-unnerving-press-7b61f9c521dc@spud> <1c8e5369-648e-98cb-cb14-08d700a38283@ti.com> From: Roger Quadros In-Reply-To: <1c8e5369-648e-98cb-cb14-08d700a38283@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 08/08/2023 15:18, Md Danish Anwar wrote: > On 08/08/23 5:38 pm, Conor Dooley wrote: >> On Mon, Aug 07, 2023 at 04:30:43PM +0530, MD Danish Anwar wrote: >>> This series introduces Industrial Ethernet Peripheral (IEP) driver to >>> support timestamping of ethernet packets and thus support PTP and PPS >>> for PRU ICSSG ethernet ports. >>> >>> This series also adds 10M full duplex support for ICSSG ethernet driver. >>> >>> There are two IEP instances. IEP0 is used for packet timestamping while IEP1 >>> is used for 10M full duplex support. >>> >>> This is v2 of the series [v1]. It addresses comments made on [v1]. >>> This series is based on linux-next(#next-20230807). >>> >>> Changes from v1 to v2: >>> *) Addressed Simon's comment to fix reverse xmas tree declaration. Some APIs >>> in patch 3 and 4 were not following reverse xmas tree variable declaration. >>> Fixed it in this version. >>> *) Addressed Conor's comments and removed unsupported SoCs from compatible >>> comment in patch 1. >> >> I'm sorry I missed responding there before you sent v2, it was a bank >> holiday yesterday. I'm curious why you removed them, rather than just >> added them with a fallback to the ti,am654-icss-iep compatible, given >> your comment that "the same compatible currently works for all these >> 3 SoCs". > > I removed them as currently the driver is being upstreamed only for AM654x, > once I start up-streaming the ICSSG driver for AM64 and any other SoC. I will > add them here. If at that time we are still using same compatible, then I will > modify the comment otherwise add new compatible. > > As of now, I don't see the need of adding other SoCs in iep binding as IEP > driver up-streaming is only planned for AM654x as of now. But, is there any difference in IEP hardware/driver for the other SoCs? AFAIK the same IP is used on all SoCs. If there is no hardware/code change then we don't need to introduce a new compatible. The comment for all SoCs can already be there right from the start. -- cheers, -roger