Received: by 10.223.164.202 with SMTP id h10csp475768wrb; Thu, 9 Nov 2017 09:10:43 -0800 (PST) X-Google-Smtp-Source: ABhQp+Q85e6Vyxh4R7n8SDt1CVo6qYPIozY7ma0LlXRpd2NJTvev/6inERL2YPqgChz43yMBC0ir X-Received: by 10.159.218.1 with SMTP id v1mr1040537plp.288.1510247443146; Thu, 09 Nov 2017 09:10:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510247443; cv=none; d=google.com; s=arc-20160816; b=CyefjQWEuQr/gFeH67D0P7TSYCnP71T68phPlmHsLIhIt8Yc4RZIFboT64wJ4tRz6e /s9l3KqNybhMnIrqvB6A468LU4IYNpdjfk+4n2AMAXvQ7AtRw1WbXAxeudZdaIFISgVX lZKvfMADTfOUhPRIM/rcJw9O9KvZ1f7lsrWxvoMo4pJW0su2f4T4kpCZbAfSS6Bd3R1h kNNm9405uBjqs8gV3OS1qvvYr4Hh8pHz995AQmxApSGCDJIKQwvtbSak5bmVEP9OaPbb yAOF6CbykB3aC/rUo8wH+DecZoqkrdFqDtr/RjHEmO52s3H23jH3nMUGc88W74brWbe9 jHug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=8078dRK5ll5LzAJdpVdDyR0AoQPaSxFaK3rWd2Mcmg8=; b=Xis3v/Zl4lf28gGvamAs6GkZWgYPges9pSOrBJecNtyPRhI5kKtI+OnqHTEbxeWEst 17mnvX7zfVMF0kBRsotAvhA/vMdRxNHSXOeUtlIgaX7zQJmsg1tlbpyVnvQjhmKN+Ok9 CKqggOM6OcicNxMLwAw/tjPWj2f5uBWBu9lDiW0mR5LHFBTPYi1Ys0ESceZ1/U9gOOx8 mmROaiYuYQBxrnWV7lSee7qvru4pSA2cxRqTg/JaC0lObsr6c/2RMGPhvRT23Htjc8al KTSjlzGzVzyxuRRiClMVq2KRTHJvwESsypImijM8c9Vb5hn5oRyUHvz/GusCP/diE6+j Hw5w== ARC-Authentication-Results: i=1; mx.google.com; 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 w10si4130226pfi.390.2017.11.09.09.10.31; Thu, 09 Nov 2017 09:10:43 -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; 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 S1752564AbdKIRJw (ORCPT + 81 others); Thu, 9 Nov 2017 12:09:52 -0500 Received: from bastet.se.axis.com ([195.60.68.11]:55251 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752284AbdKIRJt (ORCPT ); Thu, 9 Nov 2017 12:09:49 -0500 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 2CF7118446; Thu, 9 Nov 2017 18:09:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bastet.se.axis.com Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id zlR65Kia4K6T; Thu, 9 Nov 2017 18:09:47 +0100 (CET) Received: from boulder02.se.axis.com (boulder02.se.axis.com [10.0.8.16]) by bastet.se.axis.com (Postfix) with ESMTPS id B082A180EA; Thu, 9 Nov 2017 18:09:46 +0100 (CET) Received: from boulder02.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 913521A061; Thu, 9 Nov 2017 18:09:46 +0100 (CET) Received: from boulder02.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 850891A060; Thu, 9 Nov 2017 18:09:46 +0100 (CET) Received: from seth.se.axis.com (unknown [10.0.2.172]) by boulder02.se.axis.com (Postfix) with ESMTP; Thu, 9 Nov 2017 18:09:46 +0100 (CET) Received: from lnxartpec1.se.axis.com (lnxartpec1.se.axis.com [10.88.4.10]) by seth.se.axis.com (Postfix) with ESMTP id 773152848; Thu, 9 Nov 2017 18:09:46 +0100 (CET) Received: by lnxartpec1 (Postfix, from userid 20283) id 70D60400F9; Thu, 9 Nov 2017 18:09:46 +0100 (CET) From: Niklas Cassel To: Rob Herring , Mark Rutland , "David S. Miller" , Joao Pinto , Niklas Cassel , Alexandre TORGUE , Giuseppe Cavallaro , Thierry Reding Cc: Niklas Cassel , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] bindings: net: stmmac: correctify note about LPI interrupt Date: Thu, 9 Nov 2017 18:09:26 +0100 Message-Id: <20171109170928.15496-1-niklas.cassel@axis.com> X-Mailer: git-send-email 2.14.2 X-TM-AS-GCONF: 00 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are two different combined signal for various interrupt events: In EQOS-CORE and EQOS-MTL configurations, mci_intr_o is the interrupt signal. In EQOS-DMA, EQOS-AHB and EQOS-AXI configurations, these interrupt events are combined with the events in the DMA on the sbd_intr_o signal. Depending on configuration, the device tree irq "macirq" will refer to either mci_intr_o or sbd_intr_o. The databook states: "The MAC generates the LPI interrupt when the Tx or Rx side enters or exits the LPI state. The interrupt mci_intr_o (sbd_intr_o in certain configurations) is asserted when the LPI interrupt status is set. When the MAC exits the Rx LPI state, then in addition to the mci_intr_o (sbd_intr_o in certain configurations), the sideband signal lpi_intr_o is asserted. If you do not want to gate-off the application clock during the Rx LPI state, you can leave the lpi_intr_o signal unconnected and use the mci_intr_o (sbd_intr_o in certain configurations) signal to detect Rx LPI exit." Since the "macirq" is always raised when Tx or Rx enters/exits the LPI state, "eth_lpi" must therefore refer to lpi_intr_o, which is only raised when Rx exits the LPI state. Update the DT binding description to reflect reality. Signed-off-by: Niklas Cassel --- Documentation/devicetree/bindings/net/stmmac.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt index c3a7be6615c5..3a28a5d8857d 100644 --- a/Documentation/devicetree/bindings/net/stmmac.txt +++ b/Documentation/devicetree/bindings/net/stmmac.txt @@ -12,7 +12,7 @@ Required properties: Valid interrupt names are: - "macirq" (combined signal for various interrupt events) - "eth_wake_irq" (the interrupt to manage the remote wake-up packet detection) - - "eth_lpi" (the interrupt that occurs when Tx or Rx enters/exits LPI state) + - "eth_lpi" (the interrupt that occurs when Rx exits the LPI state) - phy-mode: See ethernet.txt file in the same directory. - snps,reset-gpio gpio number for phy reset. - snps,reset-active-low boolean flag to indicate if phy reset is active low. -- 2.14.2 From 1584508091271491023@xxx Sun Nov 19 15:17:50 +0000 2017 X-GM-THRID: 1584506820327991259 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread