Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3329318ybc; Thu, 14 Nov 2019 07:30:28 -0800 (PST) X-Google-Smtp-Source: APXvYqxvLZhsxagTExSbitd2AGr1oIB9P9+CgS9gTwz6ptz9+Yv+G1WA/6aIGAVvkoreCvt6Nyc8 X-Received: by 2002:a17:906:f108:: with SMTP id gv8mr9242048ejb.180.1573745428299; Thu, 14 Nov 2019 07:30:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573745428; cv=none; d=google.com; s=arc-20160816; b=bnmFa+7GqEiSyzOa00+BUT7G/Z/Qya0IZW2+YOOUo5l/iaqw5Bt2dHbybz03X7woM8 Un1y21lege3tz2cMePG2ol/F4MHOxp5JZr0GjgI0mQKGHRac0hxHTOHVcjwEQ+STF/Ph ikCJdobBnNAZb8Py2EwYOC2K4MYl/Qa0qFSm+1wbO/dnVR61mifzdZLLjrrCiYeLTXTV /VW5fpc6fr4f3aJfT5BLlMo2IlxFjqXcCae63zLPwGPGzl/2Ki2+qlMMJsv7+y7YhiAU o9RhhHwVpCtfCIDAFuWSP14ymNgX/g3IIgejhhxTr+sHDcV7S7ZN0ZFTr4CpRzXVl59P 46rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ElG8Ta8wnxyvEpph2Zdu0/QL/JmLef30hlFTtXPVY2w=; b=XRwP1yTOtry458A6x8RfAMHgklW8/q94sydqX/1L9LpFd4GaR3tQGtfMymOIr9wxS6 FIzIzX5WQrHFOd7m7wvfvXJ527wExlOH+9B28uIInY1eoGrAF5I4sg71MfZIyiwD7jBv UILaQSST3/KDHH45wDlqD77//1d6RSWcsneOl3zZwPGboi2Z8/PdE5SPnteQH5TSVDjk 2ym6ozr6+E1sW9xD5I61qJQu8yS+FO5osPRL6qDSc6m7ktfd7sNKL5mNrtJu7aAdEC7o 1q0dwizapyNpAa/UxRjlRM6MWP0QibN0N+aEsAfKurDx7gZfMDNTB7TwfhviiivJSCBM O/zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="b/58ij9z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id um2si3787102ejb.64.2019.11.14.07.30.03; Thu, 14 Nov 2019 07:30:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="b/58ij9z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727068AbfKNP3B (ORCPT + 99 others); Thu, 14 Nov 2019 10:29:01 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:39832 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfKNP3A (ORCPT ); Thu, 14 Nov 2019 10:29:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ElG8Ta8wnxyvEpph2Zdu0/QL/JmLef30hlFTtXPVY2w=; b=b/58ij9zk28SivK4r5tm14Hq55 iuccP5RskD/WgI5i93dWzWsR8CMNTJ098NMLPvjZbt/6jPB7gIH3M5QmOxZ7D5p2HOpaBNNQ8aLJa vF7huaLIaHiyw8bLOJqBGBsmT2Ptjq11+iN+/Qc3/gy1AfDGhFpRoZHcXH0URtb6CrcA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iVH3A-0004kD-8P; Thu, 14 Nov 2019 16:28:48 +0100 Date: Thu, 14 Nov 2019 16:28:48 +0100 From: Andrew Lunn To: Rasmus Villemoes Cc: Shawn Guo , Li Yang , Rob Herring , Mark Rutland , Vladimir Oltean , Marc Zyngier , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] ARM: dts: ls1021a-tsn: Use interrupts for the SGMII PHYs Message-ID: <20191114152848.GR10875@lunn.ch> References: <20191114110254.32171-1-linux@rasmusvillemoes.dk> <20191114110254.32171-3-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191114110254.32171-3-linux@rasmusvillemoes.dk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 14, 2019 at 12:02:53PM +0100, Rasmus Villemoes wrote: > From: Vladimir Oltean > > On the LS1021A-TSN board, the 2 Atheros AR8031 PHYs for eth0 and eth1 > have interrupt lines connected to the shared IRQ2_B LS1021A pin. > > Switching to interrupts offloads the PHY library from the task of > polling the MDIO status and AN registers (1, 4, 5) every second. > > Unfortunately, the BCM5464R quad PHY connected to the switch does not > appear to have an interrupt line routed to the SoC. > > Signed-off-by: Vladimir Oltean > Signed-off-by: Rasmus Villemoes Reviewed-by: Andrew Lunn Andrew