Received: by 10.213.65.68 with SMTP id h4csp499119imn; Fri, 16 Mar 2018 09:35:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELupVRzofCGZAdah8h1/kCwhC0eXg8Q1hQiJrmNHiOh/4hXyG3VJmCHn2mmaGBnecaEPLOlC X-Received: by 2002:a17:902:24a5:: with SMTP id w34-v6mr2805927pla.328.1521218137897; Fri, 16 Mar 2018 09:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521218137; cv=none; d=google.com; s=arc-20160816; b=PIr73LXzoZJdmWNOs/gP4OJ1AZLm411TARjvcdsQhr9QpS84ets10NL8KU/Ev8GwKU 026oHBV2mYV5yIm7mNytYlTalp1khj+I9n84v+JgLeP7nkDmTDE0dsoT+0Q53B5TgTcI iUyMVHrIXZ1yci0W21ZEj8mmkFmJBkm39r4ctNvJyV320ZWoykFvn3LrA+UeoUGnHEnh Ugr3QCMFlPESFC/EWZj9ZypbIBcQNEUq+gEXqug/GjmIbesdCA41E+/McCqWniUOlC1x GpmJ41mO8fliJ8/J6yIQTsnW6GQzGDOzxuWJk4BjDPxcogZrH9wN2yAybPuNSAPQzeAh N1bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=LBFOEqtRfzwlOgTACsOUBQmXGkoWS/hcDE0C+3oaNlw=; b=VT5Wl+67rMZk4SYg33tLvUOmFrA7V9r1R6drw9NcfPGZnl1BoSB3q/tFZRFhPt8L28 qcNcN1sWYOK9DKdkHaB0FGmZsh37teVkrKMd+s2xV4Ff/cVEPYarow5lN7Yo4zWeojmV lapu3KBATLMX+1jkTwqubWCGoA4SnoA0FFDVnlVOji/ifYCi41gc2vKP8gFatumn66Ay gUOtYsQ8I7kzCA5z1oHSLpVkLZB/0sYfvPOzQEZbAkkCMFjEYwBc3xYQVjaf1HaM+m36 mT54Q9rc+GNZrBrkvQ5ERmWdd2AXMFp3L2ushjeWOwv/MnyIo2n3UvCpXc699mYMvCRX kwaw== 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 r2si5116617pgp.704.2018.03.16.09.35.23; Fri, 16 Mar 2018 09:35:37 -0700 (PDT) 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 S1752795AbeCPQcr (ORCPT + 99 others); Fri, 16 Mar 2018 12:32:47 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42198 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754359AbeCPPiP (ORCPT ); Fri, 16 Mar 2018 11:38:15 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5C1651241; Fri, 16 Mar 2018 15:38:14 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Simon Horman , Sasha Levin Subject: [PATCH 4.14 095/109] arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset Date: Fri, 16 Mar 2018 16:24:04 +0100 Message-Id: <20180316152335.063028359@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152329.844663293@linuxfoundation.org> References: <20180316152329.844663293@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven [ Upstream commit f5bbcd533a9d1af97b8a0862a421bb8455f1bf6d ] Describe the GPIO used to reset the Ethernet PHY for EthernetAVB. This allows the driver to reset the PHY during probe and after system resume. This fixes Ethernet operation after resume from s2ram on Salvator-XS, where the enable pin of the regulator providing PHY power is connected to PRESETn, and PSCI powers down the SoC during system suspend. On Salvator-X, the enable pin is always pulled high, but the driver may still need to reset the PHY if this wasn't done by the bootloader before. Inspired by patches in the BSP for the individual Salvator-X/XS boards by Kazuya Mizuguchi. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/renesas/salvator-common.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi @@ -264,6 +264,7 @@ reg = <0>; interrupt-parent = <&gpio2>; interrupts = <11 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; }; };