Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2249668rdh; Tue, 26 Sep 2023 18:19:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNcuVWhqfJqD/LmfBFJEDW3Oh05JGjHQLM4PX/RqGWwBTV7yFXEK4jV3utmXpXL3bTl1OB X-Received: by 2002:a05:6a20:4421:b0:111:a0e5:d2b7 with SMTP id ce33-20020a056a20442100b00111a0e5d2b7mr753572pzb.4.1695777580434; Tue, 26 Sep 2023 18:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695777580; cv=none; d=google.com; s=arc-20160816; b=tWokGa0bYszH00b3wKOCg4fvlbZsnz3i1+AyCv9oaYDiCYSiVsC8Lcw4x+RQHSWu4N VMX84xNwTPCeqZzmlkNDfe1QqcxLZD/wfrd0UyatL3XwnZI1tNI7eCo/3qWHeb5+RJwC kB87ZNjiCIzwuKc2RwrhqqI/DWT/J+tWZZTTxKDR//3mfSgwMIWJwxcAFcdW79d7+wzT 82GaCT+cwobRxeOd7y0c2AGZTj7xRZzFkycJg8NvuFhgiORSZbmMaEUdekDZrYlfJNTI meIEMyyaudUM/rWSdBowm026JuwcSnhdjaSMStu3G2dBLyzn0O3oL43klhK6CJQDaBM8 mXoQ== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=p6gt9baC8c8rsme8Bo+yhUVgFUMBBOgqzA9mgp1/qe8=; fh=ytEstTWfuCm5/80/Cr9kF9LNSogSpygu/yIpEhWDx60=; b=Z7gzUN4kWOk/QIKnf1l+5FuV6OGHEerHbS8ZvtNuxkKw70aOlQ27T5WEnlIMkBZNbS vPuLIJUk3J6I4GFpRwH1TiLg1NZNPE/Y24mLlNWCHA7uWCRbUfF9wAs91RkELeIgdk1s LgnGiAcfHo2fyxvN60tdVQDkcBsbEuLYVmVk+iFrE/Y7jnCUlWCydQ8fmMFH6HE4JQhV 2s8+1yVNPDIbBmL+dTc35MEIEStx/dOMbAzxmPD+QdywE4vsc9rrlJBFVkRIFsLbjBp9 /bbE2O7c/2E2xvli15cWf58cT910UzpId9wWoMCyPIBHT08KCpvLK3YHAtqdBa85VEVq PwmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yNmW+lFD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e6-20020a17090a7c4600b002774c17dd73si7151715pjl.11.2023.09.26.18.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 18:19:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yNmW+lFD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 582E78108BCE; Mon, 25 Sep 2023 01:22:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232691AbjIYIWP (ORCPT + 99 others); Mon, 25 Sep 2023 04:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232521AbjIYIWO (ORCPT ); Mon, 25 Sep 2023 04:22:14 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 064C810E; Mon, 25 Sep 2023 01:22:06 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38P8Lv9F118247; Mon, 25 Sep 2023 03:21:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695630117; bh=p6gt9baC8c8rsme8Bo+yhUVgFUMBBOgqzA9mgp1/qe8=; h=Date:Subject:From:To:CC:References:In-Reply-To; b=yNmW+lFDQiSeBmEhZBtumqOytU5gBh0fyuUDIwOu4xQvCcrPH3AUzqcg8N+VYMAyZ 5bSaJkouxcsLu6CJJg8d080KhHITCGsf5Zmht6lt7jRIxcXHIBCTy9J7o05cOe4bCM aPwtb/bc7I61vE6QwAJbEml1NoAM9WH10iD4G5mM= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38P8Lvru050192 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Sep 2023 03:21:57 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE107.ent.ti.com (10.64.6.28) 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 03:21:57 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE100.ent.ti.com (10.64.6.21) 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 03:21:57 -0500 Received: from [10.24.69.199] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38P8LqHP082913; Mon, 25 Sep 2023 03:21:53 -0500 Message-ID: <8db10b88-5b06-af84-cb0a-9fbaa29cf78c@ti.com> Date: Mon, 25 Sep 2023 13:51:52 +0530 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 From: MD Danish Anwar To: Andrew Davis , 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> In-Reply-To: <52572af4-771e-3bd9-b290-74482694f020@ti.com> Content-Type: text/plain; charset="UTF-8" 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 25 Sep 2023 01:22:19 -0700 (PDT) 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 -- Thanks and Regards, Danish