Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5996097rdb; Thu, 14 Dec 2023 05:51:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdcgN0OZU+AQHgDuh4P24sKK4X4KBjg1KUflI2Q8vmNpZMqILlEjHZH8HjA2p4vqq2jbT5 X-Received: by 2002:a05:6e02:1aa3:b0:35d:59a2:2c0 with SMTP id l3-20020a056e021aa300b0035d59a202c0mr15077155ilv.96.1702561878868; Thu, 14 Dec 2023 05:51:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702561878; cv=none; d=google.com; s=arc-20160816; b=Et69AQd/lumXMzWmqNuzAm+8i3UPm2J8qmQfGpk3Z9maawiyWPf2mjWjL9ZHKVYG1j y4ia00NiBvY+yDHR6ScWiyLj16ijfd097Cw/F6ivbBkSEvUwaPuSjtpsieYUuj3n7FXc BTTESsQ1uXE8HBuSVZqA7YUegltyYix/Gmj8xuhbelq4NuwSxc39kN7e4GbC94gLMULv c2nYEV/vr7mZgFF27tpbSpxc6OSmYoPGGSO/D02VvDXvwy8F6QJQHLIZ4r2yq1/ZcjAa fL0qGVuRd+7cOmWRqTDFVN/1b1GVjMgKPGdp1Tl/zi9QwG4Yz/IxDUg+CUXy/Gk2LeMa rqMA== 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:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=1MFgmM+99t7S332JrEimE+YAbkE70zysXns5rbpIq8U=; fh=I3R74x40i7Qp9vK2Y7v+QlMK7V7tOO9jp4X6U3PF6no=; b=ASywlKrBcv6GXmCR4ffT9tkRW0X6JmTdWuNuoeRcTMA2MAjwpM87hTQFCvgII383Iu MUaKBwneUWoQWDxsRJnhVY2ZYPEA8E/8TasM1YKqmuR8wxdr3Wgis/782W9AG8W46wPg 586+nHhsplnflzeXDnZaXyQfMKHs60i/zk+2D/x/9+W/Dlk00gFdLP4e2Rp+MEB3q0D3 P8mk8Q1VyZYJhcRR3nYPcA+NdV/2abHbVmtOhHXlOozMjzcSmpmSyqs2vwe0KcQDitq3 fK+awvSQrrpNBpa4tz3xrM+ZkuIRnlX1ni7VCUrSF7wsqBK1iEX++AJgApcqzHHey5Vz Qtlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Yc12oRuc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u5-20020a656705000000b005ca4098bf61si3804015pgf.635.2023.12.14.05.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 05:51:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Yc12oRuc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 71C3D801C911; Thu, 14 Dec 2023 05:51:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573266AbjLNNuy (ORCPT + 99 others); Thu, 14 Dec 2023 08:50:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573115AbjLNNuk (ORCPT ); Thu, 14 Dec 2023 08:50:40 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A5828E; Thu, 14 Dec 2023 05:50:46 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BEDob6B066265; Thu, 14 Dec 2023 07:50:37 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702561837; bh=1MFgmM+99t7S332JrEimE+YAbkE70zysXns5rbpIq8U=; h=Date:CC:Subject:To:References:From:In-Reply-To; b=Yc12oRuc5GpXnsPSzDReJntbhwMr56bUesxbHSO8ockBZgabQOY2zM7I4L2Jarg35 VN2QIkO7GXE4sltLnNN5Wej44hREhFk1C4djXoYGlvfhoRC5Hh3nOmFeWpxAlsKDdy /aZCk1StG0CzvzVZfKgjGA53ZQ8umMeLRLtZ6sGQ= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BEDobRA001613 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Dec 2023 07:50:37 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 14 Dec 2023 07:50:37 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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 via Frontend Transport; Thu, 14 Dec 2023 07:50:37 -0600 Received: from [10.249.131.186] ([10.249.131.186]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BEDoXZ7088063; Thu, 14 Dec 2023 07:50:34 -0600 Message-ID: <0cef8f50-6608-cf3d-ad62-1afd3f5560ea@ti.com> Date: Thu, 14 Dec 2023 19:20:32 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 CC: , , , , , , , , , , , Subject: Re: [PATCH v2] arm64: dts: ti: k3-am654-icssg2: Enable PHY interrupts for ICSSG2 Content-Language: en-US To: Nishanth Menon References: <20231213080216.1710730-1-s-vadapalli@ti.com> <20231213123819.tqh3lm2ceir3qjbk@swimmer> <6f1c1a59-cec0-46d1-8ecb-a82d9d444ccf@ti.com> <20231214121727.ayrbqz2nmeb25rpw@striving> From: Siddharth Vadapalli In-Reply-To: <20231214121727.ayrbqz2nmeb25rpw@striving> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.9 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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 14 Dec 2023 05:51:16 -0800 (PST) On 14-12-2023 17:47, Nishanth Menon wrote: ... >> >> Yes, you are right! Edge-Triggered interrupts shouldn't be shared. I missed >> noticing this. Thank you for pointing it out. Since the SoC only supports >> Edge-Triggered interrupts, I believe that the correct decision would be to use >> the interrupt for only one of the two PHYs, while leaving the other PHY in >> polled mode of operation which is the default. >> >> Kindly let me know if this is acceptable and I shall update this patch accordingly. > > Sounds like a bug in board design there (due to an choice of IP > limitation) - I suggest getting it noted in board documentation and > refer to the errata in the second phy (else folks will wonder why we > aren't using interrupts on the second phy. Thank you for your suggestion on the next steps to be taken. I will ensure that the board documentation is updated. Additionally, in the v3 patch I will add a comment within the "icssg2_phy0" node indicating that the interrupt mode of operation is only being enabled for "icssg2_phy0" due to the interrupt being an edge-triggered interrupt which cannot be shared among both the PHYs. And for that reason "icssg2_phy1" is being left in the default polled mode of operation. -- Regards, Siddharth.