Received: by 2002:a05:7412:8d08:b0:f9:2d0a:d759 with SMTP id bj8csp242941rdb; Sun, 17 Dec 2023 09:44:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7mFV2TJ9Pg2o99/Ya+d+hpROTHcJk6js0p6/QfOMy4tgo9eiROenN7OweiwsIkZIPVDOS X-Received: by 2002:a17:906:73d0:b0:a22:f58e:ed09 with SMTP id n16-20020a17090673d000b00a22f58eed09mr3786593ejl.153.1702835083206; Sun, 17 Dec 2023 09:44:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702835083; cv=none; d=google.com; s=arc-20160816; b=BFCAmjZXWk6xyN9nPC61dVZ0lC50VVG0XZKlufTYBHRyRpJeeLwv7ZxaVoqG2nPLOH 92FdszB7QqkiLfGJT2oFDEBy7833fMUd3CY1boiqGqKgMSALKJgxqFqPJ/rY6U8wFhQd 8woa62Umh5j/UY9jvrz7fH33n1hJx1dPp3yjFv8OerDl0cPHQ3N6/mXAYv+BBuWcRZrb PwB4r6+Nj4MQa9hoA7iYn0hRDkSnLQ/u0KpMHNxQw5Xma33lQPpHTVj184ETi3qW4Kq8 DS6PZ+Ul60BhYeTBCjY7XIZuask8rQ+z1AqZvtqNLFGISSSDSOn1hzBZWJroyUVxFaY6 uB6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=guGfcblazAtaUH8Sd9tR5HWwfwcONlL3bp2RP/xqxcE=; fh=NeT0HzHStriffUl+YbBAC5rrh4ICn/PQzaTo763Uk/o=; b=COjgDu3g6cYl+f+t2gSvPDmRlr6Nx65JReBwCpaKJvNSoskIOEIcoLrSCI+fL1Ghqy ESMxe+zKQPYUifhsAz3W+MnI7TVdcSQCy+/42MpQjrXJp0CykfAoeAu1HKYzievW3ePV WeTUfgML0N/OLNG5gM7Xeu2NFpBVU4rU5eB6PQOzme5dW2qAJF1O811uaDg3wUa1N+x5 ByrTLR8jKarTaQclSLQKg4wt/cfRLu0JCCbtgWJjTQmnbbEkyLO+JLjJsxFdxQE29+Ha oxBrxv97dxybweEdnWYLHALuCldEXDmQ9sa8Bgfohzm0kJxsM7f/Z0a1mMLS/unPCb8l aaEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ikXoGqEv; spf=pass (google.com: domain of linux-kernel+bounces-2755-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gs9-20020a170906f18900b00a234c5d3348si544475ejb.601.2023.12.17.09.44.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 09:44:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2755-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ikXoGqEv; spf=pass (google.com: domain of linux-kernel+bounces-2755-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B11E11F21115 for ; Sun, 17 Dec 2023 17:44:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6000C46B82; Sun, 17 Dec 2023 17:44:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="ikXoGqEv" X-Original-To: linux-kernel@vger.kernel.org Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 15D3445BF2; Sun, 17 Dec 2023 17:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=guGfcblazAtaUH8Sd9tR5HWwfwcONlL3bp2RP/xqxcE=; b=ikXoGqEvRnTUDjveUBCQ6oINCm qJuABa5ZJO9ZERcH6AKqRYR9Uk2fxNxUAgz0CeOKV43LGQS4oxWtwfik/jnwiVojmS7ud3BKPF59U ICJG1eYVUgTEg5D5FBk6v+sfDIN053cK/SeBX+uNy8U6uafEMGIe/hQLFKdZaxraoZfM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rEvBj-003AF6-7U; Sun, 17 Dec 2023 18:44:27 +0100 Date: Sun, 17 Dec 2023 18:44:27 +0100 From: Andrew Lunn To: Siddharth Vadapalli Cc: Nishanth Menon , vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, danishanwar@ti.com, r-gunasekaran@ti.com, srk@ti.com Subject: Re: [PATCH v2] arm64: dts: ti: k3-am654-icssg2: Enable PHY interrupts for ICSSG2 Message-ID: References: <20231213080216.1710730-1-s-vadapalli@ti.com> <20231213123819.tqh3lm2ceir3qjbk@swimmer> <6f1c1a59-cec0-46d1-8ecb-a82d9d444ccf@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f1c1a59-cec0-46d1-8ecb-a82d9d444ccf@ti.com> > 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. No, if the PHY is using level interrupts, you need the SoC to use level interrupts. Otherwise you are going to miss interrupts. The board design is just broken and you cannot use interrupts at all. Andrew