Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1330471rdh; Mon, 25 Sep 2023 09:23:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfwbYnOO6871WKfYcA2g3GXKXVQ4Ln18L8ngQ1Gcbx+DQvIvcH+KZQw99hp+V+6aXOX+jH X-Received: by 2002:a05:6a20:6a04:b0:152:6b63:f1e7 with SMTP id p4-20020a056a206a0400b001526b63f1e7mr6439909pzk.1.1695659001842; Mon, 25 Sep 2023 09:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695659001; cv=none; d=google.com; s=arc-20160816; b=qhPshmhox+NAF04EIn433JAdGlP4gJ4WP664MX9A5Uv02YrwPIYZxQ4kbbxg1wnH0q q34US2N3XrK1sYGyq98GP6m/uBLFG3x/U0Sab7p6CtLR9bXqB6dZDy18/YawRBDmHrYX Qhr9dL9p6kHLzYISGTcybXMhWAXN4VKwHG6nUvfjHevIIXbcMKKzXt2sPf4ONMm0wiIQ SL5894lMr8hZxtDslo3JmQA4jErddox5uHQk2GaaKvK1xgxJmpIlDp/+HTf+h/PJ1jP2 GMbjfH3lzkY6WeOWCnV9VV1mN99fM2tqlBP7jGBhc/04+Yt2ey3nB1z1svPJBPkqfLS+ sa5g== 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=C+GLtsfIZeXgjPd418k2iGjNqMJ7Mr3S/9rXBh3m0cA=; fh=6x2fsa6xlP5qK6A4Au4+FeD0x4awMHysOQf4zgooaQA=; b=nWrkC1ljhsjx7yezg3+IZSyQj+V2ODDFEVi15nfr8+sBBB/JTtO4x6AhJ/c01ixePp OeY6ewrhVpZWpWRXIKRl/Jr0DzII22RvYmjk9OK6xE/CLdm1/r1e90+6foekrO6k3U57 +o+0jqGD1uiJxvbQ6bYNnooO8KkWJGIPK2NNQmFR3a5CPcm+44UjO1zTl0BpKVS8yHlS BeJLPt0lKuWqd3HOzUQ0dQrzN4VIBEgsPS5GNHIGBRsl3nE8h7pWVaBBye3W5M5vJGeR b6UwJMCw5DtRMbGfP42VjL5kJga0mkpZsGPntpY4mV1CK9MVhrEJPtZdfDTZse+6nBTp rbfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="gNS/PfBS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id r203-20020a632bd4000000b00573f7e9d75asi10655751pgr.646.2023.09.25.09.23.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 09:23:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="gNS/PfBS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 36CB6806AFCA; Mon, 25 Sep 2023 06:45:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231992AbjIYNpg (ORCPT + 99 others); Mon, 25 Sep 2023 09:45:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231803AbjIYNpc (ORCPT ); Mon, 25 Sep 2023 09:45:32 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D96D5B3; Mon, 25 Sep 2023 06:45:25 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38PDjITt048292; Mon, 25 Sep 2023 08:45:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695649518; bh=C+GLtsfIZeXgjPd418k2iGjNqMJ7Mr3S/9rXBh3m0cA=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=gNS/PfBSsStWf3JChko/SCFRnKHUQKwjTm1NrjDGGhZz1lH4UrnK1Jdc/oeBetoYO zuDvkpIn2/Gys6pw9U3GcdRQxlygUGY15eh2O1obhwBZKjUcRRoiqvLlY2nbp5DUOL 5rDssY66h8K+6W78kIXN/Ii0Sm9tGn1ShMUf505Y= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38PDjImM066303 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Sep 2023 08:45:18 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 25 Sep 2023 08:45:17 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 25 Sep 2023 08:45:17 -0500 Received: from [10.250.38.120] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38PDjGBv004398; Mon, 25 Sep 2023 08:45:16 -0500 Message-ID: <3869499c-532d-8cd0-f428-6697bbbedd8d@ti.com> Date: Mon, 25 Sep 2023 08:45:16 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2 2/4] arm64: dts: ti: k3-am654-base-board: add ICSSG2 Ethernet support Content-Language: en-US To: MD Danish Anwar , Vignesh Raghavendra , Nishanth Menon CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , Tero Kristo , , , , , References: <20230921060913.721336-1-danishanwar@ti.com> <20230921060913.721336-3-danishanwar@ti.com> <3b4629c7-5625-f32f-0532-5f50832c1714@ti.com> <52572af4-771e-3bd9-b290-74482694f020@ti.com> <8db10b88-5b06-af84-cb0a-9fbaa29cf78c@ti.com> From: Andrew Davis In-Reply-To: <8db10b88-5b06-af84-cb0a-9fbaa29cf78c@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 06:45:46 -0700 (PDT) On 9/25/23 3:21 AM, MD Danish Anwar wrote: > Hi Andrew, > > On 22/09/23 09:52, MD Danish Anwar wrote: >> On 21/09/23 22:57, Andrew Davis wrote: >>> On 9/21/23 1:09 AM, MD Danish Anwar wrote: >>>> ICSSG2 provides dual Gigabit Ethernet support. >>>> >>>> For support SR2.0 ICSSG Ethernet firmware: >>>> - provide different firmware blobs and use TX_PRU. >>>> - IEP0 is used as PTP Hardware Clock and can only be used for one port. >>>> - TX timestamp notification comes via INTC interrupt. >>>> >>>> Signed-off-by: MD Danish Anwar >>>> --- >>>>   arch/arm64/boot/dts/ti/Makefile               |   4 +- >>>>   ...se-board.dts => k3-am654-common-board.dts} |   0 >>>>   arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso   | 145 ++++++++++++++++++ >>>>   3 files changed, 148 insertions(+), 1 deletion(-) >>>>   rename arch/arm64/boot/dts/ti/{k3-am654-base-board.dts => >>>> k3-am654-common-board.dts} (100%) >>>>   create mode 100644 arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso >>>> >>>> diff --git a/arch/arm64/boot/dts/ti/Makefile >>>> b/arch/arm64/boot/dts/ti/Makefile >>>> index e7b8e2e7f083..85c91f5e832e 100644 >>>> --- a/arch/arm64/boot/dts/ti/Makefile >>>> +++ b/arch/arm64/boot/dts/ti/Makefile >>>> @@ -42,12 +42,14 @@ dtb-$(CONFIG_ARCH_K3) += >>>> k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb >>>>   dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl-wlan.dtb >>>>     # Boards with AM65x SoC >>>> -k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb >>>> k3-am654-base-board-rocktech-rk101-panel.dtbo >>>> +k3-am654-gp-evm-dtbs := k3-am654-common-board.dtb >>>> k3-am654-base-board-rocktech-rk101-panel.dtbo >>> >>> Should the k3-am654-gp-evm.dtb not also have this icssg2 support? Does >>> it work >>> to keep this line like before or is there some conflict having both >>> enabled? >>> >> >> I have not tested this dtb (k3-am654-gp-evm.dtb). So just to be on the >> safe side I kept gp-evm.dtb as it was. Ideally gp-evm.dtb should have >> icssg2 support as well. But I haven't tested the combination of >> base-board + icssg dtbo + rockteck dtbo. That is why I kept gp-evm dtb >> as it was. Anyways, for ICSSG2's use case only k3-am654-base-board.dtb >> is used so I think it's ok to leave k3-am654-gp-evm.dtb to as it was. >> >>> Andrew >>> > > I tested AM654x-GP EVM with k3-am654-gp-evm.dtb with both the > combination below (having k3-am654-base-board-dtbs := > k3-am654-common-board.dtb k3-am654-icssg2.dtbo), ICSSG worked fine in > both the scenarios and I didn't see any issue. I don't have a rocktech > panel with me so couldn't test that. But as far as ICSSG is concerned it > works fine with the both the combinations. Please let me know which one > should I use. Should I keep gp-evm as it is (use dtb without the icssg2 > overlay) or should I add icssg2 overlay in gp-evm.dtb as well. > > > 1. k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb > k3-am654-base-board-rocktech-rk101-panel.dtbo > > > 2. k3-am654-gp-evm-dtbs := k3-am654-common-board.dtb > k3-am654-base-board-rocktech-rk101-panel.dtbo > As you said here before, most will expect the icssg2 to work on the EVM out of box, you should include it. If anyone wants something else they can apply the set of overlays that match on their own. So, use base-board. Andrew